Install the skill above, then run this in your AI tool:
/nano-banana-2 <your description>
About
Generate new images or edit existing images with Nano Banana 2 (`gemini-3.1-flash-image-preview`).
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
1 Flash Image Preview) API. This skill should be used when the user asks to create or modify images, especially when they need fast iteration, explicit aspect-ratio control,...
Skill instructions
Nano Banana 2 Image Generation & Editing
Generate new images or edit existing images with Nano Banana 2 (gemini-3.1-flash-image-preview).
Usage
Run the script using absolute or workspace-relative path (do NOT cd into the skill directory first):
For generation, pass the user's request as-is unless critically underspecified.
For editing, include explicit transformation instructions in the prompt and preserve the original intent.
Output
Save PNG to the current directory (or to a provided path in --filename)
Return the full saved path(s)
Do not read the output image back unless explicitly requested
Examples
Create a 4K widescreen image:
bash
uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "Futuristic city skyline at blue hour with neon reflections" --filename "2026-02-26-17-45-00-futuristic-skyline.png" --resolution 4K --aspect-ratio 16:9
Edit with multiple references:
bash
uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "Create a polished campaign image that keeps the exact logo details and character identity" --filename "2026-02-26-17-50-10-campaign-image.png" --input-image "logo.png" --input-image "character.png" --resolution 2K --aspect-ratio 4:5
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/intellectronica/nano-banana-2/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@intellectronica/nano-banana-2@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Generate and edit images using Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) API. This skill should be used when the user asks to create or modify images, especially when they need fast iteration, explicit aspect-ratio control,...
Run aipm add @intellectronica/nano-banana-2@1.0.0 in a project that has AIPM initialized.
Supported tools
@intellectronica/nano-banana-2@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.