grok-imagine-image-pro
grok-imagine-image-pro is a xAI image-generation model you can call through flatkey.ai's OpenAI-compatible API. On flatkey it runs at $0.026667 per request — about 47% below the $0.05 official list price, and $0.026667 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
- Image generation
- Access
- OpenAI-compatible API
- Endpoints
- openai, openai-response
How to use the grok-imagine-image-pro 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-image-proSend a request with model set to "grok-imagine-image-pro" using the OpenAI SDK or curl. Copy a ready-to-run example below.
curl "https://router.flatkey.ai/v1/images/generations" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $FLATKEY_API_KEY" \
-d '{"model":"grok-imagine-image-pro","prompt":"A cute cat","size":"1024x1024"}'grok-imagine-image-pro vs similar models
| Model | Input / 1M |
|---|---|
| grok-imagine-image-pro | $0.026667 |
| grok-imagine-image | $0.010667 |
| grok-imagine-image-quality | $0.026667 |
| grok-imagine-video-1.5 | $0.058667 |
| grok-imagine-video | $0.048 |
Availability (last 30 days)
Frequently asked questions
How much does the grok-imagine-image-pro API cost?
On flatkey.ai, grok-imagine-image-pro costs $0.026667 per request and $0.026667 per request, roughly 47% below the official list price. Top up $200 and get $100 free to stretch the budget further.
Is grok-imagine-image-pro 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-image-pro".
Is grok-imagine-image-pro 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-image-pro?
Sign up on flatkey.ai, create an API key in the console, and add prepaid balance. You can start calling grok-imagine-image-pro 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-image-pro on flatkey?
We publish the live 30-day success rate, throughput and latency for grok-imagine-image-pro directly on this page, updated from real traffic.
Start building with grok-imagine-image-pro
One OpenAI-compatible key, prepaid billing, and bonus credit on your first top-up. Sign up in under a minute.
Get your API key