Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Grok Imagine Image 2.0 Edit

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

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

Testar o modelo

Playground

Abrir playground
Entrada
Text description of the desired image.
Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.
Quality level of the edited image.
The aspect ratio of the generated image.
Configurações avançadas

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

List of URLs of the images to edit. A maximum of 3 images are supported.
The format of the generated image.
Resultado
Exemplo
  1. 4c051d8c-762c-4b5a-b14e-bf612672acc0.jpg

    O que você gostaria de fazer em seguida?

    Abrir original

Resultado do exemplo salvo. Nenhuma nova geração foi solicitada.

Estimativa de execução exibida: $0.06. As cobranças finais seguem as regras de cobrança do modelo abaixo.

Preferência humana

Arena

Classificações Elo de votos cegos lado a lado, comparadas com outros modelos de imagem e vídeo.

Classificações obtidas de Artificial Analysis Arena

Classificação
Edição de imagem
Posição
#22 de 85
Elo
1118 ±12
Diferença para o #1
−93

Arena de edição de imagem: as pessoas escolhem a melhor de duas edições da mesma imagem e instrução, sem ver os nomes dos modelos.

  1. #17Nano Banana 2 (Gemini 3.1 Flash Image)GoogleNo SandBase1126±12
  2. #18MAI-Image-2.5Microsoft AINo SandBase1124±12
  3. #19MAI-Image-2.5-ProMicrosoft AINo SandBase1124±12
  4. #20Krea 3 (Fast)Krea1122±13
  5. #21FLUX 3 ImageBlack Forest Labs1119±13
  6. #22Grok Imagine Image 2.0SpaceXAIEste modelo1118±12
  7. #23GPT Image 1.5 (high)OpenAINo SandBase1118±12
  8. #24Nano Banana Pro (Gemini 3 Pro Image)GoogleNo SandBase1111±12
  9. #25HiDream-O1-Edit-2.0HiDream1109±13
  10. #26grok-imagine-image-qualitySpaceXAINo SandBase1096±12

Grok Imagine Image 2.0 Edit

Grok Imagine Image 2.0 edit: change or combine images at two quality levels.

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

Per output image: $0.04 (low) or $0.06 (medium) at 1K; $0.06 or $0.08 at 2K; plus $0.01 per input image.

Request1k2k
low, 1 input$0.05$0.07
medium, 1 input$0.07$0.09

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/text-to-image.