grok

XAI: Grok Imagine Image 2.0

x-ai/grok-imagine-image-2.0
Context

66K

Input

text, image

Output

image

Tool calling

Not listed

About this model

Grok Imagine Image 2.0 is xAI's flagship autoregressive image generation and editing model powered by the Aurora engine. It introduces precise prompt following, sharper typography rendering, and advanced editing features like localized segmentation and Smart Resize. Supporting up to 3 reference images for consistent character and style workflows across multiple 1K or 2K aspect ratios, it is built for top-tier creative control.

Input modalities

text

Accepted as model input

image

Accepted as model input

Providers

Available routing options for this model through OneInfer.

Available

Image generation

$0.040 / image

Image generation

$0.060 / image

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Image generationlow · 1024x1024 · 1k$0.040 / image
Image generationmedium · 1024x1024 · 1k$0.060 / image
Image generationlow · 2048x2048 · 2k$0.060 / image
Image generationmedium · 2048x2048 · 2k$0.080 / image

Performance

Published evaluation results associated with this model.

Image Generation

Text-to-Image Arena1316

Image Editing

Image Edit Arena1439

API example

curl -X POST https://api.oneinfer.ai/v1/ula/generate-image \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "provider": "grok",
  "model": "x-ai/grok-imagine-image-2.0",
  "messages": [
    {
      "role": "user",
      "content": "A futuristic city skyline at dusk"
    }
  ],
  "number": 1,
  "size": "1024x1024",
  "quality": "standard"
}'