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

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

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

Performance & Benchmarks

Independent evaluations and live cluster operational metrics

We haven’t measured this model yet. Published academic results are under Academic Evaluations.

API Guide

API docs
  1. 1

    Generate your access token

    Use your API key to generate the JWT access token required by the Models API.

  2. 2

    Add the JWT token

    Copy the generated JWT token and replace JWT_TOKEN in the example below.

  3. 3

    Check your credits

    If your balance is too low, before calling the model.

  4. 4

    Run the API example

    Choose your preferred language, copy the example, and send your first model request.

    curl -X POST https://staging-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"
    }'

Community Model Reviews & Ratings

Verified visitor & developer evaluations on XAI: Grok Imagine Image 2.0's real-world intelligence, code accuracy, and speed

4.8
Community consensus rating
Top Community Consensus Tags:
Be the first to rate and tag this model's coding and reasoning strengths!

No community reviews yet

Be the first to share developer feedback on XAI: Grok Imagine Image 2.0's latency, code accuracy, and reliability in production.