Grok Imagine Image
Save 70%Officialxai/grok-imagine-image
xAI Grok Imagine's base text-to-image model, with the lowest per-image price in the Grok Imagine lineup.
- Input modalities
- text
- Output modalities
- image
- Capabilities
- Image generation
- RouteMux name
- xai/grok-imagine-image
Try Grok Imagine Image here
Tune the request, see the current price ceiling, and inspect the real response without leaving this model page.
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 API pricing
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-imageReplace 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",
prompt="A red panda coding under the moonlight",
n=1,
)
print(response.data[0].url)Performance (last 30 days)
Grok Imagine Image FAQ
›What is Grok Imagine Image?
xAI Grok Imagine's base text-to-image model, with the lowest per-image price in the Grok Imagine lineup.
›How much does the Grok Imagine Image API cost?
Through RouteMux, Grok Imagine Image is priced at $0.006, below the official list price.
›How do I call Grok Imagine Image via API?
Grok Imagine Image is OpenAI-compatible: point your base URL at RouteMux and set the model field to xai/grok-imagine-image — no code changes needed.
›Which input and output modalities does Grok Imagine Image support?
Grok Imagine Image accepts text as input and produces image as output.