New: Nano Banana 2.1Try the model
API Stock

xAI

Grok Imagine API

xAI's Grok Imagine line — image and short video, with the longest clips per dollar we carry.

At a glance

From
$0.014 / second
Modes
Text to video, Image to video, Text to image, Image to image
Resolutions
480p, 720p
Durations
6, 10, 15, 20, 25, 30 seconds
Aspect ratios
16:9, 9:16, 1:1, 3:2, 2:3, 3:4, 4:3

Models in this family

ModelFromModesOpen
Grok Imagine 1.5 VideoGenerate short video from text or animate a reference image.$0.014/ secondText to video, Image to videoOpenDocs
Grok Imagine 1.5 ImageGenerate or transform images from a prompt and optional reference image.$0.021/ generationText to image, Image to imageOpenDocs
Grok Imagine 2.0 ImageGenerate batches of images from a text prompt in common aspect ratios.$0.021/ generationText to imageOpenDocs

Pricing

ModelOptionPrice
Grok Imagine 1.5 Video480p$0.014/ second
Grok Imagine 1.5 Video720p$0.026/ second
Grok Imagine 1.5 ImageStandard$0.021/ generation
Grok Imagine 2.0 ImageStandard$0.021/ generation

Which one to pick

Strengths

  • Video duration reaches 30 seconds in six fixed steps, which only Seedance 2.5 also matches.
  • Image and video share one vendor and one key.
  • Flat image pricing — framing choice does not change the cost.

Limitations

  • Video stops at 720p; there is no 1080p or 4K option in this line.
  • Grok Imagine 2.0 dropped reference-image input, so image-to-image work has to stay on 1.5.
  • The two image tiers are priced identically, so 2.0 costs the same as 1.5 while accepting less.

Frequently asked questions

How much does the Grok Imagine API cost?

API Stock bills per use from one prepaid balance, with no subscription. Current prices: Grok Imagine 1.5 Video — from $0.014 per second of output; Grok Imagine 1.5 Image — from $0.021 per generation; Grok Imagine 2.0 Image — from $0.021 per generation.

How do I get an API key for Grok Imagine?

Create an account and API key on API Stock, then fund your balance. The same key works with Grok Imagine and other catalog models.

The vendor's own description of this line: xAI — models