Grok Imagine Image Edit

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

Grok Imagine Image 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.
Additional Settings More

Customize your input with more control.

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

List of URLs of the images to edit. A maximum of 3 images are supported.
Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution. Allowed values: 1k, 2k.
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.
The format of the generated image. Allowed values: jpeg, png.
Result
Example
  1. b2da9da9-9e53-44f9-86fd-2363ac37b163.jpg

    What would you like to do next?

    Open original

Saved example result. No new generation was requested.

Displayed run estimate: $0.02. 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
#26 of 77
Elo
1073 ±13
Gap to #1
−126

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

  1. #21MAI-Image-2.5-FlashMicrosoft AI1091±13
  2. #22Qwen-Image-3.0-ProAlibaba1091±13
  3. #23Fibo 2.0Bria1088±14
  4. #24Qwen-Image-2.1Alibaba1081±13
  5. #25Luma UNI 1 MaxLuma Labs1079±13
  6. #26grok-imagine-imageSpaceXAIThis model1073±13
  7. #27FLUX 3 Image KleinBlack Forest Labs1072±14
  8. #28Ideogram 4.5 (High)Ideogram1070±15
  9. #29Qwen-Image-2.1-ProAlibaba1069±13
  10. #30Qwen-Image-3.0AlibabaOn SandBase1068±13

Grok Imagine Image Edit

Grok Imagine Image edit (standard): fast, low-cost image edits.

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.
output_formatjpeg / pngjpegOutput file format.

Billing

$0.02 per output image plus $0.002 per input image.

RequestPrice
1 input image$0.022
3 input images$0.026

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