Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用
文生图xAI

Grok Imagine Image Quality Text to Image

API 文档
x-ai/grok-imagine-image/quality

Grok Imagine Image Quality 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.

试用该模型

Playground

打开 playground
输入
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.

Fill in prompt to run

Per run$0.05
结果
空闲

您的输出将显示在这里

完成输入,然后点击运行。

Grok Imagine Image Quality Text to Image

Grok Imagine Image (Quality) generates detailed images at 1K or 2K.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 8,000 characters.
aspect_ratio21:916:93:24:35:41:14:53:42:39:16—Output shape.
resolution1k / 2k1kSets the per-image rate.

Billing

$0.05 per image at 1K and $0.07 at 2K.

Request1k2k
One image$0.05$0.07

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/edit
  • xai/grok-imagine-image/edit
  • xai/grok-imagine-image/2.0/text-to-image
  • xai/grok-imagine-image/2.0/edit