From nanobanana-skill
Generates or edits images using Google Gemini API via nanobanana.py Python script. Supports prompts, aspect ratios like 9:16, models such as gemini-3.1-flash, and resolutions up to 4K.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nanobanana-skill:nanobanana-skillThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate or edit images using Google Gemini API through the nanobanana tool.
Generate or edit images using Google Gemini API through the nanobanana tool.
~/.nanobanana.env or export GEMINI_API_KEY=<your-api-key>python3 -m pip install -r ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/requirements.txt if not installed yet.${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.pyAsk the user for:
Run the nanobanana script with appropriate parameters:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "description of image" --output "filename.png"
Show the user the saved image path when complete
Ask the user for:
Run with input images:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
1024x1024 (1:1) - Square832x1248 (2:3) - Portrait1248x832 (3:2) - Landscape864x1184 (3:4) - Portrait1184x864 (4:3) - Landscape896x1152 (4:5) - Portrait1152x896 (5:4) - Landscape768x1344 (9:16) - Portrait (default)1344x768 (16:9) - Landscape1536x672 (21:9) - Ultra-widegemini-3.1-flash-image-preview (default) - Latest, fast generationgemini-3-pro-image-preview - Higher quality, supports thinking/reasoning1K (default)2K4K--no-search - Disable Google Search grounding (enabled by default)--no-think - Disable thinking/reasoning modepython3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
--prompt "Modern minimalist logo for a tech startup" \
--size 1024x1024 \
--output "logo.png"
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
--prompt "Futuristic cityscape with flying cars" \
--size 1344x768 \
--resolution 2K \
--output "cityscape.png"
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
--prompt "Add a rainbow in the sky" \
--input photo.png \
--output "photo-with-rainbow.png"
python3 ${CLAUDE_PLUGIN_ROOT}/skills/nanobanana-skill/nanobanana.py \
--prompt "Detailed portrait of a cat in watercolor style" \
--model gemini-3-pro-image-preview \
--output "cat-portrait.png"
If the script fails:
GEMINI_API_KEY is exported or set in ~/.nanobanana.env4plugins reuse this skill
First indexed Jul 13, 2026
npx claudepluginhub p/stefanocarraro-nanobanana-skill-plugins-nanobanana-skillGenerates or edits images via Google Gemini API. Default image skill — activates on requests to generate, create, or edit images when no other provider is named.
Generates or edits images using Google Gemini API via nanobanana. Supports aspect ratios, resolutions, and multiple Gemini models.
Generates and edits images via Google's Gemini 3.1 Flash (gemini-3.1-flash-image-preview). Supports 512/1K/2K/4K resolutions. Use for thumbnails, cover art, or photo edits.