GoogleFree
Imagen 4
APIモデル名: imagen-4
Imagen 4はGoogleの画像生成モデルで、Api.Airforceの統合APIで提供されています。 無料ティアでトークンごとのコストなしで利用できます。 1つのキーでOpenAI互換APIを通じてアクセスでき、Api.Airforce上の他の65以上のモデルと併せて利用できます。
料金
仕様
- プロバイダー
- タイプ
- 画像生成モデル
APIでImagen 4を利用する
OpenAI互換 — 任意のOpenAI SDKをhttps://api.airforce/v1に向け、imagen-4をモデルとして渡してください。
cURL
curl https://api.airforce/v1/images/generations \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imagen-4",
"prompt": "a red panda coding"
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
img = client.images.generate(model="imagen-4", prompt="a red panda coding")
print(img.data[0].url)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const img = await client.images.generate({ model: "imagen-4", prompt: "a red panda coding" });
console.log(img.data[0].url);リアルタイムパフォーマンス
このモデルを提供するサプライヤー全体での実際のスループットとレイテンシ。
リアルタイムメトリクスを読み込み中…
関連モデル
Gemini 2.5 FlashGoogle · ¥64 / 1MGemini 2.5 ProGoogle · ¥112 / 1MGemini 3 FlashGoogle · ¥24 / 1MGemini 3 ProGoogle · ¥144 / 1MGemini 3.1 Flash LiteGoogle · ¥22 / 1MGemini 3.1 ProGoogle · ¥144 / 1MGemini 3.5 FlashGoogle · ¥192 / 1MGemma3 270mGoogle · FreeImagen 3Google · FreeNano Banana 2Google · ¥4,796 / 1MNano Banana ProGoogle · ¥6,395 / 1MClaude 3 7 Ch ExpAnthropic · Free