Skip to content
FluxCDNFluxCDN
esc

xAI: Grok Imagine Video

Grok Imagine Video is SpaceXSI's fast, text-, image-, and reference-conditioned video generation model.

From
19,242 Toman/second
Durations
1–15 s
Resolutions
480p, 720p
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3
Published
May 18, 2026
Maker
xAI

Free plan prices, in Toman at today's rate. Plans and prices

Price per second, by plan

Toman per second of video at today's rate, by resolution. A video is charged once, when it is ready, at the price frozen when it was submitted; nothing is charged if it fails.

ResolutionsFreeProMax
480p19,24218,45417,665
720p26,93925,83524,731

Each input image (frame or reference): 770 Toman.

What it takes and gives

Accepts
  • Text
  • Image
Creates
  • Video

Every input listed here works through the API and the playground: images and PDFs as data URLs or https links, audio as base64, video as a data URL or a link the model supports.

This model creates video. Send it to POST /v1/videos with a prompt (and optionally a first or last frame), poll the job until it is completed — usually 30 seconds to a few minutes — then download it. Nothing is charged if it fails.

Video options

Durations
1 s, 2 s, 3 s, 4 s, 5 s, 6 s, 7 s, 8 s, 9 s, 10 s, 11 s, 12 s, 13 s, 14 s, 15 s
Resolutions
480p, 720p
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3
Start from an image
first frame
Sound
silent

Call it

curl https://ai.fluxcdn.cloud/api/v1/videos \
  -H "Authorization: Bearer $FLUXCDN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-imagine-video",
    "prompt": "A slow aerial shot over Mount Damavand at sunrise",
    "duration": 1,
    "resolution": "480p",
    "aspect_ratio": "16:9"
  }'

→ 202 {"id": "vid_…", "status": "pending", "polling_url": "…/api/v1/videos/vid_…"}

curl https://ai.fluxcdn.cloud/api/v1/videos/vid_… -H "Authorization: Bearer $FLUXCDN_API_KEY"
→ {"status": "completed", "content_urls": ["…/api/v1/videos/vid_…/content?index=0"], "cost_micros": …}

curl -L https://ai.fluxcdn.cloud/api/v1/videos/vid_…/content -H "Authorization: Bearer $FLUXCDN_API_KEY" -o video.mp4