grok-imagine-video
grok-imagine-video is a xAI chat and completion model you can call through flatkey.ai's OpenAI-compatible API. On flatkey it runs at $0.048 per request — about 47% below the $0.09 official list price, and $0.048 per request. One API key covers GPT, Claude, Gemini, DeepSeek and 40+ other live models, so you can switch models without changing SDKs or juggling separate accounts. Billing is prepaid with live usage analytics and a single invoice, which keeps spend predictable as you scale.
Pricing
Specifications
- Provider
- xAI
- Modality
- Text / chat
- Access
- OpenAI-compatible API
- Endpoints
- openai-video
How to use the grok-imagine-video API
- 1Create a flatkey.ai account and API keySign up for free, then generate an API key in the console. New accounts get bonus credit on their first top-up.
- 2Point your OpenAI client at flatkeySet base_url to https://router.flatkey.ai/v1 and use your flatkey key as the API key. No other code changes are needed — the API is OpenAI-compatible.
- 3Call grok-imagine-videoSend a request with model set to "grok-imagine-video" using the OpenAI SDK or curl. Copy a ready-to-run example below.
curl "https://router.flatkey.ai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $FLATKEY_API_KEY" \
-d '{"model":"grok-imagine-video","messages":[{"role":"user","content":"Say hello in one sentence."}]}'grok-imagine-video vs similar models
| Model | Input / 1M |
|---|---|
| grok-imagine-video | $0.048 |
| grok-imagine-image | $0.010667 |
| grok-imagine-image-pro | $0.026667 |
| grok-imagine-image-quality | $0.026667 |
| grok-imagine-video-1.5 | $0.058667 |
Availability (last 30 days)
Frequently asked questions
How much does the grok-imagine-video API cost?
On flatkey.ai, grok-imagine-video costs $0.048 per request and $0.048 per request, roughly 47% below the official list price. Top up $200 and get $100 free to stretch the budget further.
Is grok-imagine-video OpenAI-compatible?
Yes. Keep your existing OpenAI SDK, switch base_url to https://router.flatkey.ai/v1, and use your flatkey key. The model id stays "grok-imagine-video".
Is grok-imagine-video free to use?
Usage is pay-as-you-go, but priced well below the official list (about 47% cheaper), and new accounts receive bonus credit on their first top-up, so you can start testing at low cost.
How do I get an API key for grok-imagine-video?
Sign up on flatkey.ai, create an API key in the console, and add prepaid balance. You can start calling grok-imagine-video in minutes.
What other models can I use with the same key?
One flatkey key gives you GPT, Claude, Gemini, DeepSeek and 40+ other live models through a single OpenAI-compatible endpoint and one invoice.
How reliable is grok-imagine-video on flatkey?
We publish the live 30-day success rate, throughput and latency for grok-imagine-video directly on this page, updated from real traffic.
Start building with grok-imagine-video
One OpenAI-compatible key, prepaid billing, and bonus credit on your first top-up. Sign up in under a minute.
Get your API key