nano-banana-edit
在 RunComfy 上使用 Google Nano Banana 2 編輯圖片
也可從以下取得: agentspace-so,runcomfy-com
需要編輯產品照片、置換背景或批次處理圖片?RunComfy 上的 Nano Banana 2 編輯功能支援最多 20 張圖片的批次處理,具有強大的主體身份保留功能和空間編輯控制。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「nano-banana-edit」。 User asks to swap background to a rainy neon cyberpunk street while keeping the subject identity
預期結果:
模型生成 1-4 張圖片,主體保持不變但背景變為雨夜霓虹賽博龐克風格,姿勢和取景保持一致。
正在使用「nano-banana-edit」。 User asks to edit multiple product photos with a warm studio sweep background
預期結果:
批次處理 3-5 張產品圖片,背景為一致的暖灰色攝影棚環境,主體位置統一,可直接用於電商上架。
安全審計
安全Static analysis flagged 78 potential issues, but evaluation reveals all are false positives. The skill is a thin wrapper for the RunComfy CLI that invokes `runcomfy run google/nano-banana-2/edit` to call a legitimate image editing API. The "external commands" detections are markdown bash command examples, not executable code. The "path traversal" flags reference placeholder parameter examples (`<absolute/path>`) in documentation. The "weak crypto" detection is frontmatter YAML. Network access is scoped to RunComfy API endpoints only. Security controls are properly documented including JSON string transmission (no shell injection) and secure token storage with mode 0600.
高風險問題 (3)
中風險問題 (1)
低風險問題 (2)
風險因素
🌐 網路存取 (3)
品質評分
你能建構什麼
電子商務產品攝影
批次編輯產品圖片,確保背景一致。單次呼叫最多可編輯 20 張 SKU 圖片,在置換攝影棚背景的同時保留產品身份。
行銷活動創意
為廣告創意建立 A/B 變體,透過種子鎖定實現多重輸出。為網紅和品牌內容生成背景置換和局部編輯。
品牌資產本地化調整
在保留構圖的同時調整品牌資產以適應不同市場。在本地化內容變體中保持一致的文字和調色板替換。
試試這些提示
Keep the subject identity unchanged. Convert the background into [description of desired background].
Remove the [specific object] only. Keep [list of elements to preserve], the [environment elements], and the lighting unchanged.
For each input image: keep the [subject identity/pose/clothing] unchanged. Convert the background to [description]. Center the subject at the same fraction of frame as the input.
For each input: preserve the [identity/brand element]. Replace [specific element] with [new description]. Maintain consistent lighting and color palette across all outputs.
最佳實務
- 以保留指示開頭,以變更內容結尾。始終先說明要保留的內容,然後再描述編輯內容。
- 使用具體的空間語言進行局部編輯:「僅背景」、「左側物體」、「右上角」。
- 鎖定 aspect_ratio 和 resolution 以確保批次一致性。在批次編輯中使用相同的提示語法。
避免
- 避免冗長的複合指令(變更 A 和 B 和 C),這會導致模型漂移。
- 編輯指示不要使用被動語態。要使用祈使句:「將 X 替換為 Y」,而不是「背景應該被變更」。
- 不要省略保留目標。明確保留哪些內容不變,否則模型會悄悄地修改臉部和品牌元素。
常見問題
一次批次請求可以編輯多少張圖片?
每次請求可以生成多少張輸出圖片?
如何在編輯過程中保留主體身份?
何時應使用 Nano Banana Edit 與其他模型?
輸出支援哪些檔案格式?
此技能如何處理 API 身份驗證?
開發者詳情
檔案結構
📄 SKILL.md