All models / Video / grok-imagine-video
grok-imagine-video
model id: xai/grok-imagine-video/{host_id}
Text in → Video out
Hosts
Don’t know how to select a host? Check Provider selection.
| Host | 480p | 720p | 1080p |
|---|---|---|---|
| — | $0.5 / s | $0.7 / s | — |
| MachGen | $0.05 / s | $0.07 / s | — |
| WaveSpeedAI | $0.05 / s | $0.05 / s | $0.05 / s |
| OpenRouter | $0.05 / s | $0.07 / s | — |
| Pika | $0.053 / s | $0.074 / s | — |
0% additional markup beyond our 2% platform fee.
Playground
Only one of these two tabs is sent — a model can't take both a start/end image and reference files in the same call.
Output
Nothing generated yet
# create
import requests
resp = requests.post(
"https://videorouter.sh/api/v1/videos",
headers={"Authorization": "Bearer llmr_sk_...", "Content-Type": "application/json"},
json={"model": "xai/grok-imagine-video", "prompt": "A drone shot flying over snowy mountains", "duration_secs": 5},
)
job = resp.json()
# poll
status = requests.get(
f"https://videorouter.sh/api/v1/videos/{job['id']}",
headers={"Authorization": "Bearer llmr_sk_..."},
).json()
print(status["status"]) # pending -> in_progress -> completed