Query Video Task
Video Series
Query Video Task
GET
Query Video Task
Introduction
The query video task API is used to query the status and results of a video generation task by task ID. After submitting a task, you need to periodically poll this API to check the task status until the task completes or fails. Important Note: It is recommended to poll the task status every 3-5 seconds until the task status becomessucceeded or failed.
Authentication
string
required
Bearer Token, e.g.
Bearer sk-xxxxxxxxxxPath Parameters
string
required
Video generation task ID returned by the submit task API
Response Description
Task Status
Response Example (Queued)
Response Example (In Progress)
Response Example (Completed)
Response Example (Failed)
Usage Example
Polling Examples
Python Example
JavaScript Example
Related APIs
Submit Video Task
Submit video generation task
Download Video
Download completed video files (Sora 2 only)
