Grok Imagine Video
xAIVideo
xAI's Grok Imagine Video: cheap short clips from text or a frame, 480p–1080p.
Our price
$0.018
per second
Official
$0.050
−64% vs officialFirst request
# Video is asynchronous: create, then poll.
curl https://api.altrouter.ai/v1/videos \
-H "Authorization: Bearer ar-..." \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video",
"prompt": "a drone shot over a coastline"
}'
# → { "id": "vid_...", "status": "queued" }
curl https://api.altrouter.ai/v1/videos/vid_... \
-H "Authorization: Bearer ar-..."
# → { "status": "completed", "url": "https://api.altrouter.ai/media/videos/..." }API
An asynchronous endpoint: the call returns immediately in queued, and you poll GET /v1/videos/{id} for the result. The finished mp4 is re-hosted on our CDN, and only a completed render is charged.
POST
/v1/videosBody parameters
Response
The same object comes back from GET /v1/videos/{id}; the finished file is also served directly from GET /v1/videos/{id}/content.
Example
Errors