By johnpsasser
Generate and edit photorealistic images with perfect text rendering using Nano Banana Pro (Gemini 3 Pro Image). Auto-enhances prompts and supports aspect ratio, resolution, and reference-image editing.
A Claude Code skill for generating images with Gemini 3 Pro Image (Nano Banana Pro).
The skill automatically transforms your requests into optimized prompts that exploit Nano Banana Pro's best features: perfect text rendering, logical reasoning for infographics, and photorealistic consistency.
/plugin marketplace add 0-to-1-Labs/claude-marketplace
/plugin install nanobanana@0to1-labs
Then set your API key:
export GEMINI_API_KEY="your-key-here"
curl -sL https://raw.githubusercontent.com/johnpsasser/nanobanana/main/install.sh | bash
This copies the skill into ~/.claude/skills/nanobanana. Set your API key the
same way as above.
Just ask Claude Code to generate images. The skill activates automatically.
Simple:
Generate an image of a fluffy cat on a cloud
Infographic:
Create a diagram showing how an espresso machine works
Poster with text:
Make a poster for a jazz night called "Blue Moon" on Friday
Portrait:
Portrait of a woman with freckles and green eyes, wearing headphones
Edit an existing image:
Take portrait.png and replace the background with a snowy mountain at golden hour
You can also ask for a specific shape or quality ("make it a 9:16 phone wallpaper", "render it at 4K"), and the skill wires that to the model's aspect ratio and resolution controls. Add "make a quick draft" to use the faster, cheaper Flash model instead of Pro.
Nano Banana Pro is a reasoning-based model. It does best with natural language descriptions, not keyword soup. This skill handles the translation:
The model is particularly good at rendering text in images. If your image needs signage, labels, or titles, just describe what the text should say.
If you prefer not to run the install script:
Create the skill directory:
mkdir -p ~/.claude/skills/nanobanana/scripts
Copy the files:
curl -sL https://raw.githubusercontent.com/johnpsasser/nanobanana/main/SKILL.md \
-o ~/.claude/skills/nanobanana/SKILL.md
curl -sL https://raw.githubusercontent.com/johnpsasser/nanobanana/main/requirements.txt \
-o ~/.claude/skills/nanobanana/requirements.txt
curl -sL https://raw.githubusercontent.com/johnpsasser/nanobanana/main/scripts/generate.py \
-o ~/.claude/skills/nanobanana/scripts/generate.py
Install the dependencies (the script also auto-installs these on first run):
pip install google-genai pillow
Set your API key (see above)
Restart Claude Code
Images are saved as nanobanana_YYYYMMDD_HHMMSS.png in your current directory.
By default it uses Nano Banana Pro (gemini-3-pro-image) for the best text
rendering and fidelity. Quick drafts can use the faster, cheaper Flash model
(gemini-3.1-flash-image). All generated images carry an invisible
SynthID watermark.
"GEMINI_API_KEY not set"
Make sure it's exported in your shell. Check with echo $GEMINI_API_KEY. If it's empty, add it to your .zshrc or .bashrc and restart your terminal.
"google-genai not installed"
The skill tries to auto-install it (and pillow, used for image editing) on first
run. If that fails — usually because of multiple Python versions or an
externally-managed environment — install manually with one of:
pip install --user google-genai pillow
pip install --break-system-packages google-genai pillow
API errors
Check that your key is valid at Google AI Studio. Free tier has usage limits.
MIT. Do whatever you want with it.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Analyzes Infrastructure as Code (Terraform, CloudFormation, Kubernetes, Docker Compose) and generates professional cloud architecture diagrams with Nano Banana Pro (Gemini 3 Pro Image).
Review a pull request using a dual-family pipeline (OpenAI Codex + Claude Opus) with a cross-family grounded verifier and a deterministic lint/typecheck/test floor.
Create distinctive, production-grade frontend interfaces with high design quality — expanded, anti-AI-slop fork of the stock skill with stronger triggering, richer typographic and aesthetic direction.
npx claudepluginhub 0-to-1-labs/claude-marketplace --plugin nanobananaStandalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Memory compression system for Claude Code - persist context across sessions
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns