How do I retrieve a completed Grok video?
Poll the task until it reaches SUCCESS, then use the result_url or video_url returned in the task record.
Grok Imagine Video API
Submit Grok Imagine Video jobs with a gateway token, track progress in the shared task log and retrieve the final video from a consistent result URL without managing a separate xAI operations layer.
grok-imagine-video/v1/videos, /api/taskRecharge value
A $15 recharge adds gateway usage value benchmarked to $100 at official API list prices.
Equivalent usage depends on the model, tokens, resolution and selected group. This is SuperAI API balance, not an official provider account or transferable provider credit.
Recharge calculator
Enter a recharge amount to estimate the API usage value benchmarked against official provider list prices.
This estimates SuperAI API gateway usage value, not transferable credit in an official provider account. Actual consumption depends on the model, tokens, resolution and selected group.
curl -X POST https://superaiapi.com/v1/videos \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video",
"prompt": "A dramatic aerial shot above a coastal road",
"duration": 10,
"resolution": "720p"
}'Use the supported Grok Imagine task modes for new generation and image-conditioned workflows. Request validation keeps incompatible parameters from reaching the upstream route.
Grok Imagine Video is not represented as one universal fixed price. The selected duration, resolution and task mode determine the final amount, which is recorded with the completed task.
Task records retain upstream failure messages and progress state, making it easier to distinguish a rejected request, exhausted upstream usage or a generation that is still running.
Poll the task until it reaches SUCCESS, then use the result_url or video_url returned in the task record.
The charge depends on generation parameters such as duration and resolution. The live pricing page and completed task record show the applicable rate.
Yes, for supported image-conditioned modes. Provide a reachable image URL or another accepted source format rather than a local filesystem path.