Grok Imagine Video 1.5 is now available. xAI's latest video model: text-to-video and first-frame image-to-video with sound, 1–15 sec, up to native 1080p.Learn more
Grok

Grok Imagine Image

Save 70%Official

xai/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
Live model playground

Try Grok Imagine Image here

Tune the request, see the current price ceiling, and inspect the real response without leaving this model page.

asyncimage
1Configure input
0 / 20,000
Maximum estimated cost—
2Live result

Your result will appear here

Enter an input on the left. The same RouteMux Playground execution and billing path powers this embedded test.

image

Grok Imagine Image API pricing

OutputOfficial $0.02 /call
$0.006/callSave 70%

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.

Sign up and claimNo subscription. Pay for what you use.

Key capabilities

Image generation

Interface and protocols

OpenAI Images

Use any of these IDs to call this model via the API.

RouteMux namexai/grok-imagine-image

Replace 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)
base_url: https://api.routemux.com/v1

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.