xAI: Grok Imagine Video

Grok Imagine Video is xAI's video generation model, released 2026-05, that creates short clips from text, a still image, or reference images. It outputs 1–15 second videos at 24 fps in 480p or 720p across seven aspect ratios, and supports reference-to-video generation with up to seven images for consistent characters and settings.

Modalities
inTextinImageoutVideo
Per second
$0.070720p
Resolution
480p · 720p
Duration
1–15s
Released
May 18, 2026

Channels

Every channel serves the same model, but they differ in price and stability. On each API key in the Platform, you pick a primary and a backup channel per vendor, and each billing line shows which channel served the request.

Provider
Discount
/ call
Defaultstable
—
—

Video pricing

Billed per second of generated video. The rate depends on the output resolution, and on whether audio is generated with it.

Resolution
Per second
480p
$0.050
720p
$0.070
Duration
1–15s
Aspect ratios
16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3

Capabilities

VisionStructured output

Parameters

Request parameters this model accepts through the API.

logprobsmax_tokensresponse_formatseedtemperaturetop_logprobstop_p

Quick start

# 1. start the job
curl https://api.mirapi.ai/v1/video/generations \
  -H "Authorization: Bearer $MIRAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-video",
    "prompt": "A kite over the sea",
    "duration": 5
  }'

# 2. poll until status is "completed"
curl https://api.mirapi.ai/v1/video/generations/$TASK_ID \
  -H "Authorization: Bearer $MIRAPI_API_KEY"
Wire Grok Imagine Video into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free