Moduck

xAI: Grok Imagine Image Quality

Higher-fidelity Grok Imagine image model for prompt-driven generation, editing, and visual design workflows

Model lab
xAI
Model family
grok
Modalitiestext, image → image
Context window16,000
Maximum output—
Input reference image fee · Resolution 1K · Up to 3 input reference imagesUSD 0.008 / image
Output · Resolution 1K · Up to 3 input reference imagesUSD 0.04 / image

Quickstart

Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to xai/grok-imagine-image-quality.

import os
import requests

base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "xai/grok-imagine-image-quality"

response = requests.post(
    f"{base_url}/chat/completions",
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    json={
        "model": model_id,
        "messages": [{"role": "user", "content": "Hello!"}],
        "stream": False,
    },
    timeout=60,
)
response.raise_for_status()
print(response.json())

Use the familiar OpenAI-style chat request format to make model integration easier.

Grok Imagine Image Quality API Pricing

TypePrice information
Output · Resolution 1K · Up to 3 input reference imagesUSD 0.04 / image
Input reference image fee · Resolution 1K · Up to 3 input reference imagesUSD 0.008 / image

Performance

Measured on the Moduck gateway across live traffic, hour by hour over the last 24 hours. Time to first token is how long before anything appears; throughput is how fast the answer is written after that; end-to-end latency is the whole round trip. Figures are medians unless the card says otherwise.

Performance trends

Image throughput6.0 images/minCurrent
Queue wait0.7 sCurrent
Completion time13.0 sCurrent
Image throughput
Current6.0 images/min
Window average5.9 images/min
Queue wait
Current0.7 s
Window average0.7 s
Completion time
Current13.0 s
Window average12.0 s
Tail completion time (P99)
Current24.4 s
Window average26.1 s
Retry rate
Current1.0%
Window average1.0%
Error rate
Current0.4%
Window average0.1%

Availability

Uptime is the share of time at least one provider serving this model responded. Availability is stricter: the share of requests actually served. A provider that answers but fails part of the traffic lowers availability without lowering uptime. Both cover the last three days.

Uptime100%At least one provider responded
Availability100%Requests actually served
Error rate0%Share of failed requests
Served requests, hour by hour
24 hours agoNow

Grok Imagine Image Quality Compare models

ModelInput priceOutput priceContext windowCapabilities
Grok Imagine Image QualityThis pageUSD 0.008 / image · Resolution 1K · Up to 3 input reference imagesUSD 0.04 / image · Resolution 1K · Up to 3 input reference images · Input reference image fee · Resolution 1K · Up to 3 input reference images USD 0.008 / image16,000Image output
Grok Imagine Image 2.0—USD 0.0416 / generation · Quality low · Resolution 1k8,000Image output
GPT Image 2.5 FlareUSD 4 / 1M tokensUSD 24 / 1M tokens—Image output
GPT Image 2.5 SunburstUSD 4 / 1M tokensUSD 24 / 1M tokens—Image output
GPT-Image-2USD 4 / 1M tokensUSD 24 / 1M tokens—Image output

Model specifications

Input
text, image
Output
image
Context window
16,000
Maximum output
—
Release date
2026-04-03
Attachments
Yes
Reasoning
No
Tool calling
No
Temperature setting
No
Open weights
No

Frequently asked questions

What is Grok Imagine Image Quality for?

Higher-fidelity Grok Imagine image model for prompt-driven generation, editing, and visual design workflows

What inputs and outputs does Grok Imagine Image Quality support?

Recorded inputs: text, images; outputs: images.

How is Grok Imagine Image Quality priced?

The pricing table shows the current recorded Moduck price. For example: Input reference image fee · Resolution 1K · Up to 3 input reference images USD 0.008 / image; Output · Resolution 1K · Up to 3 input reference images USD 0.04 / image. See the pricing table for all units, variants, and conditions.

What specifications are recorded for Grok Imagine Image Quality?

Current model records list Context window 16,000 tokens.

What model parameter does the Quickstart use?

The example uses xai/grok-imagine-image-quality. This value comes from the page identifier and is not confirmed as a callable Moduck public ID.

Can I call this model through the Moduck API now?

This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.