Grok Imagine Image 2.0
grok-imagine-image-2.0Test in playground →Grok Imagine Image 2.0 (grok-imagine-image-2.0) costs $0.035 per image on rawroute (12% below official list price) with a 0% top-up fee and automatic failover across 4 independent verified providers.
$0.035
per image
- Official
$0.04
| Specification | Value |
|---|---|
| Model ID | grok-imagine-image-2.0 |
| Vendor | xAI |
| rawroute price | $0.035 (per image) |
| Official list price | |
| Savings vs official | 12.5% |
| Failover providers | 4 |
| Last verified | 28.11.2026 |
Playground
Reference images
0/3Optional. Add images to edit or use as a reference.
~0 tokens·$0.035
Call it with the SDK you already use.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.rawroute.dev/v1", api_key=os.environ["RAWROUTE_API_KEY"])
image = client.images.generate(
model="grok-imagine-image-2.0",
prompt="A lighthouse at dusk, shot on 35mm film",
n=1,
)
print(image.data[0].url or image.data[0].b64_json[:64])curl https://api.rawroute.dev/v1/images/generations \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-imagine-image-2.0", "prompt": "A lighthouse at dusk, shot on 35mm film", "n": 1}'- /v1/images/generations
Questions & specs
What is the exact API model ID for Grok Imagine Image 2.0?
Pass "grok-imagine-image-2.0" in the model field. Native paths supported: /v1/images/generations.
How many failover providers back Grok Imagine Image 2.0?
Grok Imagine Image 2.0 routes across 4 independent verified providers. Failed requests return real HTTP status codes and are never billed.