nanobanana-skill
Skill by feiskyer
Generates or edits images through Google Gemini using the nanobanana tool. Built as an agent skill for AI assistants handling image requests that do not name another provider.
Install nanobanana-skill
Built from the published package, never by AI.
git clone --depth 1 https://github.com/feiskyer/claude-code-settings /tmp/claude-code-settings && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-settings/skills/nanobanana-skill ~/.claude/skills/nanobanana-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/feiskyer/claude-code-settings /tmp/claude-code-settings && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-settings/skills/nanobanana-skill ~/.gemini/antigravity-cli/skills/nanobanana-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
nanobanana-skill is an agent skill that generates or edits images through Google Gemini, using a tool called nanobanana. The skill runs a bundled Python script, nanobanana.py, with a prompt, optional input images, an aspect ratio, a model and a resolution. Its description says it should be the default image skill when a user asks for an image without naming another provider. It also says diagrams such as architecture, flow or sequence charts should be drawn with Mermaid or code instead.
It needs a GEMINI_API_KEY set in ~/.nanobanana.env or as an environment variable, plus Python 3 with google-genai, Pillow and python-dotenv. The default model is gemini-nano-banana-2.1 at 1K resolution with a 9:16 portrait ratio. Google Search grounding and thinking mode are on by default and can be turned off. It is aimed at people who want to generate or edit images from an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- Image generationCreates an image from a text prompt and saves it to a chosen or auto-generated filename.
- Image editingEdits one or more input image files based on a text instruction.
- Aspect ratiosOffers ten sizes from 1:1 square to 21:9 ultra-wide, with 9:16 portrait as default.
- Model choiceLets the user pick between four Gemini image models, with gemini-nano-banana-2.1 as default.
- Resolution optionsOutputs at 1K, 2K or 4K resolution, with 1K as default.
- Google Search groundingEnabled by default and can be turned off with the --no-search option.
What you need
- GEMINI_API_KEY set in ~/.nanobanana.env or as an environment variable
- Python 3
- google-genai, Pillow and python-dotenv Python packages
Try asking
- Generate a square 1024x1024 logo for a tech startup
- Edit photo.png and add a rainbow in the sky
- Create a 16:9 wallpaper of a futuristic cityscape at 2K
Good to know
- gemini-2.5-flash-image has no Google Search or thinking and always outputs 1K.
- Diagrams should be drawn with Mermaid or code instead of this skill.
Security check
B- Allowed to use Write without limitsIn
SKILL.md
Checked automatically: skills/nanobanana-skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteGlobGrepTaskBash(cat:*)Bash(ls:*)Bash(tree:*)Bash(python3:*)
-
SKILL.md4 KB -
nanobanana.py5 KB -
requirements.txt47 B
Alternatives to nanobanana-skill
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
nanobanana-skill: common questions
Which model does nanobanana-skill use by default?
It uses gemini-nano-banana-2.1 by default. Users can choose gemini-3.1-flash-image, gemini-3-pro-image or gemini-2.5-flash-image instead.
Can it edit an existing image?
Yes. Pass one or more input images with --input and a text prompt describing the changes.
Does it generate diagrams?
No. The description says diagrams such as architecture, flow or sequence charts should be drawn with Mermaid or code instead.
How do I install nanobanana-skill?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nanobanana-skill free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is nanobanana-skill safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write without limits). Review the code before you install. How grades work.
What are alternatives to nanobanana-skill?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
