Back to Skills

nano-banana-pro-openrouter

Generate or edit images via OpenRouter with the Gemini 3 Pro Image model. Use for prompt-only image generation, image edits, and multi-image compositing; supports 1K/2K/4K output.

30,356stars3,609forksUpdated 4/19/2026

Security Assessment

Low Risk(70/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY =, [SKILL.md] API_KEY=)
Security Score70/100

About nano-banana-pro-openrouter

The Nano Banana Pro OpenRouter skill leverages the power of OpenRouter with the Gemini 3 Pro Image model to generate and edit high-quality images based on textual prompts. By utilizing this skill, users can create stunning images, edit existing ones, or combine multiple images into a cohesive composition. It provides flexibility in how images are generated and edited, allowing users to specify prompts for creation or make adjustments to pre-existing images. This skill is especially valuable for anyone seeking to automate the process of creating visual content, whether for artistic purposes, marketing materials, or other creative endeavors.

FAQ

How do I generate an image with Nano Banana Pro OpenRouter?

You can generate an image by running the `generate_image.py` script with the `--prompt` option. Specify the prompt description and output filename.

What image resolutions are supported?

The skill supports resolutions of 1K, 2K, and 4K. The default resolution is 1K unless specified otherwise.

What do I need to use Nano Banana Pro OpenRouter?

You need the OpenRouter API key set in the environment variable `OPENROUTER_API_KEY`, as well as the `uv` tool installed.

Can I edit multiple images at once?

Yes, you can input up to 3 images for editing or composition, using repeated `--input-image` options.

What should I do if I receive an HTTP 401 error?

An HTTP 401 error indicates an authentication issue. Check that your OpenRouter API key is valid and has credits by visiting https://openrouter.ai/settings/keys.

All Files

3 files
scripts/generate_image.py5.8 KB
View
assets/SYSTEM_TEMPLATE1.1 KB
View
SKILL.md2.6 KB
View

Install nano-banana-pro-openrouter

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill