본문으로 건너뛰기
Model logo

Grok Imagine 2.0 Image API

  • 텍스트-이미지
  • 이미지-이미지

Grok Imagine 2.0 Image은(는) Grok Imagine 모델 패밀리에 속합니다모든 Grok Imagine 모델 보기

탭하여 업로드PNG, JPG, WEBP, GIF · 최대 100MB
출력

생성된 image이(가) 여기에 표시됩니다

업데이트

What is Grok Imagine 2.0 Image?

Grok Imagine 2.0 Image is the quality-focused image model in the Grok Imagine family. Use xai/grok-imagine-2.0-image for final-quality text-to-image generation and reference-guided edits. Omit image_urls for a fresh generation, or pass 1 to 5 reference images to edit, composite, or restyle them while remaining on the same 2.0 model.

Since 18 October 2026 the model runs on xAI's API by default, which adds quality (low or medium), resolution (1k, 1.5k, or 2k), and fifteen aspect ratios including 21:9 and 5:2, each tier priced per image. Setting enable_nsfw: true switches the request to the grok.com channel instead: NSFW allowed, upsample_prompt honoured, a low 1k image in one of eight ratios (the five classic ones plus 4:3, 21:9, and 5:2).

The former enable_pro input is no longer supported. Speed and quality now have separate model IDs: xai/grok-imagine-1.0-image for speed and xai/grok-imagine-2.0-image for quality.

Grok Imagine 2.0 Image key features

Quality selected by model ID

Choose xai/grok-imagine-2.0-image directly. There is no Pro toggle and no hidden model switch in the request.

Text-to-image and reference editing

Generate from text alone or add 1 to 5 images for editing. References change the workflow, not the selected model.

Quality and resolution tiers

Pick quality low or medium and resolution 1k, 1.5k, or 2k. Six price points, from quick low 1k renders to medium 2k finals, each billed per image.

Fifteen aspect ratios

Beyond 1:1, 2:3, 3:2, 9:16, and 16:9: 4:3, 3:4, 2:1, 1:2, 21:9, 5:2, 20:9, 9:20, 19.5:9, and 9:19.5, or auto to let the model choose.

NSFW on the grok.com channel

Set enable_nsfw: true and the request runs on the grok.com channel with upsample_prompt honoured. That channel renders a low 1k image in one of eight ratios, including 21:9 and 5:2.

What Grok Imagine 2.0 Image is best for

  • Final campaign assets

    Use the 2.0 quality model after composition and messaging have been approved.

  • Reference-guided product work

    Combine up to 5 references while keeping the request on the quality model.

  • Portraits and hero imagery

    Choose 2:3, 3:2, or 16:9 for polished assets where visual fidelity matters more than iteration speed.

  • Two-stage workflows

    Draft with xai/grok-imagine-1.0-image, then move the winning prompt and references to this model for the quality pass.

API example

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "xai/grok-imagine-2.0-image",
    "input": {
      "prompt": "A cinematic product portrait with detailed studio lighting",
      "aspect_ratio": "2:3",
      "quality": "medium",
      "resolution": "2k"
    }
  }'

NSFW output goes through the grok.com channel instead, at the low 1k tier:

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "xai/grok-imagine-2.0-image",
    "input": {
      "prompt": "A cinematic portrait with detailed studio lighting",
      "aspect_ratio": "2:3",
      "enable_nsfw": true
    }
  }'

Successful submission returns a task_id. Poll GET /v1/tasks/<task_id> or provide a callback_url to receive the completed image as image_url.

FAQ

Grok Imagine 2.0 Image에 대해 자주 묻는 질문

Grok Imagine 2.0 Image is xAI's quality-focused image model for text-to-image generation and reference-guided editing.

Select xai/grok-imagine-2.0-image. The old enable_pro input has been removed, so quality is selected by model ID instead of a boolean parameter.

No. Passing 1 to 5 image_urls activates edit mode on Grok Imagine 2.0 Image; it never switches to another model.

quality is low (default) or medium, and resolution is 1k (default), 1.5k, or 2k. Each combination has its own per-image price, from low 1k up to medium 2k. Both fields are available when enable_nsfw is off, which is the default.

One. Every task produces exactly one image on both channels, billed at the chosen quality and resolution tier. Send several tasks for several candidates.

Fifteen plus auto, including 21:9, 5:2, 4:3, 3:4, 2:1, and the phone ratios 20:9 and 19.5:9. With enable_nsfw on, eight of them, 1:1, 2:3, 3:2, 4:3, 9:16, 16:9, 21:9, and 5:2, the same set grok.com offers for Quality 2.0.

The channel. With enable_nsfw: true the request runs on xAI's grok.com channel, which allows NSFW output and honours upsample_prompt, but renders a low-quality 1k image in one of eight ratios. Off or omitted, the request runs on xAI's API with the full quality, resolution, and aspect ratio surface. Input images are billed per image on the API channel.

Grok Imagine 2.0 Image 가이드 및 비교

이 모델을 실행하기 전에 가격, 제한 사항, 테스트된 결과물을 확인하세요.