By tayzar-tznw
Generate and manipulate images using Google Gemini's Nano Banana models - text-to-image, editing, restoration, icons, patterns, stories, and diagrams
You are a command parser for the nanobanana diagram command. You must validate arguments and return structured data.
You are a command parser for the nanobanana edit command. You must validate arguments and return structured data.
You are a command parser for the nanobanana generate command. You must validate arguments and return structured data.
You are a command parser for the nanobanana icon command. You must validate arguments and return structured data.
Please use the nanobanana MCP server tools to help with image generation and manipulation tasks based on the user's natural language request.
Generate technical diagrams, flowcharts, and architectural mockups. Use when the user asks to create a diagram, flowchart, architecture diagram, network diagram, database schema, wireframe, mindmap, or sequence diagram.
Edit an existing image based on text instructions. Use when the user asks to edit, modify, change, or alter an existing image file.
Generate images from text prompts. Use when the user asks to create, generate, or make an image, illustration, artwork, photo, or picture.
Generate app icons, favicons, and UI elements. Use when the user asks to create icons, favicons, logos, or UI elements in specific sizes.
Natural language image generation and manipulation. Use when the user asks about images in a general way and doesn't match a more specific image skill.
Admin access level
Server config contains admin-level keywords
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.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
api_keyGemini API key for image generation. Get one from https://aistudio.google.com/apikey
${user_config.api_key}[!NOTE]
Nano Banana 2 (gemini-3.1-flash-image-preview) is now the default model (v1.0.11+)!You can still use the Pro model by setting the
NANOBANANA_MODELenvironment variable togemini-3-pro-image-preview.
A professional Claude Code plugin for generating and manipulating images using the Nano Banana models, powered by Google's Gemini image generation API.
Your API key is handled securely by the Claude Code plugin system. You don't need to set environment variables or create .env files.
During install: Claude Code automatically prompts you for your Gemini API key when you enable the plugin. The key is stored in your system keychain (macOS Keychain / Windows Credential Manager / Linux secret service) - never in plain text.
To change your key later:
/plugin in Claude CodeThe key is passed to the MCP server securely via the plugin's userConfig system.
The following Nano Banana models are supported:
gemini-3.1-flash-image-preview (Nano Banana 2 - default)gemini-3-pro-image-preview (Nano Banana Pro)gemini-2.5-flash-image (Nano Banana v1)To use a different model, set the NANOBANANA_MODEL environment variable:
export NANOBANANA_MODEL=gemini-3-pro-image-preview
Add the marketplace and install the plugin from within Claude Code:
/plugin marketplace add tayzar-tznw/claude-nanobana-plugin
/plugin install nanobanana@nanobanana
You'll be prompted for your Gemini API key during setup. That's it - all commands and the MCP server are ready to use.
If you want to test or develop the plugin locally:
git clone https://github.com/tayzar-tznw/claude-nanobana-plugin
cd claude-nanobana-plugin
npm install
claude --plugin-dir .
Once installed, the following slash commands will be available in Claude Code (namespaced under nanobanana:):
/nanobanana:generate - Single or multiple image generation with style/variation options/nanobanana:edit - Image editing/nanobanana:restore - Image restoration/nanobanana:icon - Generate app icons, favicons, and UI elements in multiple sizes/nanobanana:pattern - Generate seamless patterns and textures for backgrounds/nanobanana:story - Generate sequential images that tell a visual story or process/nanobanana:diagram - Generate technical diagrams, flowcharts, and architectural mockups/nanobanana:nanobanana - Natural language interfaceThe plugin provides multiple command options for different use cases:
Generate Images:
# Single image
/generate "a watercolor painting of a fox in a snowy forest"
# Multiple variations with preview
/generate "sunset over mountains" --count=3 --preview
# Style variations
/generate "mountain landscape" --styles="watercolor,oil-painting" --count=4
# Specific variations with auto-preview
/generate "coffee shop interior" --variations="lighting,mood" --preview
Edit Images:
/edit my_photo.png "add sunglasses to the person"
/edit portrait.jpg "change background to a beach scene" --preview
Restore Images:
/restore old_family_photo.jpg "remove scratches and improve clarity"
/restore damaged_photo.png "enhance colors and fix tears" --preview
Generate Icons:
# App icon in multiple sizes
/icon "coffee cup logo" --sizes="64,128,256" --type="app-icon" --preview
# Favicon set
/icon "company logo" --type="favicon" --sizes="16,32,64"
# UI elements
/icon "settings gear icon" --type="ui-element" --style="minimal"
Create Patterns:
# Seamless pattern
/pattern "geometric triangles" --type="seamless" --style="geometric" --preview
# Background texture
/pattern "wood grain texture" --type="texture" --colors="mono"
# Wallpaper pattern
/pattern "floral design" --type="wallpaper" --density="sparse"
Generate Stories:
# Visual story sequence
/story "a seed growing into a tree" --steps=4 --type="process" --preview
# Step-by-step tutorial
/story "how to make coffee" --steps=6 --type="tutorial"
npx claudepluginhub tayzar-tznw/claude-nanobana-plugin --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.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Streamline people operations — recruiting, onboarding, performance reviews, compensation analysis, and policy guidance. Maintain compliance and keep your team running smoothly.