Model detail
Grok Imagine Image 2.0
Grok Imagine Image 2.0 is an xAI model for image generation and editing. It accepts text and image inputs, and offers controls for aspect ratio, resolution, and generation quality.
Model specs
- Model ID
-
grok-imagine-image-2.0
- Context length
- –
- Max output
- –
- I/O modalities
- Released
- 2026-08
02
API endpoints
One MixRoute gateway, OpenAI-compatible
-
OpenAI-compatible
/v1/chat/completionsPOST -
OpenAI-compatible
/v1/responsesPOST
03
Tiered pricing
Unit: /unit
Pricing updated
| Tier | Input units /unit | Output units /unit |
|---|---|---|
| 1k-low (res == "1k") && (qual == "low") | $0.0100 | $0.0400 |
| 1k-medium (res == "1k") && (!(qual == "low")) | $0.0100 | $0.0600 |
| 2k-low (!(res == "1k")) && (qual == "low") | $0.0100 | $0.0600 |
| 2k-medium (!(res == "1k")) && (!(qual == "low")) | $0.0100 | $0.0800 |
05
Selection summary
Quickly judge whether it fits your workload
What is this model good for?
Image generation
Grok Imagine Image 2.0 is xAI's image generation model for text-to-image work. It accepts text and image input and returns images. Its capabilities are broken down in the section just below. Generate one image at your target size to check style and fidelity.
What should you check before using it?
Confirm output sizes and supported image formats
The MixRoute page for Grok Imagine Image 2.0 lists image input and OpenAI SDK compatibility. xAI announced Imagine Image 2.0 on 2026-08-07. Before production, test representative image requests, check the supported output formats, and review the current MixRoute pricing.
Why use it through MixRoute?
Call this model with a MixRoute API key
Use /v1/images/generations with model ID grok-imagine-image-2.0 through MixRoute at https://api.mixroute.ai. Configure a client for this endpoint, then test the integration with a sample request before sending production traffic.
07
Capabilities & compatibility
Unconfirmed capabilities stay "Unknown," no guesses
Vision input
Grok Imagine Image 2.0 can process image inputs alongside text.
image_url content part alongside text messages.
OpenAI SDK
Call Grok Imagine Image 2.0 through MixRoute's OpenAI-compatible endpoint.
base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.
09
FAQ
Grok Imagine Image 2.0 returns up to 10 images per request.
More from xAI
All xAI modelsOne endpoint, a testable decision
Test this model and alternate routes with the same request format
Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.