Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

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.
API 文件
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.

試用這個模型

Playground

開啟 playground
輸入
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.
進階設定

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.
結果
範例
  1. b2da9da9-9e53-44f9-86fd-2363ac37b163.jpg

    接下來您想做什麼?

    開啟原始檔

已儲存的範例結果。未要求新的生成。

顯示的執行預估:$0.02。最終費用將依下方模型計費規則計算。

人工偏好

Arena

由盲測並排投票得出的 Elo 評分,與其他圖片與影片模型相比。

排名來源:Artificial Analysis Arena

排行榜
圖片編輯
排名
#33 共 85
Elo
1075 ±12
與第 1 名差距
−136

圖片編輯 arena:使用者在不看模型名稱的情況下,從同一張圖片和指令的兩種編輯結果中選出較佳者。

  1. #28Qwen-Image-3.0-ProAlibaba1092±12
  2. #29MAI-Image-2.5-FlashMicrosoft AI1090±12
  3. #30Fibo 2.0Bria1086±13
  4. #31Qwen-Image-2.1Alibaba1082±13
  5. #32Luma UNI 1 MaxLuma Labs1078±12
  6. #33grok-imagine-imageSpaceXAI此模型1075±12
  7. #34FLUX 3 Image KleinBlack Forest Labs1069±13
  8. #35Qwen-Image-3.0Alibaba在 SandBase 上1069±12
  9. #36Qwen-Image-2.1-ProAlibaba1068±13
  10. #37Ideogram 4.5 (High)Ideogram1065±14

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.