Get Grok video content
Grok Imagine Video
Get Grok video content
Download the MP4 file of a completed Grok video task through the API proxy
GET
Get Grok video content
When to use
Use this endpoint when you want to proxy the download through your own server, or when accessing themetadata.url link directly is inconvenient.
Preconditions
- The task
statusmust becompleted - The task has not expired (see the
expires_atfield)
Response format
On success it returns avideo/mp4 byte stream with HTTP 200.
The client should write the response body to a file or stream it to
the end user.
Alternative
If you only need the link, just readmetadata.url from the
GET /v1/videos/{task_id} response — no need to download via this endpoint.Authorizations
Path Parameters
The video task ID returned by the create endpoint's id field.
Response
Video content retrieved successfully, returns the raw MP4 byte stream
The raw byte stream of the video file.