mcpField
N
nano-banana-pro

nano-banana-pro

github.com/chunpuCreative & media3972 installsUpdated 30w ago
Repository

About nano-banana-pro

nano-banana-pro is a skill for generating and editing images with Gemini 3 Pro Image. It uses a bundled script for single-image edits and multi-image compositions, with several output resolutions.

Key features

  1. 01Generate images from prompts
  2. 02Edit a single input image
  3. 03Compose up to 14 images
  4. 04Choose 1K, 2K, or 4K resolution
  5. 05Provide API keys through environment or config

Use cases

  1. 01Generate an image from a text description
  2. 02Modify an existing image using edit instructions
  3. 03Combine multiple input images into one scene

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/chunpu/agent-skills --skill nano-banana-pro

After installing, type/nano-banana-proin Claude Code to confirm it loaded.

Bundled filesREADME.mdscripts/generate_image.py

Details

From the project README

Nano 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_KEY env var
  • Or set skills."nano-banana-pro".apiKey / skills."nano-banana-pro".env.GEMINI_API_KEY in ~/.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