Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@
"group": "Google",
"pages": [
"tutorials/partner-nodes/google/gemini",
"tutorials/partner-nodes/google/nano-banana-pro"
"tutorials/partner-nodes/google/nano-banana-pro",
"tutorials/partner-nodes/google/nano-banana-2"
]
},
{
Expand Down Expand Up @@ -1036,7 +1037,8 @@
"group": "Google",
"pages": [
"zh-CN/tutorials/partner-nodes/google/gemini",
"zh-CN/tutorials/partner-nodes/google/nano-banana-pro"
"zh-CN/tutorials/partner-nodes/google/nano-banana-pro",
"zh-CN/tutorials/partner-nodes/google/nano-banana-2"
]
},
{
Expand Down
90 changes: 90 additions & 0 deletions tutorials/partner-nodes/google/nano-banana-2.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
title: "Nano Banana 2 - Fast AI Image Generation"
description: "Generate high-quality images with Pro-level quality at Flash speed using Nano Banana 2 in ComfyUI"
sidebarTitle: "Nano Banana 2"
---

import ReqHint from "/snippets/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/tutorials/update-reminder.mdx";

Nano Banana 2 is now available in ComfyUI through Partner Nodes. This release fundamentally changes the default choice for most creators, delivering Pro-level quality at Flash speed.

<ReqHint/>
<UpdateReminder/>

## What's new in Nano Banana 2

- **Pro-level quality at Flash speed** — Richer textures, sharper detail, stronger lighting, and better prompt adherence without the latency tradeoff
- **Search-grounded world knowledge** — Intelligently triggers Google Image Search grounding to improve factual accuracy for lesser-known landmarks, niche objects, or real-world details
- **Subject consistency** — Maintain character resemblance of up to 5 characters and fidelity of up to 14 objects in a single workflow
- **Configurable thinking levels** — Control how much the model "thinks" before generating (Minimal for fast exploration, High/Dynamic for complex layouts)
- **Precision text rendering and translation** — Generate accurate, legible text for marketing mockups, greeting cards, and localized assets

## Nano Banana 2 image edit workflow

<CardGroup cols={2}>
<Card title="Run in Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_google_nano_banana2_image_edit&utm_source=docs&utm_medium=referral&utm_campaign=nano_banana_2">
Open in Comfy Cloud
</Card>
<Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_google_nano_banana2_image_edit.json">
Download JSON or search "Nano Banana 2" in Template Library
</Card>
</CardGroup>

### Pro-level quality showcase

![Quality comparison](https://substack-post-media.s3.amazonaws.com/public/images/1f92ae2e-14d8-4a3b-9ed7-e57dacd2584f_1825x1696.png)
*Replace the text from the input image with: Nano Banana 2 Available on ComfyUI Cheaper and Faster*

### Search-grounded world knowledge showcase

![Educational infographic](https://substack-post-media.s3.amazonaws.com/public/images/edfe3b6b-8942-472e-8772-a3700946fc23_1024x559.png)
*Educational comic book style infographic explaining five lesser-known North American native species, with search-grounding to ensure accurate depictions of rare habitats and ecological roles.*

![Skateboard culture infographic](https://substack-post-media.s3.amazonaws.com/public/images/536b845b-b278-4924-b8e4-114e5e5defa9_2752x1536.png)
*Comic book style infographic for American skateboard culture evolution from the 1970s to the 2020s.*

### Subject consistency showcase

![Subject consistency](https://substack-post-media.s3.amazonaws.com/public/images/e38f7afb-9752-49a1-9e6c-1ea99dba42ff_4908x2626.png)
*Maintain character resemblance and object fidelity across storyboard sequences.*

### Configurable thinking levels showcase

![Thinking levels comparison](https://substack-post-media.s3.amazonaws.com/public/images/6d0d4773-3ff5-4319-bc00-8afb62c2a1ad_4608x1332.png)
*Cinematic portrait with different thinking levels: Minimal for quick iterations, High for detailed outputs.*

![Art Nouveau portrait](https://substack-post-media.s3.amazonaws.com/public/images/49e5f98a-b375-4fda-b280-7b695f535807_4608x1332.png)
*Art Nouveau inspired portrait with configurable reasoning depth.*

### Text rendering and translation showcase

![Text rendering](https://substack-post-media.s3.amazonaws.com/public/images/808ca8d0-acac-470d-a666-23e411254276_1376x768.png)
*Amateur cellphone photograph with stylized graffiti text rendering.*

![Spanish translation](https://substack-post-media.s3.amazonaws.com/public/images/6af9b091-7bbe-49da-b70f-e766394039ef_2784x1536.png)
*Translate text to Spanish.*

![Hindi translation](https://substack-post-media.s3.amazonaws.com/public/images/548d44f6-d43e-484f-a8d8-37638f9ff482_2784x1536.png)
*Translate text to Hindi.*

![Mandarin translation](https://substack-post-media.s3.amazonaws.com/public/images/5f4a52f9-1995-440f-8394-245e43f3a9a2_2784x1536.png)
*Translate text to Mandarin.*

## Which model should you pick?

| Model | Best for |
|-------|----------|
| **Nano Banana 2** | Most creators — fast enough to explore, smart enough to refine, polished enough to ship |
| **Nano Banana Pro** | Maximum factual precision and high-stakes edge cases |

## Get started

1. Update ComfyUI to the latest version
2. Double-click the canvas and search for the "Nano Banana 2" node
3. Or go to the Template Library to use the ready-to-go workflow
4. Choose your resolution, set your aspect ratio, and decide whether the prompt needs deeper reasoning

<Note>
The new model version has also been added to the previous "Nano Banana Pro" node. If you have old workflows with this node, you don't need to rebuild them — just reselect the model version.
</Note>
90 changes: 90 additions & 0 deletions zh-CN/tutorials/partner-nodes/google/nano-banana-2.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
title: "Nano Banana 2 - 快速 AI 图像生成"
description: "在 ComfyUI 中使用 Nano Banana 2 以 Flash 速度生成 Pro 级别质量的图像"
sidebarTitle: "Nano Banana 2"
---

import ReqHint from "/snippets/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/tutorials/update-reminder.mdx";

Nano Banana 2 现已通过合作伙伴节点在 ComfyUI 中可用。此版本从根本上改变了大多数创作者的默认选择,以 Flash 速度提供 Pro 级别的质量。

<ReqHint/>
<UpdateReminder/>

## Nano Banana 2 的新特性

- **Flash 速度下的 Pro 级质量** — 更丰富的纹理、更锐利的细节、更强的光照效果和更好的提示词遵循,无需牺牲延迟
- **搜索增强的世界知识** — 智能触发 Google 图像搜索增强,提高对小众地标、特定物体或现实世界细节的准确性
- **主体一致性** — 在单个工作流中保持最多 5 个角色的相似性和最多 14 个物体的保真度
- **可配置的思考级别** — 控制模型在生成前的"思考"程度(Minimal 用于快速探索,High/Dynamic 用于复杂布局)
- **精确文本渲染和翻译** — 为营销模型、贺卡和本地化资产生成准确、清晰的文本

## Nano Banana 2 图像编辑工作流

<CardGroup cols={2}>
<Card title="在 Comfy Cloud 运行" icon="cloud" href="https://cloud.comfy.org/?template=api_google_nano_banana2_image_edit&utm_source=docs&utm_medium=referral&utm_campaign=nano_banana_2">
在 Comfy Cloud 中打开
</Card>
<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_google_nano_banana2_image_edit.json">
下载 JSON 或在模板库中搜索 "Nano Banana 2"
</Card>
</CardGroup>

### Pro 级质量展示

![质量对比](https://substack-post-media.s3.amazonaws.com/public/images/1f92ae2e-14d8-4a3b-9ed7-e57dacd2584f_1825x1696.png)
*将输入图像中的文本替换为:Nano Banana 2 Available on ComfyUI Cheaper and Faster*

### 搜索增强世界知识展示

![教育信息图](https://substack-post-media.s3.amazonaws.com/public/images/edfe3b6b-8942-472e-8772-a3700946fc23_1024x559.png)
*教育漫画风格信息图,解释五种鲜为人知的北美本土物种,使用搜索增强确保对稀有栖息地和生态角色的准确描绘。*

![滑板文化信息图](https://substack-post-media.s3.amazonaws.com/public/images/536b845b-b278-4924-b8e4-114e5e5defa9_2752x1536.png)
*漫画风格信息图,展示 1970 年代至 2020 年代美国滑板文化的演变。*

### 主体一致性展示

![主体一致性](https://substack-post-media.s3.amazonaws.com/public/images/e38f7afb-9752-49a1-9e6c-1ea99dba42ff_4908x2626.png)
*在故事板序列中保持角色相似性和物体保真度。*

### 可配置思考级别展示

![思考级别对比](https://substack-post-media.s3.amazonaws.com/public/images/6d0d4773-3ff5-4319-bc00-8afb62c2a1ad_4608x1332.png)
*不同思考级别的电影肖像:Minimal 用于快速迭代,High 用于详细输出。*

![新艺术风格肖像](https://substack-post-media.s3.amazonaws.com/public/images/49e5f98a-b375-4fda-b280-7b695f535807_4608x1332.png)
*具有可配置推理深度的新艺术风格肖像。*

### 文本渲染和翻译展示

![文本渲染](https://substack-post-media.s3.amazonaws.com/public/images/808ca8d0-acac-470d-a666-23e411254276_1376x768.png)
*带有风格化涂鸦文本渲染的业余手机照片。*

![西班牙语翻译](https://substack-post-media.s3.amazonaws.com/public/images/6af9b091-7bbe-49da-b70f-e766394039ef_2784x1536.png)
*将文本翻译为西班牙语。*

![印地语翻译](https://substack-post-media.s3.amazonaws.com/public/images/548d44f6-d43e-484f-a8d8-37638f9ff482_2784x1536.png)
*将文本翻译为印地语。*

![中文翻译](https://substack-post-media.s3.amazonaws.com/public/images/5f4a52f9-1995-440f-8394-245e43f3a9a2_2784x1536.png)
*将文本翻译为中文。*

## 如何选择模型?

| 模型 | 最适合 |
|------|--------|
| **Nano Banana 2** | 大多数创作者 — 探索足够快,优化足够智能,输出足够精美 |
| **Nano Banana Pro** | 最大程度的事实精确性和高风险边缘案例 |

## 开始使用

1. 更新 ComfyUI 到最新版本
2. 双击画布并搜索 "Nano Banana 2" 节点
3. 或前往模板库使用现成的工作流
4. 选择分辨率、设置宽高比,并决定提示词是否需要更深层次的推理

<Note>
新模型版本也已添加到之前的 "Nano Banana Pro" 节点中。如果您有使用此节点的旧工作流,无需重建 — 只需重新选择模型版本即可。
</Note>