Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Grok Imagine Image 2.0 Text to Image

Grok Imagine Image 2.0 by xAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
Dokumentacja API
xai/grok-imagine-image/2.0/text-to-image

Grok Imagine Image 2.0 by xAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.

Wypróbuj model

Playground

Otwórz Playground
Wejście
Text description of the desired image.
The aspect ratio of the generated image.
Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.
Quality level of the generated image.
Ustawienia zaawansowane
The format of the generated image.
Wynik
Przykład
  1. 584e0e98-2988-4b27-9ce0-d87ba6bf1b4b.jpg

    Co chcesz zrobić dalej?

    Otwórz oryginał

Zapisany wynik przykładu. Nie zażądano nowego generowania.

Wyświetlany szacunkowy koszt uruchomienia: $0.06. Ostateczne opłaty wynikają z zasad rozliczania tego modelu poniżej.

Preferencje użytkowników

Arena

Oceny Elo na podstawie ślepych głosowań porównawczych, zestawione z innymi modelami obrazu i wideo.

Rankingi pochodzą z Artificial Analysis Arena

Tabela liderów
Tekst na obraz
Pozycja
#9 z 114
Elo
1167 ±12
Różnica do #1
−94

Arena tekst-na-obraz: użytkownicy wybierają lepszy z dwóch obrazów wygenerowanych z tego samego promptu, bez znajomości nazw modeli.

  1. #4GPT Image 2.5 Flare (max)OpenAI1210±10
  2. #5GPT Image 2 (high)OpenAINa SandBase1192±11
  3. #6Kling Image 4.0 (preview)KlingAI1180±13
  4. #7Nano Banana 2.1Google1176±12
  5. #8MAI-Image-2.6Microsoft AI1168±12
  6. #9Grok Imagine Image 2.0SpaceXAITen model1167±12
  7. #10Canva CraftCanva1158±13
  8. #11Nano Banana 2 (Gemini 3.1 Flash Image)GoogleNa SandBase1143±10
  9. #12Seedream 5.5ByteDance Seed1134±12
  10. #13Muse ImageMeta1126±11

Grok Imagine Image 2.0 Text to Image

Grok Imagine Image 2.0 generates images at two quality levels and 1K or 2K.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 8,000 characters.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Output shape.
resolution1k / 2k1kSets the per-image rate.
output_formatjpeg / pngjpegOutput file format.
qualitylow / mediummediumSets the per-image rate.

Billing

Per image: $0.04 (low) or $0.06 (medium) at 1K; $0.06 or $0.08 at 2K.

Request1k2k
low$0.04$0.06
medium$0.06$0.08

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/edit.