status reaches completed or failed.
Endpoint
Authentication
Path Parameters
string
required
The unique task identifier returned by the Create Video Task endpoint. This is the
id field in the creation response.Response Fields
string
The unique task identifier.
string
Object type. Always
"video".integer
Unix timestamp of when the task was created.
string
The model used for this task (e.g.,
grok_video3, grok_video3_pro, grok_video3_max, or grok_video3_stable).string
Current task status:
queued— task is waiting in the processing queueprocessing— the Grok model is actively generating the videocompleted— generation finished;video_urlis populatedfailed— generation failed; seeerrorfor details
string
Temporary download URL for the generated video. Only present when
status is "completed". null while the task is pending or processing.number
Actual output duration of the generated video in seconds. Only present when
status is "completed".string
Error message describing the failure reason. Only present when
status is "failed".Task Status Flow
queued → processing → completed or failed
Polling Advice
Result URL Notes
- If the prompt or reference images violate content policies, the task will return
failedstatus - Tasks with many reference images or long durations may take noticeably longer to process