Sora Format
Create Sora Video
- OpenAI-compatible video generation endpoint.
- Reference documentation: https://platform.openai.com/docs/api-reference/videos/create
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-2string
Text promptExample:
The astronaut stands up and walks awaystring
Image input (URL or Base64)Example:
https://example.com/image.jpgnumber
Video duration (seconds)Example:
5integer
Video widthExample:
1280integer
Video heightExample:
720integer
Video frame rateExample:
30integer
Random seedExample:
20231234integer
Number of videos to generateExample:
1string
Response formatExample:
urlstring
User identifierExample:
user-1234object
Additional parameters (such as negative_prompt, style, quality_level)
Response
string
Video ID
string
Object type
string
default:"sora-2"
Model usedExample:
sora-2string
Task status
integer
Progress percentage
integer
Creation timestamp
string
Video duration
integer
Completion timestamp
integer
Expiration timestamp
string
Video size
object
Additional metadata