nano-banana-v2-openrouter
Installation
SKILL.md
Nano Banana Pro 2 Image Generation & Editing (OpenRouter)
Generate new images or edit existing ones using Gemini 3.1 Flash Image Preview via OpenRouter.
Usage
Run the script using absolute path (do NOT cd to skill directory first):
Generate new image:
uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--resolution 0.5K|1K|2K|4K] [--api-key KEY]
Edit existing image:
uv run {baseDir}/scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input.png" [--resolution 0.5K|1K|2K|4K] [--api-key KEY]
Important: Always run from the user's current working directory so images are saved where the user is working, not in the skill directory.