Get Grok video task status
Poll a Grok video task for progress and the final video URL
Task status
Polling advice
Grok video tasks usually finish within tens of seconds to a few minutes, depending on resolution and duration (720p is slower than 480p). Poll every 5–10 seconds and set a reasonable timeout.Getting the video
Once complete, there are two ways to retrieve the video:- Use the link in
metadata.urldirectly (it expires — seeexpires_at— so download promptly) - Call
GET /v1/videos/{task_id}/contentto download through the API proxy
Authorizations
Path Parameters
The video task ID returned by the create endpoint's id field.
Response
Task status retrieved successfully
Grok video task object, compatible with the OpenAI / Sora video task format.
Video task ID.
"video_abc123"
Object type, always video.
video "video"
The model used to run the task.
grok-imagine-video-480p, grok-imagine-video-720p, grok-imagine-video-1.5-preview-480p, grok-imagine-video-1.5-preview-720p "grok-imagine-video-720p"
Task status.
queued, in_progress, completed, failed "queued"
Task progress percentage (0–100).
0 <= x <= 1000
Task creation timestamp (milliseconds).
1764347090922
Video duration in seconds.
"10"
Task completion timestamp (milliseconds), filled once complete.
1764347170000
Expiration timestamp (milliseconds) of the task and the video file.
1764433570000
Actual output size, e.g. 1280x720. The actual resolution comes
from the model-name suffix; the aspect ratio comes from the request size.
"1280x720"
Grok video task error info.
Extra metadata; usually contains a url field once complete.