Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기
이미지를 이미지로xAI

Grok Imagine Image 2.0 Edit

API 문서
x-ai/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.

모델 사용해 보기

Playground

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.
Quality level of the edited image.
The aspect ratio of the generated image.
고급 설정
The format of the generated image.

Fill in prompt to run

Per run$0.06
결과
대기 중

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

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

All modes in one model

Grok Imagine Image 2.0 takes every input mode in one model and also serves the xAI API (https://api.sandbase.ai/grok/v1, model: grok-imagine-image-2.0).