Nano Banana Pro テキストから画像

google/nano-banana-2/text-to-image

Gemini 3.0 Pro Image。4K 高画質、多言語テキスト描画、プロ仕様のカメラ制御に対応したハイエンドモデル。

サンプル

Nano Banana Pro テキストから画像 example 1
Nano Banana Pro テキストから画像 example 2
Nano Banana Pro テキストから画像 example 3

パラメータ

名前既定制約説明
prompt *プロンプトtextarea≤ 5000 chars生成したい画像を説明してください。被写体、スタイル、色、構図について具体的に記述してください。
aspect_ratioアスペクト比select16:91:1 | 3:2 | 2:3 | 3:4 | 4:3 | 4:5 | 5:4 | 9:16 | …生成する画像のアスペクト比を選択してください。
resolution解像度select1k512 | 1k | 2k | 4k出力画像の解像度を選択してください。

API

統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/google/nano-banana-2/text-to-image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A serene mountain landscape at sunrise, with snow-covered peaks and a crystal-clear reflective lake in the foreground. Include vibrant orange and pink hues in the sky, realistic textures, and detailed trees on the slopes.",
    "aspect_ratio": "16:9",
    "resolution": "1k"
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/google/nano-banana-2/text-to-image",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A serene mountain landscape at sunrise, with snow-covered peaks and a crystal-clear reflective lake in the foreground. Include vibrant orange and pink hues in the sky, realistic textures, and detailed trees on the slopes.",
            "aspect_ratio": "16:9",
            "resolution": "1k"
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/google/nano-banana-2/text-to-image", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A serene mountain landscape at sunrise, with snow-covered peaks and a crystal-clear reflective lake in the foreground. Include vibrant orange and pink hues in the sky, realistic textures, and detailed trees on the slopes.",
      "aspect_ratio": "16:9",
      "resolution": "1k"
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

ドキュメント

Google Nano Banana 2

プロ品質の画像生成を瞬時に実現

Google Nano Banana 2(Gemini 3.1 Flash Image)は、高品質なビジュアルを低遅延で求めるクリエイター向けに設計された最先端のテキストから画像生成AIモデルです。512pxから4Kの解像度に対応し、リアルな画像生成に優れています。テキストレンダリングの改善、最大5キャラクターの一貫性、現実世界の知識統合を特徴とし、コールドスタートなしで手頃な価格でプロフェッショナルな用途に最適化されています。

🚀 主な特徴

  • 瞬時の生成速度:数秒で高品質な画像を生成し、遅延を最小限に抑えます。
  • 多解像度対応:0.5K、1K、2K、4Kの解像度で出力可能。
  • 柔軟なアスペクト比:1:1、16:9、9:16など、幅広いアスペクト比に対応。
  • 強化されたテキストレンダリング:テキストの明瞭さを向上させ、最大5キャラクターの一貫性を実現。
  • 現実世界の知識統合:リアルタイムのウェブ検索や画像検索をオプションで利用可能。
  • 形式選択:PNGまたはJPEG形式で画像を出力可能。

🛠️ 技術仕様

仕様詳細
モデル構造Gemini 3.1 Flash Image
入力形式テキストプロンプト
出力形式PNG、JPEG
解像度0.5K、1K(デフォルト)、2K、4K
アスペクト比1:1、3:2、2:3、3:4、4:3、4:5、5:4、9:16、16:9、21:9、1:4、4:1、1:8、8:1
ウェブ検索オプション(デフォルト:無効)
画像検索オプション(デフォルト:無効)
レイテンシ瞬時の生成速度

プロンプト例

  1. プロンプト:"夕焼けの未来都市、空飛ぶ車とネオンライトがある風景。"
  2. プロンプト:"森の中に立つフルアーマーの中世騎士の肖像。"

💰 料金

解像度料金(USD)追加機能
0.5K$0.045
1K$0.07
2K$0.105
4K$0.14
ウェブ検索+$0.014
画像検索+$0.014

💡 主な利用ケース

  • 映画的な映像:リアルな光効果や雰囲気のあるシーンを生成。
  • キャラクターポートレート:詳細で一貫性のあるキャラクターイラストを作成。
  • ソーシャルメディアコンテンツ:各プラットフォーム向けの視覚的に魅力的な画像を生成。
  • マーケティング&広告:広告キャンペーン向けのプロフェッショナルな画像をデザイン。
  • コンセプトアート:高品質なレンダリングで創造的なアイデアを視覚化。

🔗 関連モデル

  • Nano Banana Pro Text-to-Image:プロ品質の出力を強化。
  • Nano Banana Pro Edit:高度な画像編集機能。
  • Nano Banana 2 Edit:テキスト指示による画像編集。

関連モデル

xAI Grok Imagine Image v2.0 テキストから画像生成
Text to ImageX Ai

xAI Grok Imagine Image v2.0 テキストから画像生成

xAI Grok Imagine Image V2.0 Text-to-Image は、テキストプロンプトから高品質な画像を生成できます。アスペクト比、解像度、品質を設定でき、クリエイティブ制作、SNS コンテンツ、マーケティング素材、制作ワークフローに適しています。すぐに使える REST 推論 API を提供し、高性能、コールドスタートなし、手頃な価格で利用できます。

$0.080 / 1 回
Qwen Image 3.0 Pro テキストから画像生成
Text to ImageQwen Image 3.0 Pro

Qwen Image 3.0 Pro テキストから画像生成

Qwen Image 3.0 Pro は、優れた画質と高度なプロンプト理解を備えたプロ向けのテキストから画像生成モデルです。最大 2k に対応。すぐに使える REST inference API を提供し、高性能・コールドスタートなし・手頃な価格を実現しています。

$0.080 / 1 回
OpenAI GPT Image 2 テキストから画像生成
Text to ImageOpenAI

OpenAI GPT Image 2 テキストから画像生成

OpenAI の GPT Image 2 テキストから画像生成モデルは、自然言語プロンプトから高品質な画像を生成します。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。

$0.660 / 1 回
OpenAI GPT Image 2 Edit 画像編集
Text to ImageOpenAI

OpenAI GPT Image 2 Edit 画像編集

OpenAI の GPT Image 2 Edit は、自然言語の指示と1枚以上の参照画像を使用して画像編集を可能にします。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。

$0.660 / 1 回
Nami Z-Image T2I Spicy
Text to Image

Nami Z-Image T2I Spicy

テキストプロンプトから画像を生成します。幅、高さ、プロンプト最適化、シードを設定できます。

$0.020 / 1 回
Nano Banana テキストから画像
Text to ImageGoogle

Nano Banana テキストから画像

Gemini 2.5 Flash Image。軽量かつ高速。大量生成やプロトタイピングに最適な、最も手頃なモデル。

$0.040 / 1 回
Nano Banana Pro テキストから画像
Text to ImageGoogle

Nano Banana Pro テキストから画像

Gemini 3.0 Pro Image。4K 高画質、多言語テキスト描画、プロ仕様のカメラ制御に対応したハイエンドモデル。

$0.140 / 1 回
Google Nano Banana Lite テキストから画像生成 API
Text to ImageGoogle

Google Nano Banana Lite テキストから画像生成 API

Google Nano Banana 2 Lite Text to Image は、テキストのプロンプトから高品質な画像を低レイテンシで生成できます。柔軟なアスペクト比に対応し、クリエイティブ制作や実運用のワークフローで素早く画像を作成できます。すぐに使える REST 推論 API、優れたパフォーマンス、コールドスタートなし、手頃な価格。

$0.040 / 1 回