About nano-banana-pro
nano-banana-pro is an OpenClaw skill for generating and editing images with Gemini 3 Pro Image. It supports single-image edits and compositions using multiple input images, with selectable output resolutions.
Key features
- 01Generate images from prompts
- 02Edit an input image
- 03Compose up to 14 images
- 04Choose 1K, 2K, or 4K output
Use cases
- 01Create an image from a text description
- 02Revise an existing image with instructions
- 03Combine several images into one scene
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ pedronauck/ skills --skill nano-banana-proAfter installing, type/nano-banana-proin Claude Code to confirm it loaded.
Bundled filesscripts/generate_image.py
Details
From the project READMENano Banana Pro (Gemini 3 Pro Image)
Use the bundled script to generate or edit images.
Generate
uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K
Edit (single image)
uv run {baseDir}/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" -i "/path/in.png" --resolution 2K
Multi-image composition (up to 14 images)
uv run {baseDir}/scripts/generate_image.py --prompt "combine these into one scene" --filename "output.png" -i img1.png -i img2.png -i img3.png
API key
GEMINI_API_KEYenv var- Or set
skills."nano-banana-pro".apiKey/skills."nano-banana-pro".env.GEMINI_API_KEYin~/.openclaw/openclaw.json
Notes
- Resolutions:
1K(default),2K,4K. - Use timestamps in filenames:
yyyy-mm-dd-hh-mm-ss-name.png. - The script prints a
MEDIA:line for OpenClaw to auto-attach on supported chat providers. - Do not read the image back; report the saved path only.
Comments
Markdown supported