Moduck

xAI: Grok Imagine Image 2.0

Image model for prompt-driven generation, editing, and visual design workflows

Model lab
xAI
Model family
grok
Modalitiestext, image → image
Context window8,000
Maximum output—
Output · image · Quality low · Resolution 1kUSD 0.0416 / generation

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-2.0.

import os
import requests

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

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 2.0 API Pricing

TypePrice information
Output · image · Quality low · Resolution 1kUSD 0.0416 / generation

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 time12.7 sCurrent
Image throughput
Current6.0 images/min
Window average6.0 images/min
Queue wait
Current0.7 s
Window average0.7 s
Completion time
Current12.7 s
Window average12.0 s
Tail completion time (P99)
Current25.3 s
Window average27.0 s
Retry rate
Current1.5%
Window average1.0%
Error rate
Current0.0%
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 2.0 Compare models

ModelInput priceOutput priceContext windowCapabilities
Grok Imagine Image 2.0This page—USD 0.0416 / generation · Quality low · Resolution 1k8,000Image output
Grok Imagine Image QualityUSD 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
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
8,000
Maximum output
—
Release date
2026-08-07
Attachments
Yes
Reasoning
No
Tool calling
No
Temperature setting
No
Open weights
No

Frequently asked questions

What is Grok Imagine Image 2.0 for?

Image model for prompt-driven generation, editing, and visual design workflows

What inputs and outputs does Grok Imagine Image 2.0 support?

Recorded inputs: text, images; outputs: images.

How is Grok Imagine Image 2.0 priced?

The pricing table shows the current recorded Moduck price. For example: Output · Content image · Quality low · Resolution 1k USD 0.0416 / generation. See the pricing table for all units, variants, and conditions.

What specifications are recorded for Grok Imagine Image 2.0?

Current model records list Context window 8,000 tokens.

What model parameter does the Quickstart use?

The example uses xai/grok-imagine-image-2.0. 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.