Skip to content

Grok ​

Modes: image · video · audio · text · Models: 10

Vendor: xAI · Official API docs: docs.x.ai

Grok Imagine (by xAI) is a multi-mode family on a single API: a fast image-to-video model with start-frame and native audio, image generation in standard and a higher-fidelity Quality tier, and the Grok TTS voice model. Video covers text-to-video, image-to-video, edit, and extend; image generation is synchronous while video is async.

Models ​

idNameInput type
grok-imagine-videoGrok Imagine 1.0t2v
grok-imagine-video-1.5Grok Imagine 1.5t2v
grok-imagine-video-1.5-liteGrok Imagine 1.5 Litet2v
grok-edit-videoGrok Edit Videov2v
grok-extend-videoGrok Extend Videov2v
grok-imagine-imageGrok Imaginet2i
grok-imagine-image-qualityGrok Imagine Qualityt2i
grok-imagine-image-2.0Grok Imagine 2.0t2i
grok-ttsGrok TTStts
grok-4.7Grok 4.7i2t

CLI ​

bash
# text-to-video with native audio
gen-ai generate -m grok-imagine-video \
  -p "a neon hovercar drifting through a rainy cyberpunk alley, cinematic" \
  --ar 16:9 -r 720p -d 6

# image-to-video from a start image
gen-ai generate -m grok-imagine-video -p "slow push-in, drifting fog" -i ./still.jpg

# restyle / continue an existing clip
gen-ai generate -m grok-edit-video -p "anime style repaint" --video ./clip.mp4
gen-ai generate -m grok-extend-video -p "the camera keeps flying forward" --video ./clip.mp4

# high-fidelity image generation
gen-ai generate -m grok-imagine-image-quality \
  -p "a porcelain teapot on a marble counter, soft window light" --ar 1:1 -r 2k -n 4

# text-to-speech
gen-ai generate -m grok-tts -p "Welcome to the Picsart AI Playground." --voice eve

MCP ​

json
{ "name": "picsart_generate",
  "arguments": {
    "model": "grok-imagine-video",
    "prompt": "a neon hovercar drifting through a rainy cyberpunk alley",
    "aspectRatio": "16:9",
    "resolution": "720p",
    "duration": 6
  } }
json
{ "name": "picsart_generate",
  "arguments": {
    "model": "grok-imagine-image-quality",
    "prompt": "a porcelain teapot on a marble counter, soft window light",
    "aspectRatio": "1:1",
    "resolution": "2k",
    "count": 4
  } }
json
{ "name": "picsart_generate",
  "arguments": {
    "model": "grok-tts",
    "prompt": "Welcome to the Picsart AI Playground.",
    "voiceId": "eve"
  } }

Parameters ​

Full parameter surface for every model, sourced from gen-ai models info <id> --json. CLI flags show the primary short form; the canonical --kebab-case long form always works too.

grok-imagine-video — Grok ​

Try grok-imagine-video in Playground ↗

Input type: t2v

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3 (default 16:9)
resolution-renum480p · 720p (default 720p)
duration-denum3 · 5 · 6 · 8 · 10 · 12 · 15 (default 6)
imageUrls-ifileimage (up to 1)

grok-imagine-video-1.5 — Grok Imagine 1.5 ​

Try grok-imagine-video-1.5 in Playground ↗

Input type: i2v

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3 (default 16:9)
resolution-renum480p · 720p · 1080p (default 720p)
duration-denum3 · 5 · 6 · 8 · 10 · 12 · 15 (default 8)
imageUrls-ifilerequired image (up to 1)

Notes: grok-imagine-video also backs image-to-video (pass -i); the edit / extend variants take a --video input and retain the source duration.

grok-imagine-video-1.5-lite — Grok Imagine 1.5 Lite ​

Try grok-imagine-video-1.5-lite in Playground ↗

Input type: t2v

ParamCLI flagTypeValues
prompt-ptextrequired (≤4096 chars)
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3 (default 16:9)
resolution-renum480p · 720p · 1080p (default 720p)
duration-denum3 · 5 · 6 · 8 · 10 · 12 · 15 (default 8)
imageUrls-ifileimage (up to 1)

grok-edit-video — Grok Edit Video ​

Try grok-edit-video in Playground ↗

Input type: v2v

ParamCLI flagTypeValues
prompt-ptextrequired
videoUrl--videofilerequired video

grok-extend-video — Grok Extend Video ​

Try grok-extend-video in Playground ↗

Input type: v2v

ParamCLI flagTypeValues
prompt-ptextrequired
duration-denum3 · 5 · 6 · 8 · 10 (default 6)
videoUrl--videofilerequired video

grok-imagine-image — Grok Imagine ​

Try grok-imagine-image in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 2:1 · 1:2 · 19.5:9 · 9:19.5 · 20:9 · 9:20 (default 1:1)
resolution-renum1k · 2k (default 1k)
count-nenum1 · 2 · 4 (default 1)
imageUrls-ifileimage (up to 1)

grok-imagine-image-quality — Grok Imagine Quality ​

Try grok-imagine-image-quality in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 2:1 · 1:2 · 19.5:9 · 9:19.5 · 20:9 · 9:20 (default 1:1)
resolution-renum1k · 2k (default 2k)
count-nenum1 · 2 · 4 (default 1)
imageUrls-ifileimage (up to 1)

grok-imagine-image-2.0 — Grok Imagine 2.0 ​

Try grok-imagine-image-2.0 in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 2:1 · 1:2 · 19.5:9 · 9:19.5 · 20:9 · 9:20 (default 1:1)
resolution-renum1k · 2k (default 1k)
quality--qualityenumlow · medium (default medium)
count-nenum1 · 2 · 4 (default 1)
imageUrls-ifileimage (up to 1)

grok-tts — Grok TTS ​

Try grok-tts in Playground ↗

Input type: tts

ParamCLI flagTypeValues
language--languagetextfree text
accent--accenttextfree text
prompt-ptextrequired (≤15000 chars)
voiceId--voiceenumeve (Eve) · ara (Ara) · rex (Rex) · sal (Sal) · leo (Leo) (default eve)

grok-4.7 — Grok 4.7 ​

Try grok-4.7 in Playground ↗

Input type: i2t

ParamCLI flagTypeValues
prompt-ptextrequired
imageUrls-ifileimage (up to 8)
thinking--thinkingenumlow · medium · high (default high)

Pricing ​

bash
gen-ai pricing grok-imagine-video --duration 6 --resolution 720p

Video cost scales with duration (priced per second); image cost scales with the Quality vs. standard tier and count; TTS is priced per character.

Built on @picsart/ai-sdk · gen-ai CLI · Picsart MCP · Media Studio · Skills