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

ModelModeimage_urlsDurationsResolutionsAspect ratiosDefaults
grok-imaginetext-to-videoNone6s, 10s, 15s, 30s480p, 720p2:3, 3:2, 1:1, 9:16, 16:96s, 480p, 16:9
grok-imagineimage-to-videoExactly 16s, 10s, 15s, 30s480p, 720p2:3, 3:2, 1:1, 9:16, 16:96s, 480p, 16:9
grok-imagine-1-5text-to-videoNone6s, 10s, 15s, 20s, 30s480p, 720p16:9, 9:16, 1:1, 3:2, 2:36s, 480p, 16:9
grok-imagine-1-5image-to-videoExactly 16s, 10s, 15s, 20s, 30s480p, 720p16:9, 9:16, 1:1, 3:2, 2:36s, 480p, 16:9

Neither model accepts video_urls.

Credit pricing

grok-imagine

The same in both modes.

Resolution6s10s15s30s
480p10203060
720p20304590

grok-imagine-1-5

3 credits per second at both resolutions, in both modes.

Duration6s10s15s20s30s
Credits1830456090

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.

On this page