Video models
Grok Imagine Video 1.5
On this page
Grok Imagine Video 1.5 — high-quality AI video generation.
| modelId | grok-imagine-video-1-5-preview |
| Modality | video |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | modelId | Endpoint | Required input |
|---|---|---|---|
| Default | grok-imagine-video-1-5-preview | POST /api/v1/generate | image_urls |
| Poll task | — | GET /api/v1/task/{id}?model=grok-imagine-video-1-5-preview | — |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | string | No | Prompt for video generation Max 4096 characters. (default: Slow cinematic push-in with gentle ambient motion, soft light shifting across the frame, subtle parallax and shallow depth of field.) |
| image_urls | string[] | Yes | Upload an image file to use as input for the API (image URL) |
| aspect_ratio | string | No | Aspect ratio for video generation.If not uploaded, follow the image size. (options: auto | 1:1 | 16:9 | 9:16 | 3:2 | 2:3) (default: auto) |
| resolution | string | No | Resolution for video generation. (options: 480p | 720p) (default: 480p) |
| duration | number | No | Video duration in seconds. Range: [1, 15]. Default: 8. (range 1-15) (default: 8) |
| nsfw_checker | boolean | No | A configurable parameter. Defaults to true in the Playground. (true/false) (default: true) |
Example request
bash
curl -X POST https://you.bot/api/v1/generate \
-H "Authorization: Bearer $YOUBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"modelId":"grok-imagine-video-1-5-preview","input":{"prompt":"A cinematic aerial shot of a coastal town at golden hour, gentle waves rolling onto the shore, warm light, slow camera push-in.","image_urls":["https://example.com/input.jpg"],"aspect_ratio":"auto","resolution":"480p","duration":8,"nsfw_checker":true}}'