Sora Format
Create Sora Video
- OpenAI-compatible video generation endpoint.
- Reference documentation: https://platform.openai.com/docs/api-reference/videos/create
POST
Documentation Index
Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
All endpoints require Bearer Token authentication.Add it to the request headers:
Body
Model/style IDExample:
sora-2Text promptExample:
The astronaut stands up and walks awayImage input (URL or Base64)Example:
https://example.com/image.jpgVideo duration (seconds)Example:
5Video widthExample:
1280Video heightExample:
720Video frame rateExample:
30Random seedExample:
20231234Number of videos to generateExample:
1Response formatExample:
urlUser identifierExample:
user-1234Additional parameters (such as negative_prompt, style, quality_level)
Response
Video ID
Object type
Model usedExample:
sora-2Task status
Progress percentage
Creation timestamp
Video duration
Completion timestamp
Expiration timestamp
Video size
Additional metadata