xAI: Grok Imagine Image

xai/grok-imagine-image

xAI Grok Imagine Image API pricing

Grok Imagine Image costs $0.008 per image on Oxyy. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.020). It generates images from text prompts and can work from reference images. For every xAI model and rate, see Grok API pricing.

xAI's low-cost image generation and editing model, flat-priced across resolutions.
ModalitiesTextImageImage
Price$0.008 per imageAll Grok API pricing

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderPriceUnit
xAI$0.008per image

Capabilities (3)

Image EditBatchImage To Image

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Price
$0.008
per image · standard price $0.020
Current discount
60%
off every rate
RateStandard priceChargedUnit
Per image$0.020$0.008per image

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

Specifications

Model ID
grok-imagine-image
Developer
xAI
Type
Image generation
Input
Text and images
Output
Images
Tokenizer
Grok
Series
Grok Imagine
Image input
Up to 20 MB each
Endpoint
/v1/images/generations

Best for

Image generationImage editingLow cost

Quickstart

Call grok-imagine-image with a POST to /v1/images/generations on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.images.generate(
    model="grok-imagine-image",
    prompt="A lighthouse on a cliff at sunset, watercolor",
    n=1,
    size="1024x1024",
)
print(response.data[0].url)

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Requests (30 days)
7
A success rate is shown from 100 completed requests
Days with traffic
6
of the last 30 days

Frequently asked questions

What is Grok Imagine Image?
xAI's low-cost image generation and editing model, flat-priced across resolutions.
How much does Grok Imagine Image cost?
Grok Imagine Image costs $0.008 per image on Oxyy. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.020). You pay per request, with no subscription.
What can I send to Grok Imagine Image?
Grok Imagine Image takes a text prompt and reference images (up to 20 MB each) and returns images.
Which API endpoint does Grok Imagine Image use?
Send a POST request to https://api.oxyy.ai/v1/images/generations with "model": "grok-imagine-image", authenticated with your Oxyy API key. It is also served on /v1/images/edits, /v1/images/variations, /v1/chat/completions and /v1/responses (Responses API).
What other models does xAI have?
xAI also offers Grok Imagine Image 2.0, Grok 4.20 (0309) Non-Reasoning, Grok 4.20 (0309) Reasoning and Grok 4.20 (0309) Multi-Agent through Oxyy.

Alternatives to Grok Imagine Image

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from xAI