nano-banana-edit

Edit images via RunComfy CLI while preserving subject identity and composition.

31|9|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/prime-skills/runcomfy-agent-skills --skill nano-banana-edit-prime-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-edit
Source: https://github.com/prime-skills/runcomfy-agent-skills/tree/main/nano-banana-edit
Command: npx skills add https://github.com/prime-skills/runcomfy-agent-skills --skill nano-banana-edit-prime-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines high-quality image-to-image editing while preserving a subject’s identity, pose, clothing, composition, and brand details.

Core Features & Use Cases

  • Identity-Preserving Edits: Swap backgrounds, clothing, or visual environments without unnecessarily changing the main subject.
  • Localized Changes: Remove or add specific objects and modify defined regions using precise spatial language.
  • Batch Variations: Edit up to 20 input images consistently with locked aspect ratios and resolutions, supporting product galleries, advertising variants, and brand asset updates.
  • RunComfy Integration: Submit edits through the RunComfy CLI with configurable outputs, seeds, resolutions, formats, safety tolerance, and web grounding.

Quick Start

Ask the nano-banana-edit skill to keep the subject unchanged while replacing the background of the provided image with 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 while preserving the subject's identity and background details?

To perform identity-preserving image editing, use this Skill to apply background swaps or clothing changes while maintaining the subject's original features. It processes localized edits using precise spatial language to ensure visual consistency.

Can I do batch image editing for advertising variants with consistent aspect ratios?

Yes, you can perform batch image editing for up to 20 images simultaneously. The process locks aspect ratios and resolutions to generate consistent advertising variants, product galleries, and brand asset updates across the entire batch.

How do I replace a background using a text prompt without changing the main subject?

You can replace a background by submitting a prompt that specifies keeping the subject unchanged while describing the new environment. The Skill applies localized changes to defined regions, ensuring the main subject's pose and identity remain intact.

Do I need the RunComfy CLI to perform localized object edits on images?

Yes, the RunComfy CLI and authenticated RunComfy access are required. You must submit publicly fetchable HTTPS image URLs through the CLI to apply localized object edits via the Nano Banana 2 edit endpoint.

What are the limitations when using identity-preserving image editing for brand asset relocalization?

Limitations include a maximum batch size of 20 images and the requirement for publicly fetchable HTTPS URLs. Inputs must conform to valid Nano Banana 2 edit endpoint parameters, and users need authenticated RunComfy access.

What's the best way to generate multiple product gallery images with consistent resolutions?

The best way to generate consistent product gallery images is using the batch editing feature, which processes up to 20 images while locking aspect ratios and resolutions. This ensures uniform outputs across all advertising variants.