メインコンテンツへ移動

Nano Banana 2 をオンラインで:速い画像生成、1 枚 $0.055

Nano Banana 2 をブラウザで使える:1 枚 $0.055、512px〜4K、8:1 までの比率、参照画像は最大 5 枚。無料クレジットでも試せます。

バランス料金 $0.055/ 枚512 / 1K / 2K / 4K画像編集:対応新規ユーザーに $0.1

Nano Banana 2 は Google の Gemini 3.1 Flash Image モデルです。YingTu では 1 枚 $0.055 で、テキストからの生成と最大 5 枚の参照画像による編集に対応し、512px〜4K、1:1〜8:1 の比率で出力できます。普段の画像生成、背景の差し替え、複数サイズの素材づくりはまずこれで。

0.5K〜4K画像編集
モデル ID
gemini-3.1-flash-image
料金
$0.055/ 枚
出力サイズ
512 / 1K / 2K / 4K
API 形式
Gemini native
画像編集
対応
アスペクト比
auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 21:9 · 3:2 · 2:3 · 5:4 · 4:5 · 1:4 · 4:1 · 1:8 · 8:1

主な仕様(2026 年 10 月 5 日時点)

  • Nano Banana 2 は Google の Gemini 3.1 Flash Image(モデル ID gemini-3.1-flash-image)です。Google 公式の入口は Gemini アプリと Google AI Studio で、YingTu は LaoZhang API 経由で使う独立したサイトです。
  • 料金:1 枚 $0.055(512px〜4K、比率は 1:8〜8:1)。サブスクはなく、LaoZhang が 1 枚ごとに課金します。
  • 実測時間:YingTu での実際の生成 22 回の中央値 14 秒(最速 11 秒、最遅 19 秒)。
  • 画像編集:参照画像は最大 5 枚、1 枚 20 MB まで。
  • Gmail でログインした新規ユーザーには $0.1 の無料クレジット:Nano Banana 2 約 1 枚分。

すぐ使えるプロンプト

押すと、そのプロンプトと比率が入った状態で画像スタジオが開きます。

商品写真

4:5

A clean product photo of a matte ceramic coffee mug on a light stone table, soft window light, natural shadows, minimal styling.

風景写真

16:9

An editorial travel photograph of a mountain lake at sunrise, layered atmospheric depth, natural color, fine detail.

参照画像で編集

auto

Preserve the main subject and composition. Replace the background with a quiet modern studio using soft directional daylight.

YingTu で Nano Banana 2 を使って作った例

プロンプト集の実際の出力です。プロンプトと、その生成にかかった時間を添えています。開くと同じプロンプトで生成できます。

ペットのパッケージフィギュア · Nano Banana 2
ペットのパッケージフィギュア · 16 秒
プロンプト

Turn the pet in the reference image into a boxed collectible toy: matte vinyl finish, keeping its fur colors, markings and tongue-out expression. It sits in a clear bubble on cardboard printed with grass and bones, with a frisbee, a bone and a tiny dog bowl in the side compartments. The box reads "PARK HERO". White background, soft studio light, product photography.

このプロンプトを使う
ペットのハロウィン仮装 · Nano Banana 2
ペットのハロウィン仮装 · 15 秒
プロンプト

Dress the pet in the reference image in a pumpkin Halloween costume: an orange pumpkin suit with a little green leaf hat. It sits on front steps covered in fallen leaves, next to small pumpkins and a basket of candy. Warm early-evening light, blurred string lights behind, keep the breed, fur colors and markings. A cute holiday photo.

このプロンプトを使う
写真をアニメ風に · Nano Banana 2
写真をアニメ風に · 13 秒
プロンプト

Turn the reference photo into a Japanese anime illustration: clean line art, cel shading, large expressive eyes, keeping the short hair, denim jacket, white T-shirt and the pose by the window. Outside the window, a summer afternoon street with blue sky and clouds, bright and airy light. Keep the composition and expression of the original.

このプロンプトを使う
写真からステッカーシート · Nano Banana 2
写真からステッカーシート · 13 秒
プロンプト

Turn the person in the reference image into a sheet of 6 chibi stickers: waving hello, making a heart, sipping coffee, listening with headphones, falling asleep on a desk and jumping for joy. Each sticker has a thick white die-cut border and a slight drop shadow, keeping the hairstyle, denim jacket and facial features. Light grey background, neat grid, flat cartoon style, high resolution.

このプロンプトを使う
証明写真 · Nano Banana 2
証明写真
プロンプト

