Generate, edit, and compose images using Google's Gemini 3 Pro Image model (Nano Banana Pro). Use this skill when the user asks to create images, generate visuals, edit photos, compose multiple images, create logos, thumbnails, infographics, product shots, or any image generation task. Supports text-to-image, image editing, multi-image composition (up to 14 images), iterative refinement, aspect ratio control, and Google Search-grounded image generation for real-time data visualization.
View on GitHubdevonjones/devon-claude-skills
nano-banana
plugins/nano-banana/skills/nano-banana/SKILL.md
January 18, 2026
Select agents to install to:
npx add-skill https://github.com/devonjones/devon-claude-skills/blob/main/plugins/nano-banana/skills/nano-banana/SKILL.md -a claude-code --skill nano-bananaInstallation paths:
.claude/skills/nano-banana/# Nano Banana Pro Image generation skill powered by Google's Gemini 3 Pro Image model. Enables text-to-image generation, image editing, multi-image composition, and real-time data visualization. ## Requirements - `GEMINI_API_KEY` environment variable set - Python packages: `google-genai`, `Pillow` Install dependencies: ```bash pip install -r requirements.txt ``` ## Quick Start ### Generate an Image ```bash python scripts/generate_image.py "A cat wearing a wizard hat" cat.png ``` ### Edit an Existing Image ```bash python scripts/edit_image.py photo.png "Add a sunset to the background" edited.png ``` ### Compose Multiple Images ```bash python scripts/compose_images.py "Create a group photo in an office" team.png person1.png person2.png ``` ## Available Scripts | Script | Purpose | |--------|---------| | `generate_image.py` | Text-to-image generation | | `edit_image.py` | Edit/modify existing images | | `compose_images.py` | Combine up to 14 reference images | | `chat_image.py` | Interactive multi-turn refinement | | `search_grounded_image.py` | Generate images with real-time search data | ## Generation Options ### Aspect Ratios `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9` ### Resolutions `1K` (1024px), `2K`, `4K` ### Usage with Options ```bash python scripts/generate_image.py "Futuristic motorcycle on Mars" mars.png --aspect 16:9 --size 4K ``` ## Task Workflows ### Logo Generation ```bash python scripts/generate_image.py "Clean black-and-white logo with text 'Daily Grind', sans-serif font, coffee bean icon, minimalist style" logo.png --aspect 1:1 ``` ### Product Mockup ```bash python scripts/generate_image.py "Studio-lit product photo on polished concrete, 3-point softbox, 45-degree angle, professional e-commerce style" product.png --aspect 4:3 --size 4K ``` ### Photorealistic Portrait ```bash python scripts/generate_image.py "A photorealistic close-up portrait, shot on 85mm lens, golden hour lighting, shallow depth