Skip to main content
POST

Authorizations

string
required
All endpoints require Bearer Token authentication.Add it to the request headers:

Body

string
default:"sora-2"
Model/style IDExample: sora-2
string
Text promptExample: The astronaut stands up and walks away
string
Image input (URL or Base64)Example: https://example.com/image.jpg
number
Video duration (seconds)Example: 5
integer
Video widthExample: 1280
integer
Video heightExample: 720
integer
Video frame rateExample: 30
integer
Random seedExample: 20231234
integer
Number of videos to generateExample: 1
string
Response formatExample: url
string
User identifierExample: user-1234
object
Additional parameters (such as negative_prompt, style, quality_level)

Response

string
Video ID
string
Object type
string
default:"sora-2"
Model usedExample: sora-2
string
Task status
integer
Progress percentage
integer
Creation timestamp
string
Video duration
integer
Completion timestamp
integer
Expiration timestamp
string
Video size
object
OpenAI video error information
string
Error message
string
Error code
object
Additional metadata