Grok Imagine Image Quality Edit

Grok Imagine Image Quality Edit is xAI's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.
API docs
xai/grok-imagine-image/quality/edit

Grok Imagine Image Quality Edit is xAI's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

Try the model

Playground

Open playground
Input
Text description of the desired image.
Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.
The aspect ratio of the generated image.
Advanced settings

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

List of URLs of the images to edit. A maximum of 3 images are supported.
Result
Example
  1. 7686883d-70d4-4a65-a1bd-e38f05ff34fc.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
Image Editing
Rank
#24 of 83
Elo
1098 ±12
Gap to #1
−112

Image-editing arena: people pick the better of two edits of the same image and instruction, without seeing the model names.

  1. #19MAI-Image-2.5-ProMicrosoft AIOn SandBase1124±12
  2. #20FLUX 3 ImageBlack Forest Labs1119±13
  3. #21GPT Image 1.5 (high)OpenAIOn SandBase1118±12
  4. #22Grok Imagine Image 2.0SpaceXAIOn SandBase1117±12
  5. #23Nano Banana Pro (Gemini 3 Pro Image)GoogleOn SandBase1108±12
  6. #24grok-imagine-image-qualitySpaceXAIThis model1098±12
  7. #25HunyuanImage 3.5 (Preview)Tencent1092±13
  8. #26Qwen-Image-3.0-ProAlibaba1091±12
  9. #27MAI-Image-2.5-FlashMicrosoft AI1088±12
  10. #28Fibo 2.0Bria1085±13

Grok Imagine Image Quality Edit

Grok Imagine Image (Quality) edit: change or combine images with an instruction.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 8,000 characters.
imagesimage URL[]—Images to edit or combine, Image 1, Image 2, …
resolution1k / 2k1kSets the per-image rate.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Output shape.

Billing

$0.05 per output image at 1K and $0.07 at 2K, plus $0.01 per input image.

Request1k2k
1 input image$0.06$0.08
3 input images$0.08$0.10

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