id returned by the Create Video Task endpoint as the path parameter, and keep polling until status is "completed" or "failed".
Video generation is asynchronous and typically takes several minutes. Do not expect an immediate result — continue polling at the recommended interval until the task reaches a terminal status.
Endpoint
Path Parameters
string
required
The unique task identifier returned by the Create Video Task endpoint (e.g.
sora_abc123def456).Response Fields
string
Unique identifier of the video generation task.
string
Object type. Always
"video.generation".integer
Unix timestamp (seconds) of when the task was created.
string
The model used for generation (e.g.
"openAiSora2Plus").string
Current task status:
queued— task is in the queue, waiting to be processedprocessing— the Sora model is actively generating the videocompleted— generation succeeded;video_urlis populatedfailed— generation failed; seeerrorfor details
string
A direct download URL for the generated video (MP4 format). Only present when
status is "completed". The URL is valid for 1 day — download and store the video before it expires.number
The actual output duration of the video in seconds. Only present when
status is "completed".string
Error message describing why the task failed. Only present when
status is "failed".Status Flow
Polling Recommendations
- Stop polling as soon as
statusis"completed"or"failed". - Use exponential back-off if you encounter
429 Too Many Requestsresponses.
Generation Time Estimates
Video URL Notes
- Format: MP4
- The URL is a pre-signed temporary link; do not share it publicly as a permanent link.