nano-banana

Generate and edit images via the Gemini CLI nanobanana extension.

1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/matsumuratk/elmo-aws --skill nano-banana-matsumuratk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nano-banana
Source: https://github.com/matsumuratk/elmo-aws/tree/main/.claude/skills/nanobanana
Command: npx skills add https://github.com/matsumuratk/elmo-aws --skill nano-banana-matsumuratk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @google/gemini-cli.

What problem does it solve? Creating visual assets like blog headers, thumbnails, icons, and diagrams normally requires design tools or external services; this Skill generates and edits images directly from natural language prompts through the Gemini CLI. ## Core Features & Use Cases - Text-to-Image Generation: Create blog featured images, YouTube thumbnails, social banners, and illustrations with size and style options. - Image Editing & Restoration: Modify existing images, remove backgrounds, and repair damaged or old photos. - Specialized Generators: Produce app icons, flowcharts, seamless patterns, and sequential story images. - Use Case: Ask for a 1200x630 featured image for a machine learning blog post and receive generated variations saved to ./nanobanana-output/. ## Quick Start Ask the assistant to generate a modern flat illustration blog header about machine learning and preview the result.

Frequently Asked Questions about nano-banana

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images with the Gemini CLI nanobanana extension?▼

Run gemini --yolo "/generate 'your prompt'" after installing the nanobanana extension and setting your Gemini API key. Generated images are saved to ./nanobanana-output/ in the current directory.

How do I edit or restore an existing photo with nanobanana?▼

Use gemini --yolo "/edit file.png 'instruction'" to modify an existing image, or gemini --yolo "/restore old_photo.jpg 'fix scratches'" to repair damaged photos. Both commands operate on local image files.

What prerequisites does the nanobanana image skill need?▼

You need the Gemini CLI installed via npm, a Gemini API key from Google AI Studio set as an environment variable, and the nanobanana extension installed with gemini extensions install.

Why does nanobanana image generation fail?▼

Common causes include a missing GEMINI_API_KEY, an uninstalled extension, quota limits, or policy-violating prompts. Verify the API key, reinstall the extension, switch to the flash model, or simplify the prompt.

Can I control image size and model quality in nanobanana?▼

Yes, use aspect options like --aspect=16:9 for thumbnails and set NANOBANANA_MODEL=gemini-3-pro-image-preview for higher quality output. The default gemini-2.5-flash-image costs roughly $0.04 per image.