メインコンテンツへスキップ

AIモデル値

Aether APIで使用可能なAIモデルと各モデルの特性を説明します。

AiModelType列挙型

画像生成リクエストに使用できるAIモデルリストです。

モデル値説明
GPT Image 1.5OpenAI GPT Image 1.5モデル
Grok ImaginexAI Grok Imagineモデル
Grok Imagine ProxAI Grok Imagine Proモデル
Nano BananaNano Bananaモデル
Nano Banana 2Nano Banana 2モデル
Nano Banana ProNano Banana Proモデル

参照画像制限

各モデルごとにref_imagesパラメータに許可される最大画像数が異なります。

モデル最大参照画像数
GPT Image 1.510個
Grok Imagine5個
Grok Imagine Pro1個
Nano Banana10個
Nano Banana 210個
Nano Banana Pro10個

リクエスト例

基本生成

curl -X POST "https://api.aetherforgeai.com/public/v1/generate" \
-H "Authorization: Bearer your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A beautiful sunset over mountains",
"ai_model": "GPT Image 1.5"
}'

参照画像含む (Grok Imagine Pro)

curl -X POST "https://api.aetherforgeai.com/public/v1/generate" \
-H "Authorization: Bearer your_api_key_here" \
-F "prompt=A cat in the style of the reference image" \
-F "ai_model=Grok Imagine Pro" \
-F "[email protected]"

参照画像含む (GPT Image 1.5 - 最大10個)

curl -X POST "https://api.aetherforgeai.com/public/v1/generate" \
-H "Authorization: Bearer your_api_key_here" \
-F "prompt=A landscape combining these styles" \
-F "ai_model=GPT Image 1.5" \
-F "[email protected]" \
-F "[email protected]" \
-F "[email protected]"

エラーレスポンス

400 Bad Request - 参照画像超過

モデルの最大参照画像数を超過した場合に返されます。

Grok Imagine Pro例:

{
"detail": "The Grok Imagine Pro model supports up to 1 ref_images."
}

一般制限例:

{
"detail": "ref_images supports up to 10 images only"
}

モデル選択ガイド

使用ケース推奨モデル
高品質一般画像生成GPT Image 1.5
スタイル参照が必要な場合Grok Imagine (最大5個)
単一参照画像で高品質結果Grok Imagine Pro
複数参照画像が必要な場合Nano Banana系 (最大10個)

関連ドキュメント