Grok Imagine Video 1.5 Reference to Video API
Reference to Video with Grok Imagine Video 1.5 by xAI. xAI's video model — native audio, up to 1080p and 15 s.
Try Grok Imagine Video 1.5 Reference to Video
Up to 7 images for characters, products, style or scene. Refer to them in the prompt as @Image1, @Image2…
Output frame shape.
Output resolution. Higher resolutions cost more per second.
Length of the generated clip in seconds (1–15s). You pay per second.
Create a free account with Google or email — pay only for what you generate.
Your video will appear here
Write a prompt, pick your settings and hit Run. You only pay for successful generations.
Also available: Grok Imagine Video 1.5 Text to Video
Grok Imagine Video 1.5 Reference to Video API
/api/v1/run/xai/grok-imagine-video/reference-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
reference_image_urlsrequired | string[] (URLs) | Up to 7 images for characters, products, style or scene. Refer to them in the prompt as @Image1, @Image2… Max items: 7 | No |
aspect_ratio | string (enum) | Output frame shape. Values: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3 Default: 16:9 | Yes |
resolution | string (enum) | Output resolution. Higher resolutions cost more per second. Values: 480p · 720p · 1080p Default: 720p | Yes |
duration | integer | Length of the generated clip in seconds (1–15s). You pay per second. Range: 1–15s Default: 8 | Yes |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
curl -X POST https://cheapergen.com/api/v1/run/xai/grok-imagine-video/reference-to-video \
-H "Authorization: Bearer $CHEAPERGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "@Image1 rides a bicycle through a field of sunflowers, wind in her hair, cheerful whistling",
"reference_image_urls": [
"https://cdn.cheapergen.ai/samples/reference-1.jpg"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8
}'Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "xai/grok-imagine-video",
"endpoint": "xai/grok-imagine-video/reference-to-video",
"mode": "reference-to-video",
"status": "queued",
"input": {
"prompt": "@Image1 rides a bicycle through a field of sunflowers, wind in her hair, cheerful whistling",
"reference_image_urls": [
"https://cdn.cheapergen.ai/samples/reference-1.jpg"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Grok Imagine Video 1.5 pricing
Pay per second of video. No subscription. Failed generations are refunded automatically.
| Tier | Official price | Cheaper Gen. | You save |
|---|---|---|---|
480p audio included | $0.07/s | −12% | |
720p audio included | $0.123/s | −12% | |
1080p audio included | $0.22/s | −12% |
- Official price: xAI API list price for grok-imagine-video-1.5 ($0.08 / s at 480p, $0.14 at 720p, $0.25 at 1080p; $0.01 per input image). Prices verified 2026-10-16.
- Each reference image adds $0.01 (before our discount).
Related models

Grok ImagineImage 2.0
Text → Image · Image Edit
xAI's top-ranked image model — photoreal, bold, fast

Kling3.0
Text · Image → Video
Kling's flagship video model — cinematic motion, native audio, up to 15 s

MiniMaxH3
Text · Image · Reference → Video
Hailuo H3 — expressive motion and physics, up to 2K
