Skip to content

docs: add Nano Banana 2 Lite model info to nano-banana-2 tutorial#1205

Closed
lin-bot23 wants to merge 1 commit into
Comfy-Org:mainfrom
lin-bot23:feat/nano-banana-2-lite
Closed

docs: add Nano Banana 2 Lite model info to nano-banana-2 tutorial#1205
lin-bot23 wants to merge 1 commit into
Comfy-Org:mainfrom
lin-bot23:feat/nano-banana-2-lite

Conversation

@lin-bot23

Copy link
Copy Markdown
Contributor

Summary

Based on ComfyUI PR #14693, which adds the "Nano Banana 2 Lite" model variant to the GeminiNanoBanana2V2 node.

Changes

  • Added Nano Banana 2 Lite variant description ($0.034/image, 1K resolution only) to the nano-banana-2 tutorial
  • Updated the model comparison table to include Lite with pricing for all 3 models (Lite, 2, Pro)
  • Added Lite to the feature list
  • Sync translations (ZH/JA/KO)

Details

The Nano Banana 2 Lite is a budget-friendly option added to the same GeminiNanoBanana2V2 node:

  • Price: $0.034/image
  • Resolution: 1K only (no 2K/4K)
  • Uses the same workflow template — user just selects "Nano Banana 2 Lite" from the model dropdown

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@lin-bot23, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 53 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ae537a1c-358f-4772-b7bc-f825232ccefe

📥 Commits

Reviewing files that changed from the base of the PR and between b962bc2 and 23872b7.

📒 Files selected for processing (4)
  • ja/tutorials/partner-nodes/google/nano-banana-2.mdx
  • ko/tutorials/partner-nodes/google/nano-banana-2.mdx
  • tutorials/partner-nodes/google/nano-banana-2.mdx
  • zh/tutorials/partner-nodes/google/nano-banana-2.mdx
📝 Walkthrough

Walkthrough

Documentation updates across EN, JA, KO, and ZH locales introduce the Nano Banana 2 Lite model variant with pricing to the Nano Banana 2 tutorial (intro text, feature bullets, and model comparison table). Separately, the JA settings page updates terminology and removes sections, and the JA custom-nodes page revises text, reformats tables, and removes the プロンプト section.

Changes

Nano Banana 2 Lite Documentation (EN/JA/KO/ZH)

Layer / File(s) Summary
EN tutorial: Lite intro and model table
tutorials/partner-nodes/google/nano-banana-2.mdx
Adds Nano Banana 2 Lite to the intro paragraph and feature bullet list; rewrites model comparison table to add a Price column with rows for Lite, Nano Banana 2, and Nano Banana Pro.
JA tutorial: Lite localization
ja/tutorials/partner-nodes/google/nano-banana-2.mdx
Mirrors EN changes in Japanese: Lite variant added to intro, feature list, and model table with price column; metadata hash updated.
KO tutorial: Lite localization
ko/tutorials/partner-nodes/google/nano-banana-2.mdx
Adds Lite variant intro and feature bullet in Korean, expands model table with price column, adjusts section structure and <Note> formatting.
ZH tutorial: Lite localization
zh/tutorials/partner-nodes/google/nano-banana-2.mdx
Adds Lite paragraph and feature bullet in Chinese, updates card copy quoting, switches translation example caption from "中文翻译" to "普通话翻译", and expands model table with pricing.

JA Settings and Custom-Nodes Sync

Layer / File(s) Summary
JA settings: terminology and section changes
ja/interface/settings/comfy.mdx
"API ノード" → "パートナーノード", "開発者モード" → "開発モード", language section renamed to "ロケール"; trailing settings subsections (node search, queue, validation, window, workflow) removed; metadata updated.
JA custom-nodes: text, tables, and section removal
ja/custom-nodes/js/javascript_objects_and_hijacking.mdx
LiteGraph section text rewritten; LGraph code fence closing altered; ComfyNode property and function tables reformatted with updated remarks; entire プロンプト section (app.graphToPrompt() docs) removed; metadata updated.
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lin-bot23 lin-bot23 force-pushed the feat/nano-banana-2-lite branch from b962bc2 to 23872b7 Compare June 30, 2026 18:37
@lin-bot23

Copy link
Copy Markdown
Contributor Author

Wrong file — should be pricing.mdx, not tutorial. Reopening with correct changes.

@lin-bot23 lin-bot23 closed this Jun 30, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ja/custom-nodes/js/javascript_objects_and_hijacking.mdx`:
- Around line 5-12: Keep the translation block metadata aligned with the actual
Japanese content in javascript_objects_and_hijacking.mdx: since the `## プロンプト`
section was removed, update the `translationBlockHashes` mapping to remove the
`Prompt` entry so the chunked translation contract matches the translated body.
Use the `translationBlockHashes` frontmatter block as the reference point and
ensure the remaining block hashes still correspond to existing sections only.

In `@ja/interface/settings/comfy.mdx`:
- Around line 17-23: The frontmatter translationBlockHashes still includes
entries for sections that no longer exist in the page body, which keeps the i18n
metadata out of sync. Update the frontmatter in the comfy.mdx settings page by
either removing the stale block hashes or restoring the matching content
sections so the declared blocks align with the actual markdown body. Use the
existing translationBlockHashes mapping and the deleted section names from Node
Search Box through Workflow to verify the final set matches the rendered
content.

