nanobanana
Installation
SKILL.md
Nano Banana - AI Image Generation Skill
Use the Python scripts in scripts/ to generate and edit images via Google Gemini.
The model is automatically selected based on prompt complexity:
| Model | ID | When used |
|---|---|---|
| Nano Banana Pro | gemini-3-pro-image-preview |
Complex or high-quality requests |
| Nano Banana 2 | gemini-3.1-flash-image-preview |
Simple, lightweight requests |
Nano Banana Pro is auto-selected when any of these conditions are met (OR):
--proflag is specified- Prompt contains quality keywords (e.g.
高品質,高精細,プロ,professional,photorealistic) - Prompt is 100+ characters long
- 2 or more input images
- 4K resolution requested
- Google Search grounding enabled