Imagen 4
Generate photorealistic images with crisp detail, accurate text rendering, and flexible aspect ratios.
MuAPIでGoogle Imagen 4にアクセス:完璧なテキスト描画と高解像度フォトリアリズムを実現するStandard、Fast、Ultra。
Generate photorealistic images with crisp detail, accurate text rendering, and flexible aspect ratios.
Create high-quality draft images quickly for storyboards, ideation, and rapid creative iteration.
Produce production-level photorealistic imagery with rich textures, precise lighting, and detailed compositions.
Imagen 4は、Googleの最新拡散モデル研究を体現しており、画像内での正確な文字描画や複雑な照明描写において圧倒的な強みを持ちます。
MuAPIは、速度優先のFast、バランスの良いStandard、最高精度のUltraの3段階を提供します。
写真レンズの光学特性、被写界深度、自然光の正確なシミュレーション。
看板、ラベル、タイトル文字をスペルミスなくクリーンに描画。
2秒の高速生成から大判印刷向けの最高画質まで自在に選択。
x-api-keyヘッダーを使用してリクエストを送信し、タスクIDを保存して共有ポーリングエンドポイントから完了結果を取得します。
curl -X POST https://api.muapi.ai/api/v1/google-imagen4 \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A richly detailed glasshouse at sunrise, dew on tropical leaves, editorial photography","aspect_ratio":"16:9","num_images":1}'
# Response: {"request_id":"REQUEST_ID"}コード例ではプロンプト、アスペクト比を指定して標準Imagen 4を呼び出しています。別のティアが必要な場合はFastまたはUltraへ切り替えられます。
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \ -H "x-api-key: YOUR_API_KEY"
タスク完了後に返却された結果レスポンスから生成メディアURLを取得します。
Muapiではgoogle-imagen4、google-imagen4-fast、google-imagen4-ultraの3つのエンドポイントが提供されています。
Imagen 4 Fastは1回$0.02の低コストな高速試作向け、Imagen 4は1回$0.03の標準ティア、Imagen 4 Ultraは1回$0.06の最高品質・高再現性ティアです。
全エンドポイントでpromptが必須です。3つとも16:9、9:16、1:1、4:3、3:4のaspect_ratioを受け付け、Imagen 4はオプションでnegative_promptも受け付けます。
はい。現在のスキーマではImagen 4、Fast、Ultraの全モデルで16:9、9:16、1:1、4:3、3:4がサポートされています。
Imagen 4は1回$0.03、Imagen 4 Fastは$0.02、Imagen 4 Ultraは$0.06です。3つのエンドポイントすべてが非同期タスク実行を使用します。
Googleの高度なフォトリアル画像生成を数分でアプリに統合できます。