-
Notifications
You must be signed in to change notification settings - Fork 184
docs: add Nano Banana 2 Lite model info to nano-banana-2 tutorial #1205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+50
−34
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,17 @@ | ||
| --- | ||
| title: "Nano Banana 2 - 快速 AI 图像生成" | ||
| description: "在 ComfyUI 中使用 Nano Banana 2 以 Flash 速度生成 Pro 级别质量的图像" | ||
| description: "在 ComfyUI 中使用 Nano Banana 2 以 Flash 速度生成具有 Pro 级别质量的高质量图像" | ||
| sidebarTitle: "Nano Banana 2" | ||
| translationSourceHash: 128f7ce7 | ||
| translationSourceHash: 42c1cc80 | ||
| translationFrom: tutorials/partner-nodes/google/nano-banana-2.mdx | ||
| --- | ||
|
|
||
| import ReqHint from "/snippets/zh/tutorials/partner-nodes/req-hint.mdx"; | ||
| import UpdateReminder from "/snippets/zh/tutorials/update-reminder.mdx"; | ||
|
|
||
| Nano Banana 2 现已通过合作伙伴节点在 ComfyUI 中可用。此版本从根本上改变了大多数创作者的默认选择,以 Flash 速度提供 Pro 级别的质量。 | ||
| Nano Banana 2 现已通过合作节点在 ComfyUI 中可用。此版本从根本上改变了大多数创作者的默认选择,以 Flash 速度提供 Pro 级别的质量。 | ||
|
|
||
| **Nano Banana 2 Lite** 变体以 $0.034/图像的价格提供了预算友好的选择,非常适合高产量工作流的 1K 分辨率输出。 | ||
|
|
||
| <ReqHint/> | ||
| <UpdateReminder/> | ||
|
|
@@ -19,8 +21,9 @@ Nano Banana 2 现已通过合作伙伴节点在 ComfyUI 中可用。此版本从 | |
| - **Flash 速度下的 Pro 级质量** — 更丰富的纹理、更锐利的细节、更强的光照效果和更好的提示词遵循,无需牺牲延迟 | ||
| - **搜索增强的世界知识** — 智能触发 Google 图像搜索增强,提高对小众地标、特定物体或现实世界细节的准确性 | ||
| - **主体一致性** — 在单个工作流中保持最多 5 个角色的相似性和最多 14 个物体的保真度 | ||
| - **可配置的思考级别** — 控制模型在生成前的"思考"程度(Minimal 用于快速探索,High/Dynamic 用于复杂布局) | ||
| - **可配置的思考级别** — 控制模型在生成前的“思考”程度(Minimal 用于快速探索,High/Dynamic 用于复杂布局) | ||
| - **精确文本渲染和翻译** — 为营销模型、贺卡和本地化资产生成准确、清晰的文本 | ||
|
Comment on lines
+24
to
25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Fix the noun in the text-rendering bullet. Line 25 translates “marketing mockups” as 🤖 Prompt for AI Agents |
||
| - **Nano Banana 2 Lite** — 经济实惠的选择,每张图像 $0.034,1K 分辨率,适合大批量图像生成 | ||
|
|
||
| ## Nano Banana 2 图像编辑工作流 | ||
|
|
||
|
|
@@ -29,7 +32,7 @@ Nano Banana 2 现已通过合作伙伴节点在 ComfyUI 中可用。此版本从 | |
| </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" | ||
| 下载 JSON 或在模板库中搜索“Nano Banana 2” | ||
| </Card> | ||
|
|
||
| ### Pro 级质量展示 | ||
|
|
@@ -69,23 +72,24 @@ Nano Banana 2 现已通过合作伙伴节点在 ComfyUI 中可用。此版本从 | |
|  | ||
| *将文本翻译为印地语。* | ||
|
|
||
|  | ||
| *将文本翻译为中文。* | ||
|  | ||
| *将文本翻译为普通话。* | ||
|
|
||
| ## 如何选择模型? | ||
|
|
||
| | 模型 | 最适合 | | ||
| |------|--------| | ||
| | **Nano Banana 2** | 大多数创作者 — 探索足够快,优化足够智能,输出足够精美 | | ||
| | **Nano Banana Pro** | 最大程度的事实精确性和高风险边缘案例 | | ||
| | 模型 | 最适合 | 价格 | | ||
| |------|--------|------| | ||
| | **Nano Banana 2 Lite** | 经济实惠的高产量 1K 图像生成选择 | $0.034/图像 | | ||
| | **Nano Banana 2** | 大多数创作者 — 探索足够快,优化足够智能,输出足够精美 | 从 $0.0696/图像 | | ||
| | **Nano Banana Pro** | 最大程度的事实精确性和高风险边缘案例 | 从 $0.15/图像 | | ||
|
|
||
| ## 开始使用 | ||
|
|
||
| 1. 更新 ComfyUI 到最新版本 | ||
| 2. 双击画布并搜索 "Nano Banana 2" 节点 | ||
| 2. 双击画布并搜索“Nano Banana 2”节点 | ||
| 3. 或前往模板库使用现成的工作流 | ||
| 4. 选择分辨率、设置宽高比,并决定提示词是否需要更深层次的推理 | ||
|
|
||
| <Note> | ||
| 新模型版本也已添加到之前的 "Nano Banana Pro" 节点中。如果您有使用此节点的旧工作流,无需重建 — 只需重新选择模型版本即可。 | ||
| </Note> | ||
| 新模型版本也已添加到之前的“Nano Banana Pro”节点中。如果您有使用此节点的旧工作流,无需重建 — 只需重新选择模型版本即可。 | ||
| </Note> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Let the em dashes dash.
Line 24 and Line 81 use
—, which the English MDX style guide disallows. Replace them with a comma, colon, or a second sentence. As per coding guidelines,**/*.mdx: When editing English MDX documentation, avoid em dashes (—); prefer periods, commas, or colons instead.Also applies to: 81-81
🤖 Prompt for AI Agents
Source: Coding guidelines