nano-banana-edit

Edit images with Google Nano Banana 2 image-to-image endpoint via the RunComfy CLI.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/brillianodhiya/VisionScript --skill nano-banana-edit-brillianodhiya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nano-banana-edit
Source: https://github.com/brillianodhiya/VisionScript/tree/main/.agents/skills/nano-banana-edit
Command: npx skills add https://github.com/brillianodhiya/VisionScript --skill nano-banana-edit-brillianodhiya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @runcomfy/cli.

What problem does it solve? Editing images programmatically—swapping backgrounds, removing objects, or batch-editing product photos—normally requires manual design work or complex model setup. This Skill routes image-edit requests to Google's Nano Banana 2 edit endpoint hosted on RunComfy, handling identity preservation, spatial localization, and batch consistency through a single CLI call. ## Core Features & Use Cases - Identity-preserving edits: Swap backgrounds or clothing while keeping subject identity, pose, and framing unchanged. - Batch editing up to 20 images: Apply consistent edits across SKU galleries or ad creative variants with locked aspect ratio and resolution. - Spatially localized edits: Target changes with language like "the left object only" or "background only" for precise object removal or text replacement. - Use Case: An e-commerce team needs the same product shot on 20 different backgrounds. Pass all image URLs in one call with a locked 1:1 aspect ratio and receive a coherent, identity-preserved batch. ## Quick Start Ask the AI to edit an image with Nano Banana, for example: use nano banana edit to keep the subject unchanged and convert the background of this portrait into a rainy neon cyberpunk street.

Frequently Asked Questions about nano-banana-edit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I edit an image with Nano Banana 2 on RunComfy?▼

Run `runcomfy run google/nano-banana-2/edit` with a JSON input containing a prompt and an image_urls array of 1-20 HTTPS URLs. Lead the prompt with what to preserve, then state the change in one sentence.

Nano Banana Edit vs Flux Kontext vs GPT Image 2 for image editing?▼

Use Nano Banana Edit for identity preservation, background swaps, and batch edits up to 20 images. Use Flux Kontext for single-reference precise local edits, and GPT Image 2 edit for multilingual in-image text editing.

How many images can Nano Banana 2 edit process in one call?▼

The endpoint accepts 1 to 20 input images per call, with the first treated as primary and the rest as auxiliary references. It returns 1 to 4 output images per call.

Why does my Nano Banana edit change the subject's face or brand?▼

The prompt is missing preservation goals. Always start with "Keep [identity / pose / clothing / brand] unchanged" before stating the edit, and avoid long compound instructions that cause drift.

What are the limitations of the Nano Banana 2 edit endpoint?▼

It accepts at most 20 inputs and 4 outputs per call, long compound prompts drift and should be split into passes, and web search adds latency and cost. Multilingual in-image text edits are better handled by GPT Image 2 edit.