Google: Nano Banana 2
nano-banana-2- 價格
- 起 $0.0335
- 發布日期
- 2026年2月26日
- 模態
- 圖片
關於 Nano Banana 2
Nano Banana 2 是 Google 對 Gemini 3.1 Flash Image 的命名,於 2026 年 2 月發布。它能根據文字生成圖像,並根據參考圖片修改現有圖像,提供 1K、2K 或 4K 解析度,以及包含極寬和極高格式在內的十四種長寬比。Google 將其定位於高效率、生產規模的視覺創作,其保真度低於 Nano Banana Pro。
適用場景
- 基於參考的修改可在不同版面中保持主體或概念的一致性。
- 十四種長寬比,包括 1:8 和 8:1 的長條形。
- 單一模型可輸出三種尺寸,最高達 4K。
- 適用於生產規模批次處理的 Flash 等級效率。
其他選擇建議
- 對於文字密集、高度細緻的最終成品藝術,Nano Banana Pro 是更好的選擇。
- 它僅輸出單張靜態圖像;無法製作分層檔案或影片。
入門指南
建立 API 金鑰
請至 Console 建立金鑰,即可在平台上使用各類模型。
發送您的第一個請求
複製您所選語言的範例,並針對端點執行它。
影像編輯圖片轉圖片文字生成圖片TokenLab 端點POST/v1/images/generationscurl -X POST "https://api.tokenlab.sh/v1/images/generations" \ -H "Authorization: Bearer sk-xxx" \ -H "Content-Type: application/json" \ -d '{ "aspect_ratio": "1:1", "operation": "text-to-image", "resolution": "1k", "model": "nano-banana-2", "prompt": "A minimalist product photo of matte black headphones on a soft blue background." }'
參數設定
影像編輯
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
aspect_ratio | 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 | 未提供 | 未提供 |
async | 未提供 | 未提供 | 未提供 |
image | 未提供 | 未提供 | This operation accepts image inputs. The maximum total source-image count is not yet verified for this public operation. |
image_url | 未提供 | 未提供 | 未提供 |
image_urls | 未提供 | 未提供 | 未提供 |
operation | 未提供 | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
reference_image_urls | 未提供 | 未提供 | 未提供 |
resolution | 1k, 2k, 4k | 未提供 | 未提供 |
response_format | 未提供 | 未提供 | The public image response selector accepts url or b64_json. A URL-only supply rejects b64_json before upstream execution. Omit this field to keep the selected supply response representation; no uniform omitted-field default is declared here. |
size | 未提供 | 未提供 | Use the declared resolution and aspect_ratio to select the corresponding output size. size follows the model-specific resolution table; arbitrary pixel dimensions are not declared as a public control. |
圖片轉圖片
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
aspect_ratio | 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 | 未提供 | 未提供 |
async | 未提供 | 未提供 | 未提供 |
image | 未提供 | 未提供 | This operation accepts image inputs. The maximum total source-image count is not yet verified for this public operation. |
image_url | 未提供 | 未提供 | 未提供 |
image_urls | 未提供 | 未提供 | 未提供 |
operation | 未提供 | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
reference_image_urls | 未提供 | 未提供 | 未提供 |
resolution | 1k, 2k, 4k | 未提供 | 未提供 |
response_format | 未提供 | 未提供 | The public image response selector accepts url or b64_json. A URL-only supply rejects b64_json before upstream execution. Omit this field to keep the selected supply response representation; no uniform omitted-field default is declared here. |
size | 未提供 | 未提供 | Use the declared resolution and aspect_ratio to select the corresponding output size. size follows the model-specific resolution table; arbitrary pixel dimensions are not declared as a public control. |
文字生成圖片
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
aspect_ratio | 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 | 未提供 | 未提供 |
async | 未提供 | 未提供 | 未提供 |
operation | 未提供 | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
resolution | 1k, 2k, 4k | 未提供 | 未提供 |
response_format | 未提供 | 未提供 | The public image response selector accepts url or b64_json. A URL-only supply rejects b64_json before upstream execution. Omit this field to keep the selected supply response representation; no uniform omitted-field default is declared here. |
size | 未提供 | 未提供 | Use the declared resolution and aspect_ratio to select the corresponding output size. size follows the model-specific resolution table; arbitrary pixel dimensions are not declared as a public control. |
Use this model for text-to-image generation.
定價
Verified 價格用於 Verified,多數模型更便宜;Official 價格是模型廠商公布的價格,用於更穩定的 Official。Auto 按最終完成請求的線路計價。
純文字
每張圖片- Official 價格
- $0.50/張圖片
- Verified 價格
- $0.25/張圖片
- 折扣
- -50%
文字生成圖片 / 圖片轉圖片 / 影像編輯 · 512
每張圖片- Official 價格
- $0.045
- Verified 價格
- $0.0225
- 折扣
- -50%
文字生成圖片 / 圖片轉圖片 / 影像編輯 · 1k
每張圖片- Official 價格
- $0.067
- Verified 價格
- $0.0335
- 折扣
- -50%
文字生成圖片 / 圖片轉圖片 / 影像編輯 · 2k
每張圖片- Official 價格
- $0.101
- Verified 價格
- $0.0505
- 折扣
- -50%
文字生成圖片 / 圖片轉圖片 / 影像編輯 · 4k
每張圖片- Official 價格
- $0.151
- Verified 價格
- $0.0755
- 折扣
- -50%
| Official 價格每張圖片 | Verified 價格每張圖片 | 折扣 | |
|---|---|---|---|
| 純文字 | $0.50/張圖片 | $0.25/張圖片 | -50% |
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 · 512 | $0.045 | $0.0225 | -50% |
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 · 1k | $0.067 | $0.0335 | -50% |
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 · 2k | $0.101 | $0.0505 | -50% |
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 · 4k | $0.151 | $0.0755 | -50% |
使用量與活動
成功率是請求完成的比例;延遲是一次完整回應所需的時間,P95 表示 95% 的請求在該時間內完成。
用量與可用性
過去 24 小時- 請求數
- 成功率
- P95 延遲
- 總 Token 用量
- 近 30 日成功率
- 97.2%
- 近 30 日請求數
- 1K+
- 最後活動時間
- 前天
資料基於彙總的使用者請求,不包含狀態檢查。
直接在 Console 裡試
在 Console 中開啟 Nano Banana 2,並準備好編輯或發送提示詞。
協助我使用 nano-banana-2 透過 /v1/images/generations 執行 text-to-image 建立圖像,並顯示結果、成本與相關限制。
應用情境
適合場景- 文生圖
多格式廣告活動
將同一個主體應用於方形、限時動態和超寬版面,透過重複參考圖,確保主體在每個版面中都能保持可辨識性。
參考編輯
透過簡短的文字指令重新設計或修改提供的圖片,例如更改季節或家具風格。
視覺探索
在單次對話中為一個概念生成多種方向,並挑選出最強的一個,再利用更強大的模型進一步深化。
大型資產製作
在不需要 Nano Banana Pro 高保真度的情況下,為網頁標題或印刷草稿製作 4K 圖像。
提示詞範例
使用隨附的角色草圖,將她繪製在夜晚雨中的街道上,16:9,繪畫風格。
以斯堪地那維亞風格重做這張房間照片:淺色木材、白色牆壁,保持相同佈局。
一張 1:4 的直式橫幅,畫面為日出時分熱氣球在雲層上方升起。
FAQ
什麼是 Nano Banana 2?
這是 Google 為 gemini-3.1-flash-image 註冊的品牌名稱,這是一款 Flash 等級的圖像生成與編輯器,在同一個模型中同時處理文字提示詞與參考圖像。
Nano Banana 2 支援參考圖像嗎?
支援。它同時支援文字轉圖像與圖像轉圖像,因此您可以將圖片與文字指令一起發送,並在一次請求中獲得編輯後的版本。
有哪些尺寸可供選擇?
它提供 1K、2K 和 4K 輸出,並有從 1:8 到 8:1 的十四種長寬比,涵蓋方形、直式、橫式以及適用於大多數版位的極端橫幅形狀。
選擇 Nano Banana 2 還是 Pro?
若追求速度、產量和特殊的橫幅形狀,請使用 Nano Banana 2。若單張圖像需要達到頂級精緻度並處理複雜的文字與版面,請使用 Pro。
Nano Banana 2 的費用是多少?
在 TokenLab 上,Nano Banana 2 價格為 $0.0225-$0.0755 每張圖片。完整明細見上方價格表。 價格因計費單位、規格和用量而異。請在模型的詳細定價中比較相同條件下的費率;單一費率不代表總價。
Nano Banana 2 應該使用哪一個端點?
請使用 https://api.tokenlab.sh/v1/images/generations 進行 Nano Banana 2 的呼叫。下方的請求範例展示了對應的程式碼格式。
Nano Banana 2 支援哪些操作?
Nano Banana 2 支援 影像編輯, 圖片轉圖片, 文字生成圖片。請在上方選擇一項操作以查看其端點與請求範例。
比較 Nano Banana 2
使用 Nano Banana 2 的指南
來源
更新於 2026年10月2日