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
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
| Type | Price information |
|---|---|
| Output · Resolution 1K · Up to 3 input reference images | USD 0.04 / image |
| Input reference image fee · Resolution 1K · Up to 3 input reference images | USD 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
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.
Grok Imagine Image Quality Compare models
| Model | Input price | Output price | Context window | Capabilities |
|---|---|---|---|---|
| Grok Imagine Image QualityThis page | USD 0.008 / image · Resolution 1K · Up to 3 input reference images | USD 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 / image | 16,000 | Image output |
| Grok Imagine Image 2.0 | — | USD 0.0416 / generation · Quality low · Resolution 1k | 8,000 | Image output |
| GPT Image 2.5 Flare | USD 4 / 1M tokens | USD 24 / 1M tokens | — | Image output |
| GPT Image 2.5 Sunburst | USD 4 / 1M tokens | USD 24 / 1M tokens | — | Image output |
| GPT-Image-2 | USD 4 / 1M tokens | USD 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.