Grok Imagine Image 2.0 Text to Image

Grok Imagine Image 2.0 by xAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
xai/grok-imagine-image/2.0/text-to-image

Grok Imagine Image 2.0 by xAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.

Try the model

Playground

Open playground
Input
Text description of the desired image.
Additional Settings More

Customize your input with more control.

The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution. Allowed values: 1k, 2k.
The format of the generated image. Allowed values: jpeg, png.
Quality level of the generated image. Allowed values: low, medium.
Result
Example
  1. 584e0e98-2988-4b27-9ce0-d87ba6bf1b4b.jpg

    What would you like to do next?

    Open original

Saved example result. No new generation was requested.

Displayed run estimate: $0.06. Final charges follow the model’s billing rules below.

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Text to Image
Rank
#5 of 106
Elo
1166 ±12
Gap to #1
−56

Text-to-image arena: people pick the better of two images generated from the same prompt, without seeing the model names.

  1. #1GPT Image 2.5 Sunburst (max)OpenAIOn SandBase1222±10
  2. #2GPT Image 2.5 Flare (max)OpenAIOn SandBase1207±10
  3. #3GPT Image 2 (high)OpenAIOn SandBase1186±11
  4. #4Nano Banana 2.1Google1176±12
  5. #5Grok Imagine Image 2.0SpaceXAIThis model1166±12
  6. #6MAI-Image-2.6Microsoft AI1166±12
  7. #7Nano Banana 2 (Gemini 3.1 Flash Image)GoogleOn SandBase1140±10
  8. #8Muse ImageMeta1127±11
  9. #9GPT Image 1.5 (high)OpenAIOn SandBase1123±11
  10. #10MAI-Image-2.6-FlashMicrosoft AI1119±12

Grok Imagine Image 2.0 Text to Image

Grok Imagine Image 2.0 generates images at two quality levels and 1K or 2K.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 8,000 characters.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Output shape.
resolution1k / 2k1kSets the per-image rate.
output_formatjpeg / pngjpegOutput file format.
qualitylow / mediummediumSets the per-image rate.

Billing

Per image: $0.04 (low) or $0.06 (medium) at 1K; $0.06 or $0.08 at 2K.

Request1k2k
low$0.04$0.06
medium$0.06$0.08

Failed runs are not charged.

Prompting

  • Quote any text that must appear.

Limits

  • One output image per request.

Also on SandBase

Other Grok Imagine Image endpoints: xai/grok-imagine-image/quality, xai/grok-imagine-image/quality/edit, xai/grok-imagine-image/edit, xai/grok-imagine-image/2.0/edit.