In `@tutorials/partner-nodes/google/nano-banana-2.mdx`:
- Line 24: The MDX content in nano-banana-2.mdx uses em dashes in the product
descriptions, which violates the English MDX style guide. Update the affected
text in the same document, including the entries around Nano Banana 2 Lite and
the other matching line, and replace each em dash with a comma, colon, or a
second sentence while keeping the meaning and tone consistent.

In `@zh/tutorials/partner-nodes/google/nano-banana-2.mdx`:
- Around line 24-25: The text-rendering bullet in the partner-nodes Google Nano
Banana 2 tutorial uses the wrong noun for “marketing mockups,” so update the
wording in the markdown content to use a mockup-appropriate term such as “营销样稿”
instead of “营销模型”; keep the rest of the bullet unchanged and make the fix in the
translated description that mentions text rendering.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 0e499b01-49c4-4953-b722-96d02d070f35

📥 Commits

Reviewing files that changed from the base of the PR and between 3dd3ce8 and b962bc2.

📒 Files selected for processing (6)
  • ja/custom-nodes/js/javascript_objects_and_hijacking.mdx
  • ja/interface/settings/comfy.mdx
  • ja/tutorials/partner-nodes/google/nano-banana-2.mdx
  • ko/tutorials/partner-nodes/google/nano-banana-2.mdx
  • tutorials/partner-nodes/google/nano-banana-2.mdx
  • zh/tutorials/partner-nodes/google/nano-banana-2.mdx

Comment on lines +5 to +12
translationBlockHashes:
"LiteGraph": 33b00279
"ComfyApp": 09c85456
"LGraph": cef2473d
"LLink": 9d75d321
"ComfyNode": 33354cbb
"Inputs and Widgets": 5aec68cf
"Prompt": 5df541b3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Keep the Prompt block metadata in sync with the translated body.

The page still advertises a Prompt block in translationBlockHashes, but this PR removes the corresponding ## プロンプト section. That leaves the chunked-translation contract inconsistent and will make this file look perpetually out of sync.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ja/custom-nodes/js/javascript_objects_and_hijacking.mdx` around lines 5 - 12,
Keep the translation block metadata aligned with the actual Japanese content in
javascript_objects_and_hijacking.mdx: since the `## プロンプト` section was removed,
update the `translationBlockHashes` mapping to remove the `Prompt` entry so the
chunked translation contract matches the translated body. Use the
`translationBlockHashes` frontmatter block as the reference point and ensure the
remaining block hashes still correspond to existing sections only.

Comment thread ja/interface/settings/comfy.mdx Outdated
Comment on lines +17 to +23
"Node Search Box": ced022f2
"Node Widget": 58dc56bd
"Queue": c42d4492
"Queue Button": c528e5f1
"Validation": 306e3d1a
"Window": afe27bb3
"Workflow": 55b8bcfa

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Remove or restore the deleted block entries in translationBlockHashes.

Node Search Box through Workflow are still declared in frontmatter even though those sections were removed from the page body. With the current i18n sync logic, this metadata/body mismatch will keep the translation drifting instead of truly in sync. Time to hash things out.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ja/interface/settings/comfy.mdx` around lines 17 - 23, The frontmatter
translationBlockHashes still includes entries for sections that no longer exist
in the page body, which keeps the i18n metadata out of sync. Update the
frontmatter in the comfy.mdx settings page by either removing the stale block
hashes or restoring the matching content sections so the declared blocks align
with the actual markdown body. Use the existing translationBlockHashes mapping
and the deleted section names from Node Search Box through Workflow to verify
the final set matches the rendered content.

- **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 Lite** — A budget-friendly option at $0.034/image with 1K resolution, perfect for high-volume image generation

Copy link
Copy Markdown

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
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tutorials/partner-nodes/google/nano-banana-2.mdx` at line 24, The MDX content
in nano-banana-2.mdx uses em dashes in the product descriptions, which violates
the English MDX style guide. Update the affected text in the same document,
including the entries around Nano Banana 2 Lite and the other matching line, and
replace each em dash with a comma, colon, or a second sentence while keeping the
meaning and tone consistent.

Source: Coding guidelines

Comment on lines +24 to 25
- **可配置的思考级别** — 控制模型在生成前的“思考”程度(Minimal 用于快速探索,High/Dynamic 用于复杂布局)
- **精确文本渲染和翻译** — 为营销模型、贺卡和本地化资产生成准确、清晰的文本

Copy link
Copy Markdown

Choose a reason for hiding this comment

The 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 营销模型, which means “marketing models” instead of mockups. Mockup to model is a muddy puddle here; use a term like 营销样稿 or equivalent.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@zh/tutorials/partner-nodes/google/nano-banana-2.mdx` around lines 24 - 25,
The text-rendering bullet in the partner-nodes Google Nano Banana 2 tutorial
uses the wrong noun for “marketing mockups,” so update the wording in the
markdown content to use a mockup-appropriate term such as “营销样稿” instead of
“营销模型”; keep the rest of the bullet unchanged and make the fix in the translated
description that mentions text rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant