Grok Imagine Video 1.5 Text to Video API
Text to Video with Grok Imagine Video 1.5 by xAI. xAI's video model — native audio, up to 1080p and 15 s.
per second of video · 720p
With Max: from $0.059/s →Operational99.98% uptime (30 days)Try Grok Imagine Video 1.5 Text to Video
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 Reference to Video
See the Grok Imagine Video 1.5 examples and prompts
Grok Imagine Video 1.5 Text to Video API
/api/v1/run/xai/grok-imagine-video/text-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 |
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
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/xai/grok-imagine-video/text-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A corgi DJ in sunglasses spins records at a beach party at sunset, crowd cheering, upbeat house music",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "xai/grok-imagine-video",
"endpoint": "xai/grok-imagine-video/text-to-video",
"mode": "text-to-video",
"status": "queued",
"input": {
"prompt": "A corgi DJ in sunglasses spins records at a beach party at sunset, crowd cheering, upbeat house music",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"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 as you go, with no subscription required. Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
480p audio included | $0.0736/s | −8% | |
720p audio included | $0.0675/s With a monthly plan: Pro $0.0633Max $0.059 | −52% | |
1080p audio included | $0.23/s | −8% |
Monthly plans lower prices on most models (shown under each price); you can still pay as you go. Pro $499/month · Max $4,999/month.
- 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 October 18, 2026.
- Each reference image adds $0.01 (before our discount).
More from xAI
Popular xAI models, on the same API key.
Grok ImagineVideo 1.5 Lite
Text · Image → Video
The lowest-cost Grok video — native audio from cents a second

Grok ImagineImage 2.0
Text → Image · Image Edit
xAI's top-ranked image model — photoreal, bold, fast
Similar video models
Popular text-to-video models from other developers.

Seedance2.5
Text to Video · Image to Video · Reference to Video · Video Edit
ByteDance's newest video model — longer, sharper, more controllable

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

Seedance2.0 Fast
Text · Image · Reference → Video
Seedance 2.0 quality at lower latency and cost

MiniMaxH3 Fast
Text · Image · Reference → Video
MiniMax H3 in seconds, not minutes — an accelerated build of the open weights
