nano-banana-2 · 101-skills — Claude Code skill: image generation via Gemini
A skill for Claude Code, Codex, Cursor and other platforms that generates images with Google Gemini 3.1 Flash Image Preview (Nano Banana 2) through the belt CLI. Runs on text prompts, edits existing images, and accepts up to 14 input files.
no license 240 installs ★ 31 updated 2026-08-31
npx skills add 101-skills/superpowers --skill nano-banana-2 -a claude-codeWhat nano-banana-2 does
Calls belt app run google/gemini-3-1-flash-image-preview with JSON parameters: prompt (required), images (array of URLs or paths, up to 14 JPEG/PNG/WebP files for editing), num_images, aspect_ratio (1:1, 16:9, 9:16, 4:3, 3:4, auto), resolution (1K, 2K, 4K; defaults to 1K), and enable_google_search to ground generation in live data—weather, news, current facts.
Returns an images array with the output files, a description text field, and output_meta with pricing metadata. Requires belt login and the inference.sh belt CLI installed before first run; commands fail without it. Supports the inference.sh Python SDK with streaming progress updates.
Prompts can specify style (photorealistic, illustration, watercolor, anime, 3D render), composition (close-up, aerial view, portrait), lighting (golden hour, neon, dramatic shadows), and texture, color, mood detail. Generates multiple variants in one call and handles custom aspect ratios.
What it helps with
- generate an image from a text description with Gemini 3.1 Flash Image
- edit an existing image based on a prompt
- get four logo or illustration variants in one request
- create a 16:9 panoramic scene in 4K resolution
- ground image generation in live Google Search data
Example prompts for the agent
- Draw a banana in space, photorealistic, using
nano-banana-2 - Edit
landscape.jpg: add a rainbow in the sky - Create four minimalist coffee shop logo variants, 1:1 aspect ratio
How to install nano-banana-2
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill nano-banana-2 -a claude-code2Manually: put the files in place
~/.claude/skills/nano-banana-2/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nano-banana-2/
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill nano-banana-2 -a codex2Manually: put the files in place
.agents/skills/nano-banana-2/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill nano-banana-2 -a cursor2Manually: put the files in place
.cursor/skills/nano-banana-2/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install 101-skills/superpowers tools/image/nano-banana-22Manually: put the files in place
.github/skills/nano-banana-2/SKILL.md1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill nano-banana-2 -a gemini-cli2Platform CLI
gemini skills install https://github.com/101-skills/superpowers --path tools/image/nano-banana-2Manually: put the files in place
.devin/skills/nano-banana-2/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill nano-banana-2 -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about nano-banana-2
How to install nano-banana-2 in Claude Code?
Run npx skills add 101-skills/superpowers --skill nano-banana-2 -a claude-code; the skill file lands in ~/.claude/skills/nano-banana-2/SKILL.md.
What does nano-banana-2 do?
Generates images from text and edits existing images via Google Gemini 3.1 Flash Image Preview. Supports up to 14 input files, resolution up to 4K, custom aspect ratios, and grounding in Google Search data.
What does nano-banana-2 require?
The belt CLI from inference.sh and belt login authorization. Without them, belt app run commands will not execute.
Similar skills
All skills for AI and ML →nano-banana-2 by other authors comes first.