Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

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.
Docs da 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.

Testar o modelo

Playground

Abrir playground
Entrada
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.
Configurações avançadas
The format of the generated image.
Resultado
Exemplo
  1. 584e0e98-2988-4b27-9ce0-d87ba6bf1b4b.jpg

    O que você gostaria de fazer em seguida?

    Abrir original

Resultado do exemplo salvo. Nenhuma nova geração foi solicitada.

Estimativa de execução exibida: $0.06. As cobranças finais seguem as regras de cobrança do modelo abaixo.

Preferência humana

Arena

Classificações Elo de votos cegos lado a lado, comparadas com outros modelos de imagem e vídeo.

Classificações obtidas de Artificial Analysis Arena

Classificação
Texto para imagem
Posição
#9 de 114
Elo
1167 ±12
Diferença para o #1
−94

Arena de texto para imagem: as pessoas escolhem a melhor de duas imagens geradas a partir do mesmo prompt, sem ver os nomes dos modelos.

  1. #4GPT Image 2.5 Flare (max)OpenAI1210±10
  2. #5GPT Image 2 (high)OpenAINo 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.0SpaceXAIEste modelo1167±12
  7. #10Canva CraftCanva1158±13
  8. #11Nano Banana 2 (Gemini 3.1 Flash Image)GoogleNo 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.