# Nano Banana Pro

> Generate or edit images via Gemini 3 Pro Image on Replicate

- Skill: `johnalbertini14-glitch/nano-banana-pro-2` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add johnalbertini14-glitch/nano-banana-pro-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/johnalbertini14-glitch/nano-banana-pro-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: johnalbertini14-glitch (https://skillmd.com/u/johnalbertini14-glitch)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/johnalbertini14-glitch/nano-banana-pro-2

---


# Nano Banana Pro Image Generator

Generate and edit images using Google's Nano Banana Pro model via the Replicate API.

## Usage

Run the generation script:

    uv run --with replicate python {baseDir}/generate.py --prompt "<user prompt>" [--aspect-ratio 1:1] [--output image.png]

## Options

- `--prompt`: The image description (required)
- `--aspect-ratio`: Ratio like 1:1, 4:3, 16:9 (default: 1:1)
- `--output`: Output file path (default: generated_image.png)

## Rules

- Only use the `google/nano-banana-pro` model. Never fall back to other models like `google/nano-banana` or any alternative. If the model is unavailable or rate-limited, report the error to the user and stop.
- After generating an image, send the image file directly in the chat. Do not just save it to the workspace silently.

## Tips

- For text in images, be specific about fonts, size, and placement
- The model supports resolutions up to 2K
- Safety filtering is on by default

