Grok Imagine Video API

xAI's video generation model. Call it on 666 AI with the same API key as every other model. Pay as you go; prices follow the upstream in real time and this page updates hourly.

VendorxAI
Typevideo generation
Price$0.0675 – $0.0945 per second
Model ID (use this in your request)x-ai/grok-imagine-video
Sign up free & get an API keySee all model prices

How to call Grok Imagine Video

The API is OpenAI-compatible. Replace YOUR-ENDPOINT with the endpoint shown on your API Key page after you sign up, and YOUR-KEY with your key.

curl https://YOUR-ENDPOINT/v1/video/generations \
  -H "Authorization: Bearer YOUR-KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "x-ai/grok-imagine-video", "prompt": "a red panda walking in the snow", "duration": 5}'

Video is generated asynchronously: you get a task ID back and poll for the result (see the docs). You're billed for the seconds actually generated; failed jobs are free.

Similar models — price comparison

ModelPrice
Kling Video V2.5 Turbo Pro Text To Video$0.0945 per second
Klingai V2.5 Turbo Pro Text To Video$0.0945 per second
Seedance 2.0 Mini$0.0272 – $0.1021 per second
H3 Max$0.108 per second
Hailuo 3 Max$0.108 per second
Veo3.1 Lite$0.0405 – $0.108 per second

More models from xAI

ModelPrice
Grok 4.20 0309 Reasoning$1.86 per 1M input tokens · $3.71 per 1M output tokens
Grok 4.20 Multi Agent 0309$1.86 per 1M input tokens · $3.71 per 1M output tokens
Grok 4.5$2.7 per 1M input tokens · $8.1 per 1M output tokens
Grok 4.6$2.7 per 1M input tokens · $8.1 per 1M output tokens
Grok 4.7$2.97 per 1M input tokens · $8.91 per 1M output tokens
Grok 4.20 Multi Agent$3.38 per 1M input tokens · $6.75 per 1M output tokens
Grok Imagine Image$0.027 per image
Grok Imagine Image Pro$0.0945 per image

FAQ

How much does the Grok Imagine Video API cost?

On 666 AI, Grok Imagine Video costs $0.0675 – $0.0945 per second. You pay only for what you use — no monthly fee. Prices follow the upstream in real time; this page updates every hour.

Can I use the official OpenAI SDK?

Yes. The API is OpenAI-compatible: in the OpenAI Python or Node.js SDK just change base_url and api_key, and set model to x-ai/grok-imagine-video.

How do I pay?

Bank card (including Google Pay / Apple Pay), USDT / ETH, or bank wire. Top up once and usage is deducted as you go.