Grok Imagine Image 2.0
Save 70%Officialxai/grok-imagine-image-2.0
xAI Grok Imagine Image 2.0 — xAI's recommended image model for generation and editing, billed per image.
- Input modalities
- text · image
- Output modalities
- image
- Capabilities
- Image generation · Image editing
- RouteMux name
- xai/grok-imagine-image-2.0
Try Grok Imagine Image 2.0 here
Tune the request, see the current price ceiling, and inspect the real response without leaving this model page.
Sign in first to upload images to this vision model.
Your result will appear here
Enter an input on the left. The same RouteMux Playground execution and billing path powers this embedded test.
Grok Imagine Image 2.0 API pricing
- low · 1K$0.012 /callOfficial
$0.04 - low · 1.5K$0.015 /callOfficial
$0.05 - low · 2K$0.018 /callOfficial
$0.06 - medium · 1K$0.018 /callOfficial
$0.06 - medium · 1.5K$0.021 /callOfficial
$0.07 - medium · 2K$0.024 /callOfficial
$0.08 - Source image for edits (each, once per request)$0.003Official
$0.01
Limited time10% extra Credits on your first top-up — up to 200 bonus Credits
Applies to your first top-up within 72 hours of signing up. Minimum $20, once per account.
Key capabilities
Interface and protocols
Use any of these IDs to call this model via the API.
xai/grok-imagine-image-2.0Replace the ROUTEMUX_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.routemux.com/v1",
api_key="<ROUTEMUX_KEY>",
)
response = client.images.generate(
model="xai/grok-imagine-image-2.0",
prompt="A red panda coding under the moonlight",
n=1,
)
print(response.data[0].url)Performance (last 30 days)
Grok Imagine Image 2.0 FAQ
›What is Grok Imagine Image 2.0?
xAI Grok Imagine Image 2.0 — xAI's recommended image model for generation and editing, billed per image.
›How much does the Grok Imagine Image 2.0 API cost?
Through RouteMux, Grok Imagine Image 2.0 is priced at $0.012, below the official list price.
›How do I call Grok Imagine Image 2.0 via API?
Grok Imagine Image 2.0 is OpenAI-compatible: point your base URL at RouteMux and set the model field to xai/grok-imagine-image-2.0 — no code changes needed.
›Which input and output modalities does Grok Imagine Image 2.0 support?
Grok Imagine Image 2.0 accepts text, image as input and produces image as output.