After you create a Sora video generation task, use this endpoint to check its status and retrieve the download URL once generation is complete. Pass theDocumentation Index
Fetch the complete documentation index at: https://docs.xingchaoyiqing.com/llms.txt
Use this file to discover all available pages before exploring further.
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
The unique task identifier returned by the Create Video Task endpoint (e.g.
sora_abc123def456).Response Fields
Unique identifier of the video generation task.
Object type. Always
"video.generation".Unix timestamp (seconds) of when the task was created.
The model used for generation (e.g.
"openAiSora2Plus").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
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.The actual output duration of the video in seconds. Only present when
status is "completed".Error message describing why the task failed. Only present when
status is "failed".Status Flow
| Step | Status | Meaning |
|---|---|---|
| 1 | queued | Task created and added to the processing queue |
| 2 | processing | Sora model is generating the video |
| 3 | completed | Video is ready; retrieve it via video_url |
| — | failed | An error occurred; inspect the error field |
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 Length | Estimated Time |
|---|---|
| 4 s | ~1–3 minutes |
| 8 s (typical) | ~2–5 minutes |
| 12 s | ~3–8 minutes |
Video URL Notes
- Format: MP4
- The URL is a pre-signed temporary link; do not share it publicly as a permanent link.