Make a standard ID photo of the person in the reference image: facing the camera, shoulders level, natural expression, dressed in a dark suit and white shirt with tidy hair. Plain blue background (#438EDB), even shadowless frontal light, a little space above the head, high resolution. Keep the face and features unchanged.

このプロンプトを使う
白背景のメイン画像 · Nano Banana 2
白背景のメイン画像
プロンプト

Cut out the product from the reference image and make an e-commerce main image: pure white background (#FFFFFF), product centered at about 80% of the frame, front view slightly from above, with a soft natural shadow underneath. Fix perspective and white balance, remove clutter and glare, keep the shape, color and print unchanged, sharp and high resolution.

このプロンプトを使う

Nano Banana 2 と Nano Banana Pro:同じプロンプト・同じ入力画像

4 つのプロンプトを YingTu で両モデルに実行しました。各 1 例なので、ベンチマークではなく参考として見てください。

図解カード

子ども向け図鑑風のシンプルな解説を指定。Pro はシンプルなまま、Nano Banana 2 は指定していない葉の断面図(ラベルの綴りは正確)まで描き込みました。

図解カード · Nano Banana Pro
Nano Banana Pro
図解カード · Nano Banana 2
Nano Banana 2 · 18 秒
プロンプト

An explainer card about photosynthesis: a cross-section illustration of a leaf in the middle, with arrows showing sunlight, carbon dioxide and water going in, and oxygen and glucose coming out. Title at the top "How Do Plants Eat?", a one-line summary at the bottom. Fresh green palette, children's science book style, clear and accurate labels.

アイソメトリックのミニチュア都市

どちらも指定した要素をすべて描きました。Nano Banana 2 は細部が多く木の台座も追加、Pro はより素直な仕上がり。

アイソメトリックのミニチュア都市 · Nano Banana Pro
Nano Banana Pro
アイソメトリックのミニチュア都市 · Nano Banana 2
Nano Banana 2 · 13 秒
プロンプト

A 45° isometric miniature city block: an old train station with a clock tower in the middle, surrounded by a café, a bookshop, a small park and a tram, with people and bikes on the streets. Detailed 3D render, soft evening light, warm streetlights just turning on, plain light background, like a fine tabletop model.

ビジネス用プロフィール写真

どちらも顔立ちを保ち、2 枚のビジネス写真はほぼ同じです。

入力画像(AI 生成)
入力画像(AI 生成)
ビジネス用プロフィール写真 · Nano Banana Pro
Nano Banana Pro
ビジネス用プロフィール写真 · Nano Banana 2
Nano Banana 2 · 14 秒
プロンプト

Turn the person in the reference image into a professional headshot: beige blazer, chest-up framing, body slightly angled and smiling at the camera. Blurred modern office background, soft key light from the left with a rim light, 85mm lens look, natural skin tones, same facial features. Suitable for LinkedIn and a résumé.

古い写真の修復とカラー化

プロンプトは顔をそのまま保つよう指定。Pro は女性の黒髪を保ち、Nano Banana 2 は明るい赤茶色に変えました。

入力画像(AI 生成)
入力画像(AI 生成)
古い写真の修復とカラー化 · Nano Banana Pro
Nano Banana Pro
古い写真の修復とカラー化 · Nano Banana 2
Nano Banana 2 · 18 秒
プロンプト

Restore this old photo: remove scratches, creases, mold spots and noise, fill in missing areas, sharpen it, then colorize it naturally with period-accurate skin, clothing and background colors. Keep every face, expression, pose and the composition exactly the same, no beautifying, so it looks like it was shot on color film at the time.

Nano Banana 2・Nano Banana Pro・GPT Image 2 のどれ?

モデル料金向いている場面
Nano Banana 2$0.055日常の生成や編集で速さを重視するとき:中央値 14 秒。指示以外の描き込みが増えることがあります。
Nano Banana Pro$0.09写真や細かい指示に忠実であるべきとき:古い写真の修復、実在の人物や商品、複雑なシーン。中央値 21 秒。
GPT Image 2 VIP$0.03正確なピクセルサイズ、画像内の文字、3 つの中で最安が必要なとき。最も遅く中央値 45 秒。

設定

ここにある設定はすべて YingTu の画像スタジオで使え、新規ユーザーは $0.1 分を無料で試せます。

向いている用途

  • • 普段の画像生成
  • • 参照画像での編集や背景の差し替え
  • • 1 つのプロンプトから複数サイズ

使う前に

  • • 生成時間は混雑状況で変わります。
  • • 編集の仕上がりは参照画像と指示の分かりやすさ次第です。
  • • 使う前に文字・ロゴ・手・細部を拡大して確認してください。
画像編集: 対応

API クイックスタート

画像スタジオと同じリクエスト形式です。コピーしてそのまま動きます。

Pythongemini-3.1-flash-image
import base64
import mimetypes
import os
import sys

import requests

API_KEY = os.environ.get("LAOZHANG_API_KEY")
if not API_KEY:
    raise RuntimeError("Set the LAOZHANG_API_KEY environment variable before running this example.")

API_URL = "https://api2.laozhang.ai/v1beta/models/gemini-3.1-flash-image:generateContent"
REQUEST_TIMEOUT_SECONDS = 500

headers = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json",
}

payload = {
    "contents": [{
        "parts": [
            {"text": "A clean product photo of a matte ceramic coffee mug on a light stone table, soft window light, natural shadows, minimal styling."}
        ]
    }],
    "generationConfig": {
        "responseModalities": ["IMAGE"],
        "imageConfig": {
            "imageSize": "2K"
        }
    }
}

try:
    response = requests.post(
        API_URL,
        headers=headers,
        json=payload,
        timeout=REQUEST_TIMEOUT_SECONDS,
    )
except requests.Timeout as error:
    print(
        "Request timed out after 500 seconds. The result status may be unknown; "
        "check call and billing logs before retrying.",
        file=sys.stderr,
    )
    raise SystemExit(1) from error

if response.status_code != 200:
    print(f"API error {response.status_code}: {response.text}", file=sys.stderr)
    raise SystemExit(1)

try:
    result = response.json()
except ValueError as error:
    print("API returned a non-JSON response.", file=sys.stderr)
    raise SystemExit(1) from error

if not isinstance(result, dict):
    print("API returned an unexpected JSON shape.", file=sys.stderr)
    raise SystemExit(1)

image_part = None
for candidate in result.get("candidates", []):
    for part in candidate.get("content", {}).get("parts", []):
        inline_data = part.get("inlineData") or part.get("inline_data")
        if inline_data and inline_data.get("data"):
            image_part = inline_data
            break
    if image_part:
        break

if not image_part:
    response_id = result.get("responseId", "not provided")
    print(f"No image data in response. responseId={response_id}", file=sys.stderr)
    raise SystemExit(1)

mime_type = image_part.get("mimeType") or image_part.get("mime_type") or "image/png"
encoded_image = image_part["data"]
if encoded_image.startswith("data:"):
    header, encoded_image = encoded_image.split(",", 1)
    mime_type = header[5:].split(";", 1)[0] or mime_type

extension_by_mime = {
    "image/jpeg": "jpg",
    "image/png": "png",
    "image/webp": "webp",
    "image/gif": "gif",
}
extension = extension_by_mime.get(mime_type, "bin")
output_path = f"output.{extension}"

with open(output_path, "wb") as output_file:
    output_file.write(base64.b64decode(encoded_image, validate=True))

print(f"Image saved: {output_path} ({mime_type})")

よくある質問

ここは Nano Banana 2 の公式サイトですか?

いいえ。Nano Banana 2 は Google の Gemini 3.1 Flash Image で、公式の入口は Gemini アプリと Google AI Studio です。YingTu は同じモデル(gemini-3.1-flash-image)を LaoZhang API で呼び出し、1 枚ごとに課金する独立したスタジオです。

Nano Banana 2 は無料ですか?

Gmail でログインした新規ユーザーに $0.1(Nano Banana 2 約 1 枚、または GPT Image 2 約 3 枚分)。その後は自分の LaoZhang キーで 1 枚 $0.055 です。

Nano Banana 2 の料金は?

YingTu では 1 枚 $0.055(512px〜4K)、サブスクなし。Nano Banana 2 Lite は $0.025(1K のみ)、Nano Banana Pro は $0.09 です。

Nano Banana 2 と Nano Banana Pro の違いは?

日常の画像なら多くの場合 Nano Banana 2 で十分です。安くて速い(ここでの中央値 14 秒対 21 秒)。写真や細かい指示への忠実さが必要なら Pro を。このページの例では、Nano Banana 2 は修復写真の人物の髪色を変え、シンプルな解説図に描き込みを足しました。

Nano Banana 2 で写真を編集できますか?

できます。参照画像を最大 5 枚(1 枚 20 MB まで)アップロードして変更点を書いてください。商品画像ツールの標準モデルでもあります。

対応サイズと比率は?

出力は 512px〜4K、比率は 1:1 から 21:9・4:1・8:1 のような横長・縦長まで。

自分のコードから呼び出せますか?

できます。このページのコードはスタジオが送るのと同じ LaoZhang API リクエストです。Nano Banana API ページに cURL と Node.js 版もあります。

Nano Banana 2 の使い方は?

このページ上部のボタンから画像スタジオを開くと Nano Banana 2 が選ばれた状態なので、プロンプトを書いて「画像を生成」を押すだけです。先に Google でログイン(Gmail の新規ユーザーは $0.1)するか LaoZhang の API キーを貼り付け、編集したいときは参照画像を最大 5 枚追加し、サイズと比率を選びます。1 枚ごとに課金されます。

Nano Banana 2.1 とは?Nano Banana 2 とどちらを使えばいい?

Nano Banana 2.1(モデル ID gemini-nano-banana-2.1)は YingTu に新しく加わった Nano Banana で、2026 年 10 月 9 日からスタジオの標準モデルです。1 枚 $0.045 で Nano Banana 2($0.055)より安く、1K・2K・4K、比率は同じく 8:1 まで、参照画像は最大 5 枚。ただし 512px の下書きサイズはありません。Nano Banana 2.1 のページでは、このページの 4 つのプロンプトを 2.1・Nano Banana 2・Pro で並べて比べています。その例では 2.1 のほうがプロンプトに忠実で、古い写真の修復でも変化がいちばん少なめでした。

更新日 2026-10-12