Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す
画像から画像xAI

Grok Imagine Image Edit

APIドキュメント
x-ai/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 を開く
入力
Text description of the desired 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.
Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.
The aspect ratio of the generated image.
詳細設定
The format of the generated image.

Fill in prompt to run

Per run$0.02
結果
待機中

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

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:916:93:24:35:41:14:53:42:39: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