Grok Imagine Image Quality Text to Image

Grok Imagine Image Quality 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.
API docs
xai/grok-imagine-image/quality

Grok Imagine Image Quality 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.
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.
Result
Example
  1. d0dd0f46-291a-4e76-ac82-efcb81be4216.jpg

    What would you like to do next?

    Open original

Saved example result. No new generation was requested.

Displayed run estimate: $0.05. 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
#20 of 106
Elo
1049 ±9
Gap to #1
−173

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

  1. #15Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)GoogleOn SandBase1107±10
  2. #16Seedream 5.0 ProByteDance SeedOn SandBase1100±11
  3. #17Qwen-Image-3.0-ProAlibaba1095±12
  4. #18Qwen-Image-3.0AlibabaOn SandBase1070±12
  5. #19Qwen-Image-2.1-ProAlibaba1056±12
  6. #20grok-imagine-image-qualitySpaceXAIThis model1049±9
  7. #21FLUX 3 Image KleinBlack Forest Labs1043±12
  8. #22Qwen-Image-2.1Alibaba1042±12
  9. #23Fibo 2.0Bria1039±12
  10. #24Krea 2 LargeKrea1034±9

Grok Imagine Image Quality Text to Image

Grok Imagine Image (Quality) generates detailed images at 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.

Billing

$0.05 per image at 1K and $0.07 at 2K.

Request1k2k
One image$0.05$0.07

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/edit, xai/grok-imagine-image/edit, xai/grok-imagine-image/2.0/text-to-image, xai/grok-imagine-image/2.0/edit.