header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://www.16api.com/v1/videos' \
--header'Authorization: Bearer <token>' \
--form'model="sora-2"' \
--form'prompt="Shot 1:\\nduration: 5sec\\nScene: The fridge door opens. A cute, chubby purple monster comes out of it.\\n\\nShot 2:\\nduration: 5sec\\nScene: the color of the monster to purple Shot 3:\\nduration: 5sec\\nScene: A second monster comes out right after"' \
--form'seconds="15"' \
--form'input_reference=@"C:\\Users\\WUKONG\\Desktop\\989e-633a9d8ce6ef59a78b06bfe2b487c896.jpg"' \
--form'size="16x9"' \
--form'watermark="false"' \
--form'private="false"' \
--form'character_url=""' \
--form'character_timestamps=""' \
--form'metadata=""' \
--form'character_from_task=""' \
--form'character_create=""'