コンテンツへスキップ

Nano Banana 2

統合

モデルID nano-banana-2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/nano-banana-2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "resolution": "1K"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエスト: $0.08 80 APIクレジット このページで実行

APIキーを取得
Google テキストから画像 4K出力4Kまで #typography#fast#wide-formats

高速な0.5Kドラフトから4Kまで対応し、極端なアスペクト比とウェブグラウンディングを備えたGoogleの高速Gemini画像モデル

例

出力 · 約19 s
Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through ...

プロンプトHyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.

1K$0.08 · 80 APIクレジット

X上の@Strength04_Xによるプロンプト

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須 1538 / 50000

画像生成用のテキスト指示。

resolution

出力画像の解像度。

thinking_level

'minimal'または'high'を選択すると、そのレベルのモデル思考を有効にし、思考内容を生成に含めます。レベルを未設定にすると無効のままです。

デフォルト auto

生成画像のアスペクト比を明示的に選択します。4:1、1:4、8:1、1:8の極端な比率も指定できます。"auto"を選ぶと、モデルがプロンプトに基づいて選択します。

num_images デフォルト 1

生成する画像の枚数。

詳細設定 system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

リクエスト全体に適用する任意のペルソナおよび出力スタイルの指示。Geminiにはシステム指示として、OpenAI互換プロバイダーにはシステムメッセージとして渡されます。値が空の場合、この指示は送信されません。

output_format デフォルト png

結果の画像のファイル形式。

safety_tolerance デフォルト 4

コンテンツモデレーションの許容度を、最も制限の少ないレベル6から、ほとんどのコンテンツをブロックする最も厳しいレベル1までで設定します。

乱数生成を初期化するシード値。

POST /run/nano-banana-2?wait=20 見積もり → $0.08
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/nano-banana-2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "resolution": "1K"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Doitongで作成

DoitongコミュニティがNano Banana 2で作成した公開作品です。ワンクリックでプロンプトを再利用できます。

公開作品:16件
Art style: Cinematic Realistic. Крупный план Джулса, который с философским видом накалывает кусок...

Art style: Cinematic Realistic. Крупный план Джулса, который с философским видом накалывает кусок блина на вилку. Он смотрит на Винни с легким снисхождением. Винни на заднем плане выглядит взбешенным, его лицо искажено от злости. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT...

Art style: 3D Pixar. Мальчик раскрывает упаковку и находит внутри красивую книгу с историями о пр...

Art style: 3D Pixar. Мальчик раскрывает упаковку и находит внутри красивую книгу с историями о приключениях. Мама сидит рядом и улыбается. Мягкий свет, радость и уют. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering directive — it overrides any...

Art style: 3D Pixar. Стойка ресепшн в дорогом отеле. Соня в униформе натянуто улыбается раздражен...

Art style: 3D Pixar. Стойка ресепшн в дорогом отеле. Соня в униформе натянуто улыбается раздраженному гостю. Рядом стоит ее коллега с сочувствующим видом. Стиль Pixar, обстановка строгая и деловая, освещение холодное. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar. Взрослый персонаж опускается на одно колено перед ребенком в центре загромож...

Art style: 3D Pixar. Взрослый персонаж опускается на одно колено перед ребенком в центре загроможденной комнаты. Она мягко касается плеча девочки, глядя ей прямо в глаза с доброй улыбкой. Вокруг них разбросаны плюшевые медведи и детали конструктора. Камера на уровне глаз персонажей, создавая...

Art style: 3D stylized animation. Девушка со светлыми волосами в черном платье стоит у красной ко...

Art style: 3D stylized animation. Девушка со светлыми волосами в черном платье стоит у красной ковровой дорожки. Ее глаза широко раскрыты от удивления, рот слегка приоткрыт. Теплое освещение падает на ее лицо. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar, cinematic lighting, glossy materials. Оникс и Жемчужина с маленькой белой со...

