/nanobanana:nanobanana runs instead · from nanobanana
Generates and edits images using the Nano Banana MCP server with Gemini models. Handles thumbnails, icons, diagrams, patterns, and photo restoration.
This skill never runs in Claude Code
It ships in nanobanana at skills/, but /nanobanana:nanobanana (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Generate and edit images directly via the Nano Banana MCP server tools. No Gemini CLI dependency.
Upstream reference: https://github.com/gemini-cli-extensions/nanobanana
ALWAYS use this skill when the user:
Do NOT attempt to generate images through any other method.
Before first use, verify prerequisites:
GEMINI_API_KEY or NANOBANANA_API_KEY environment variableIf MCP tools are not available, the plugin may need reinstalling. See references/troubleshooting.md.
| User Request | MCP Tool |
|---|---|
| "generate an image of..." | generate_image |
| "create an app icon" | generate_icon |
| "draw a flowchart of..." | generate_diagram |
| "fix this old photo" | restore_image |
| "edit this image" | edit_image |
| "create a repeating texture" | generate_pattern |
| "make a comic strip" | generate_story |
Call the MCP tools directly with structured parameters:
Tool: generate_image
Parameters:
prompt: "a sunset over mountains, photorealistic"
outputCount: 3
Tool: edit_image
Parameters:
prompt: "change the background to a beach scene"
file: "/absolute/path/to/image.jpg"
Tool: generate_icon
Parameters:
prompt: "coffee cup logo"
sizes: [64, 128, 256, 512]
type: "app-icon"
style: "modern"
corners: "rounded"
Tool: generate_diagram
Parameters:
prompt: "microservices architecture for e-commerce platform"
type: "architecture"
style: "professional"
complexity: "detailed"
For full parameter reference for all 7 tools, see references/commands.md.
generate_image, always use 3 unless user specifies otherwise. Other tools have their own count semantics (e.g., generate_icon uses sizes, generate_story uses steps).gemini-3.1-flash-image-preview (override via NANOBANANA_MODEL env var)./nanobanana-output/ in current directoryAfter generation completes:
./nanobanana-output/ to find generated filesWhen the user asks for changes:
generate_image again with outputCount: 3edit_image with the file path and edit instructionsstyles array parameterFor image quality guidelines (style compliance, text accuracy, story consistency), see references/generation-guidelines.md.
For error troubleshooting, see references/troubleshooting.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
image-generation, gemini, nanobanana, mcp, photo-editing, icon-generation
npx claudepluginhub lucklyric/cc-dev-tools --plugin nanobananaOther plugins' skills for the same job