Grok Imagine Image 2.0API
xAI's second-generation image model — photorealistic scenes and legible text.
Grok Imagine Image 2.0 is an image model from xAI. Through Kunavo it costs $0.028 per image — about 30% under xAI's official price, read live from the catalog. Calls go to POST /v1/images/generations on the OpenAI-compatible API.
Our price
$0.028
per image
Official price
$0.04
Provider list price
Specs
- Model ID
grok-imagine-image-2- Endpoint
POST /v1/images/generations- Category
- Image
- Provider
- xAI
- Capabilities
- Text to image
- Official tier
- 1K
Drop-in OpenAI compatibility
Point your existing OpenAI SDK at api.kunavo.com/v1 and swap the model id. No streaming changes, no SDK changes.
View docsEstimate what Grok Imagine Image 2.0 costs for your workloadTry it
Set KUNAVO_API_KEY from /app/keys, then run any of the snippets below.
curl https://api.kunavo.com/v1/images/generations \
-H "Authorization: Bearer $KUNAVO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image-2",
"prompt": "a tiny red origami crane on a white desk",
"size": "1024x1024"
}'Kunavo vs calling xAI directly
Same Grok Imagine Image 2.0 weights, same responses. What a gateway changes is the account, the SDK and the bill — here is the honest side-by-side.
| Kunavo | xAI direct | |
|---|---|---|
| Price (per image) | $0.028 (−30%) | $0.04 |
| Account | One Kunavo account, key in 2 minutes, $10 minimum top-up | An account with xAI, plus its own billing setup |
| SDK | Keep the OpenAI SDK — change base_url, set model to "grok-imagine-image-2" | xAI's SDK, or their OpenAI-compatible layer where offered |
| Same key also reaches | Claude, GPT, image, video and audio models | xAI's own catalog only |
| Billing | One prepaid balance, pay-as-you-go, never expires; failed requests unbilled | A separate invoice per provider |
| Rate limits | Shared gateway capacity, no contractual per-account limit | xAI's own tier limits, raised by usage history or contract |
Go direct to xAI when you need a contractual rate limit, an enterprise SLA, or a provider-only feature on day one. Use Kunavo when you want one key, one balance and a lower per-token rate across every provider.
Frequently asked questions
How much does Grok Imagine Image 2.0 cost?
On Kunavo, Grok Imagine Image 2.0 is $0.028 per image — about 30% under xAI's official price. Failed requests are never billed, and you pay as you go only for successful calls.
Can I call Grok Imagine Image 2.0 with the OpenAI SDK?
Yes. Set base_url to https://api.kunavo.com/v1, use your Kunavo key, and set model to "grok-imagine-image-2". Requests and responses are OpenAI-compatible.
What endpoint does Grok Imagine Image 2.0 use?
Call Grok Imagine Image 2.0 through POST /v1/images/generations on Kunavo’s OpenAI-compatible API.
What is Grok Imagine Image 2.0 good for?
Grok Imagine Image 2.0 is an image model from xAI, with support for Text to image.
What is different from calling xAI directly?
The model is the same — about 30% under xAI's official price. The surrounding setup changes: one key and one prepaid balance replace an account with xAI and its billing, you can use the OpenAI SDK by changing base_url, and the same key also reaches Claude, GPT, image, video and audio models. Gateway capacity is shared. If your use case requires provider-negotiated limits for Grok Imagine Image 2.0, contact xAI directly.
Is Grok Imagine Image 2.0 cheaper on Kunavo?
Yes. Grok Imagine Image 2.0 is about 30% below xAI’s official list price on Kunavo, with no subscription or monthly minimum. You pay for successful usage, starting with a $10 top-up; failed requests are never billed and your balance never expires.