Skip to content

Model detail

grok-imagine-image-2.0

Provided by xAI
Pay-as-you-go Dynamic pricing 4 tiers

An xAI image model for visual generation and editing, with controls for aspect ratio, resolution, and generation quality.

Model specs

Model ID
grok-imagine-image-2.0
Context length
–
Max output
–
I/O modalities
Released
2026-08

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST
  • OpenAI-compatible /v1/responses POST

03

Tiered pricing

Unit: /unit

Tier Input units /unit Output units /unit
1k-low (res == "1k") && (qual == "low") $0.0100 $0.0400
1k-medium (res == "1k") && (!(qual == "low")) $0.0100 $0.0600
2k-low (!(res == "1k")) && (qual == "low") $0.0100 $0.0600
2k-medium (!(res == "1k")) && (!(qual == "low")) $0.0100 $0.0800

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

An xAI image model for visual generation and editing, with controls for aspect ratio

An xAI image model for visual generation and editing, with controls for aspect ratio, resolution, and generation quality.

What should you check before using it?

Confirm output sizes and supported image formats

Model type: image. Verify supported features and quotas with the provider documentation. Released 2026-08-07.

Why use it through MixRoute?

Swap the base URL, keep the grok-imagine-image-2.0 client

MixRoute serves grok-imagine-image-2.0 on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID grok-imagine-image-2.0 and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Vision input

grok-imagine-image-2.0 can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.
Available:

OpenAI SDK

Call grok-imagine-image-2.0 through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

09

FAQ

grok-imagine-image-2.0 returns up to 10 images per request.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.