ApiModels
Grok Imagine Models
Grok Imagine and Grok Imagine 1.5 modes, inputs, defaults, credit pricing, and API examples.
Overview
Vendor: Grok (xAI). grok-imagine and grok-imagine-1-5 (Grok Imagine Video 1.5 Fast) create video from text or one image. Neither model has an audio toggle.
Modes and inputs
| Model | Mode | image_urls | Durations | Resolutions | Aspect ratios | Defaults |
|---|---|---|---|---|---|---|
grok-imagine | text-to-video | None | 6s, 10s, 15s, 30s | 480p, 720p | 2:3, 3:2, 1:1, 9:16, 16:9 | 6s, 480p, 16:9 |
grok-imagine | image-to-video | Exactly 1 | 6s, 10s, 15s, 30s | 480p, 720p | 2:3, 3:2, 1:1, 9:16, 16:9 | 6s, 480p, 16:9 |
grok-imagine-1-5 | text-to-video | None | 6s, 10s, 15s, 20s, 30s | 480p, 720p | 16:9, 9:16, 1:1, 3:2, 2:3 | 6s, 480p, 16:9 |
grok-imagine-1-5 | image-to-video | Exactly 1 | 6s, 10s, 15s, 20s, 30s | 480p, 720p | 16:9, 9:16, 1:1, 3:2, 2:3 | 6s, 480p, 16:9 |
Neither model accepts video_urls.
Credit pricing
grok-imagine
The same in both modes.
| Resolution | 6s | 10s | 15s | 30s |
|---|---|---|---|---|
| 480p | 10 | 20 | 30 | 60 |
| 720p | 20 | 30 | 45 | 90 |
grok-imagine-1-5
3 credits per second at both resolutions, in both modes.
| Duration | 6s | 10s | 15s | 20s | 30s |
|---|---|---|---|---|---|
| Credits | 18 | 30 | 45 | 60 | 90 |
Example
curl -X POST https://viewmax.studio/api/v1/videos \
-H "Authorization: Bearer $VIEWMAX_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: grok-example-0001" \
-d '{
"model": "grok-imagine-1-5",
"mode": "image-to-video",
"prompt": "The camera slowly pushes toward the subject",
"image_urls": ["https://example.com/source.jpg"],
"options": { "duration": "10s", "resolution": "720p", "aspect_ratio": "16:9" }
}'This request costs 30 credits. With MCP, call generate_video with the same model ID.