技能 nano-banana-2
🎨

nano-banana-2

低風險 ⚙️ 外部命令🌐 網路存取

使用 Google Nano Banana 2 生成圖片

也可從以下取得: inference-sh-9,tul-sh,inferen-sh,agentspace-so,runcomfy-com,inference-shell,toolshell

透過 RunComfy CLI 使用 Google Nano Banana 2 快速生成圖片。包含最佳化提示模式、批次生成支援,以及用於當前事件的網路接地上下文。

支援: Claude Codex Code(CC)
⚠️ 64
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「nano-banana-2」。 A minimalist 16:9 product card: a matte black ceramic mug centered on a soft warm-grey paper background, rim highlight from upper-left, the headline "Brewed Quietly" in clean bold sans-serif top-right

預期結果:

A 16:9 PNG image showing a centered black ceramic mug on grey paper with "Brewed Quietly" text rendered in bold sans-serif at top-right, clean studio lighting, balanced composition

正在使用「nano-banana-2」。 A 9:16 vertical hero for a wellness brand: a single ceramic teacup on a linen runner, soft morning side-light, the words "Slow Down" in hand-drawn serif large at the top

預期結果:

A 9:16 vertical PNG showing a teacup on linen with "Slow Down" rendered in hand-drawn serif at top, soft natural lighting, warm neutral palette

安全審計

低風險
v1 • 5/31/2026

Evaluated 88 static pattern detections. All high-severity findings are false positives: backtick patterns are markdown code formatting, path traversal is a markdown link reference, hidden file detection is a standard CLI config path, and weak crypto/system reconnaissance are keyword misidentifications. The skill is legitimate image generation documentation calling the RunComfy CLI. User prompts are transmitted as JSON without shell expansion, preventing injection. No malicious patterns confirmed.

1
已掃描檔案
207
分析行數
8
發現項
1
審計總數

高風險問題 (3)

Path Traversal Sequence Flagged
Static analyzer flagged '../nano-banana-edit' at line 70 as path traversal. This is a markdown relative link reference to a sibling skill file, not a security vulnerability. FALSE POSITIVE.
Hidden File Access Flagged
Static analyzer flagged '~/.config/runcomfy/token.json' at line 202 as hidden file access. This is the documented RunComfy CLI token storage location with mode 0600 (owner-only). Legitimate configuration behavior, not a vulnerability. FALSE POSITIVE.
Weak Cryptographic Algorithm Flagged
Static analyzer flagged lines 4, 60, 132, 183 as weak crypto. Direct review shows no cryptographic algorithms are used - the analyzer misidentified documentation keywords. FALSE POSITIVE.
中風險問題 (1)
Ruby/Shell Backtick Execution Pattern Detected
Static analyzer flagged 70 instances of backtick patterns. These are markdown code formatting syntax (`code` and ```bash blocks) in documentation, not Ruby/shell backtick execution. The code examples show legitimate CLI invocation examples. FALSE POSITIVE.
低風險問題 (2)
Hardcoded URLs Detected
Static analyzer flagged URLs to runcomfy.com and model-api.runcomfy.net. These are expected external service endpoints for this image generation skill. LEGITIMATE - no data exfiltration or suspicious endpoints.
System Reconnaissance Pattern Flagged
Static analyzer flagged mentions of 'Gemini' model family as system reconnaissance. These are legitimate product references in documentation describing the Nano Banana 2 model lineage. FALSE POSITIVE.

風險因素

⚙️ 外部命令 (1)
🌐 網路存取 (1)
審計者: claude

品質評分

38
架構
100
可維護性
87
內容
50
社群
51
安全
83
規範符合性

你能建構什麼

快速行銷草稿迭代

以 0.5K 解析度生成 4 個縮圖變體以快速進行視覺探索,然後將獲勝變體提升至 2K 以進行最終交付。

社群媒體素材製作

建立符合平台原生格式的素材,9:16 垂直格式適用於 Reels/Stories,4:5 適用於 Instagram 動態,或 1:1 適用於貼文——並具有可預測的圖片內文字渲染。

當前事件視覺化

使用 enable_web_search 啟用網路接地生成,以建立引用真實世界實體或本週新聞事件的圖片。

試試這些提示

基本圖片生成
Use nano-banana-2 to generate: A minimalist product photo of a white ceramic mug on a grey background with the text "Hello World" in bold sans-serif, centered
批次變體生成
Use nano-banana-2 to generate 4 vertical variants of: A wellness brand hero showing a ceramic teacup on linen, with the words "Slow Down" in hand-drawn serif, soft morning light
網路接地當前事件圖片
Use nano-banana-2 with web search enabled to generate: A cinematic shot of the SpaceX launch from yesterday, rocket against orange sunset sky
可重現的 Seed 鎖定變體
Use nano-banana-2 with seed 42 to generate: A 16:9 cinematic portrait of a chef in a Paris kitchen, golden hour light through windows, ultra-detailed realistic

最佳實務

  • 將主要主體放在前面,然後添加環境、風格和相機指令
  • 當需要圖片內文字渲染時,請精確引用字元
  • 使用0.5K 解析度進行快速迭代,僅在最終交付物需要銳利細節時升級至 2K

避免

  • 衝突的風格指令——不要組合「極簡 + 華麗 + 復古 + 賽博龐克」
  • 圖片內文字使用非引號文字——會導致不可預測的渲染效果
  • 請求超出 0.5K、1K、2K、4K 等級的解析度——將返回 422 錯誤

常見問題

什麼會觸發 nano-banana-2 技能?
使用「nano banana」、「nano-banana-2」、「nano banana 2」、「google image gen」、「gemini image」等片語,或任何明確要求使用此模型生成的請求。
如何在圖片中渲染文字?
引用您想要渲染的確切字元。例如:「標籤顯示 'AURA',使用乾淨粗體無襯線字體,居中」。
為什麼我的生成圖片在 0.5K 時模糊?
0.5K 僅用於快速草稿和創意發想。標準輸出使用 1K,或在最終交付物需要銳利細節時使用 2K/4K。
何時應該啟用網路搜尋?
僅在提示引用當前事件或需要最新資訊的真實世界實體時啟用 enable_web_search。它會增加成本和延遲。
我可以用此技能編輯現有圖片嗎?
不行,此技能僅用於文字生成圖片。如需圖片編輯(保留主體、替換背景),請使用獨立的 nano-banana-edit 技能。
如何獲得一致的結果以進行改進?
在迭代提示時將 seed 參數設為固定數字(如 42)。使用相同的 seed 和相同的提示可產生一致的構圖。

開發者詳情

檔案結構

📄 SKILL.md