Request in official OpenAI format. Optional model IDs, e.g.:
sora-2
sora-2-pro
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired
Examples
{"model":"sora-2","prompt":"An astronaut wearing an astronaut suit is walking on the moon. High quality, cinematic level.","seconds":"5","size":"1920x1080"}
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
curl--location'https://www.aiide.com/v1/videos' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"model": "sora-2",
"prompt": "An astronaut wearing an astronaut suit is walking on the moon. High quality, cinematic level.",
"seconds": "5",
"size": "1920x1080"
}'