Query Task
Unified Video
Query Task
Use GET /v1/video/query to query Grok unified video task status and results.
GET
Query Task
Query Task
After a Grok unified video task is submitted, query its progress and results viaGET /v1/video/query. The query parameter uses id, whose value is the task ID returned by Create Video.
- The route entry point is
GET /v1/video/query. - The task ID is passed via the Query parameter
id, and its format is usuallygrok:.... - After completion,
video_urlwill include an accessible URL; while processing, it may benull.
Method and Path
Request Example
Response Example
asset_id, video_file_id, and trace_id; please refer to the actual response.
Authentication
Query Parameters
Task ID, which is the same as the
id returned by the creation API.Response
Task ID.
Task status. Common values include
processing, completed, failed, and unknown.Video result URL. May be
null when the task is not yet complete.The most recent status update time (Unix timestamp).
Task progress percentage, included in some responses.
Echo of the submitted prompt.
Echo of the video ratio, for example
3:2.Thumbnail URL, may appear after completion.