Art style: 3D Pixar, cinematic lighting, glossy materials. Оникс и Жемчужина с маленькой белой собачкой на поводке стоят на улице перед очень богатым, современным особняком с большими окнами. Вечернее освещение, теплый свет из окон дома. 3D Pixar стиль, высокая детализация....

Art style: 3D Pixar. A cinematic close-up of a 3-year-old boy named Maxim looking guilty and clut...

Art style: 3D Pixar. A cinematic close-up of a 3-year-old boy named Maxim looking guilty and clutching his stomach, large expressive eyes filled with regret, soft warm indoor lighting with a shallow depth of field. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar cinematic. In the same chocolate hallway, Kai, the mango boy from the poster,...

Art style: 3D Pixar cinematic. In the same chocolate hallway, Kai, the mango boy from the poster, walks past Luna. He suddenly stops in his tracks and looks at her, completely amazed. Soft cinematic lighting, 3D Pixar style. Он с ее не сводит глаз. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL...

Nano Banana 2について

画像内のテキストや複数オブジェクトのシーンにも対応する、Nano Banana Proのより高速で低価格な姉妹モデルです。 出力は0.5Kプレビューから4Kまでで、バナーや縦長ストーリー向けにアスペクト比1:8~8:1に対応します。 任意のウェブ検索で画像を最新の事実に基づかせることができ、任意の高い思考レベルでは複雑な レイアウトを描画前に設計します。1リクエストにつき最大4枚です。

パラメータ

正式名称またはネイティブ名のいずれか一方を送信してください。両方は送信しないでください。 正式名称

名前型 デフォルト許可される値 説明
prompt必須
型string
≤ 50,000文字≥ 3文字
画像生成用のテキスト指示。
num_images任意 num_outputs
型integer
デフォルト1
1 – 4
生成する画像の枚数。
seed任意
型integer | null
乱数生成を初期化するシード値。
aspect_ratio任意
型enum
デフォルトauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
生成画像のアスペクト比を明示的に選択します。4:1、1:4、8:1、1:8の極端な比率も指定できます。"auto"を選ぶと、モデルがプロンプトに基づいて選択します。
output_format任意
型enum
デフォルトpng
jpegpngwebp
結果の画像のファイル形式。
safety_tolerance任意
型enum
デフォルト4
123456
コンテンツモデレーションの許容度を、最も制限の少ないレベル6から、ほとんどのコンテンツをブロックする最も厳しいレベル1までで設定します。
system_prompt任意
型string
デフォルト
≤ 50,000文字
リクエスト全体に適用する任意のペルソナおよび出力スタイルの指示。Geminiにはシステム指示として、OpenAI互換プロバイダーにはシステムメッセージとして渡されます。値が空の場合、この指示は送信されません。
resolution任意
型enum
デフォルト1K
0.5K1K2K4K
出力画像の解像度。
limit_generations任意
型boolean
デフォルトtrue
有効化すると品質に影響する可能性がある実験的な生成上限。`True`では各プロンプト処理を1生成に制限し、プロンプト内の画像数指定を上書きして、モデルが生成する中間画像を無視します。
thinking_level任意
型enum
minimalhigh
'minimal'または'high'を選択すると、そのレベルのモデル思考を有効にし、思考内容を生成に含めます。レベルを未設定にすると無効のままです。
必須 正式名称(こちらも使用可能)

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-2",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 80,
    "usd": "0.08",
    "charged": 80,
    "refunded": 0
  },
  "input": {
    "prompt": "A cozy bookshop window at night with a hand-painted sign reading \"Open Late\", warm light, rain on the glass",
    "aspect_ratio": "4:5",
    "resolution": "1K"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "description": "string"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
images
array of object {url, content_type, file_name, file_size, width, height}モデルが生成した画像。
description
string生成画像に添える説明。

その他のモデル: テキストから画像

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/nano-banana-2.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt