Get video task
Last updated September 13, 2026
Retrieve a `x-ai/grok-imagine-video-1.5` task in xAI's native shape; the same task as the unified retrieval.
Retrieve a x-ai/grok-imagine-video-1.5 task in the native xAI shape.
https://gateway.amux.ai/v1/videos/{id}Authorization
headerAuthorizationstringRequiredBearer <your Amux key> An API key issued by this site.
Request
idstringRequiredThe Amux task id returned at submit time.
Response
200responseReturns 200 whether or not the task has finished; the state is in status.
404responseNo such task exists in the current workspace.
It reads the same task as the unified retrieval; only the rendering differs. There is no second store.
This path exists because official xAI clients build the retrieval URL themselves;
without it, pointing base_url at this site would produce a successful submit
followed by a 404 on retrieval.
Status
pending means generating; done and failed are terminal. The official API also
defines expired, which this site does not return — an expired task here means the
same thing to the caller.
video.duration is the actual output length
This field is the number of seconds the upstream actually produced, not the
requested duration. Billing uses this value.
usage is not included
This shape carries no usage or cost fields. For cost, use the cost field of the
unified retrieval.
curl https://gateway.amux.ai/v1/videos/{id} \
-H "Authorization: Bearer $AMUX_API_KEY"{
"status": "pending",
"model": "<string>",
"video": {
"url": "<string>",
"duration": 0
},
"error": {
"code": "invalid_argument",
"message": "<string>"
}
}