Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す
テキストから画像xAI

Grok Imagine Image 2.0 Text to Image

APIドキュメント
x-ai/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.

モデルを試す

プレイグラウンド

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.
Quality level of the generated image.
詳細設定
The format of the generated image.

Fill in prompt to run

Per run$0.06
結果
待機中

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

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

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).