
Grok Imagine Video 1.5
Video model
APIUpdated
Call Grok Imagine Video 1.5 with the model id xai/grok-imagine-video over the SpecialX HTTP API, the generate_video MCP tool or the specialx CLI. The fields and defaults below are read from its input schema.
Required fields: prompt. Every other field is optional.
| Field | Type | Required | Default | Allowed values |
|---|---|---|---|---|
| prompt | string | Yes | None | Any |
| duration | number | No | 5 | min 1, max 15 |
| aspect_ratio | string | No | None | 16:9, 4:3, 1:1, 9:16, 3:4, 3:2, 2:3 |
| resolution | string | No | 720p | 480p, 720p |
| reference_images | array of strings | No | None | Any |
curl -X POST https://specialx.ai/api/v1/generations \
-H "Authorization: Bearer sx_..." \
-H "Content-Type: application/json" \
-d '{
"type": "video",
"model": "xai/grok-imagine-video",
"input": {
"prompt": "Describe the shot",
"duration": 5,
"resolution": "720p"
}
}'
This example request costs 18 credits.
Response (201):
{"task_id":"uuid","status":"queued"}
The response carries a task_id. Poll GET https://specialx.ai/api/v1/generations/{task_id} until status is completed or failed. status is one of queued, processing, completed, failed.
urls: Output media URLs (completed only)error: Failure reason (failed only)Over MCP, call generate_video with model and input, then get_task with the task_id.
specialx call generate_video model=xai/grok-imagine-video \
input='{"prompt":"Describe the shot","duration":5,"resolution":"720p"}'
specialx call get_task task_id=<id>
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing · One run of Grok Imagine Video 1.5 at default settings uses 18 credits.
The model id is xai/grok-imagine-video.
Required fields: prompt. Every other field is optional.
The response carries a task_id. Poll GET https://specialx.ai/api/v1/generations/{task_id} until status is completed or failed.
This example request costs 18 credits.