画像xAI新規

Grok Imagine Image

表現力豊かなxAI画像生成、追加費用なしで2K対応

model: "grok-imagine-image"

APIドキュメントエージェント用ドキュメント

モード

1つのモデルID、すべてのモード。送信するフィールドがモードを決定し、価格はモードに従います。

モード選択方法標準価格
テキストから画像生成prompt
リクエスト例
{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.020

入力

必須

Prompt

オプション

Aspect Ratio

オプション

Resolution

詳細オプション (1)

メインコントロール以外のプロバイダー設定。空のままにするとモデルのデフォルト値が使用されます。

オプション

File format of the result.

結果

Grok Imagine Image出力例

このモデルの実際の結果です。実行してあなたの結果をここに表示させてください。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "Tornado funnel touching down on an empty Nebraska cornfield at golden hour, a ragged rope condensation column backlit by the low sun to a translucent amber, surrounding sky a deep bruised green-violet, wide horizontal cinematic weather drama, rows of flattened corn radiating outward from the contact point, photorealistic atmospheric turbulence, no people, elemental and terrifying scale"
  }
}'
Grok Imagine Image 1Grok Imagine Image 2Grok Imagine Image 3Grok Imagine Image 4Grok Imagine Image 5Grok Imagine Image 6