Agent skill
nano-banana-pro
Generate images using AI. Use when the user asks to create, generate, or make images, pictures, graphics, illustrations, visuals, or artwork. Also use for image editing with reference images.
Install this agent skill to your Project
npx add-skill https://github.com/idanbeck/claude-skills/tree/main/nano-banana-pro
SKILL.md
Nano Banana Pro - AI Image Generation
Generate images using Google's Gemini 3 Pro Image model.
Usage
Run the generation script:
python ~/.claude/skills/nano-banana-pro/generate_image.py "your prompt here" [options]
Options
| Option | Description | Default |
|---|---|---|
--resolution |
Output size: 1K, 2K, or 4K | 2K |
--aspect |
Aspect ratio: 16:9, 1:1, 4:3, 9:16, 3:4 | 16:9 |
--output |
Output directory path | ./generated_images |
--reference |
Reference image(s) for style/editing (up to 14) | None |
--format |
Output format: png, jpeg, webp | png |
--no-text |
Add instruction to exclude text/typography | off |
--cinematic |
Add cinematic film style (ARRI, shallow DoF, grain) | off |
--photorealistic |
Add photorealistic style hints | off |
Examples
Basic generation
python ~/.claude/skills/nano-banana-pro/generate_image.py "a serene mountain landscape at sunset, photorealistic"
Square image for social media
python ~/.claude/skills/nano-banana-pro/generate_image.py "abstract geometric pattern in blue and gold" --aspect 1:1 --resolution 2K
High-res with custom output
python ~/.claude/skills/nano-banana-pro/generate_image.py "futuristic city skyline" --resolution 4K --output ~/Pictures/ai-generated
Style transfer with reference image
python ~/.claude/skills/nano-banana-pro/generate_image.py "transform this into a watercolor painting" --reference input.jpg
Image editing with reference
python ~/.claude/skills/nano-banana-pro/generate_image.py "add a rainbow in the sky" --reference landscape.png
Output
Images are saved with timestamp filenames:
- Format:
{timestamp}_{sanitized_prompt}.{format} - Example:
20260106_143052_serene_mountain_landscape.png
The script outputs the full path to the generated image.
Requirements
- Python 3.10+
google-genailibraryGEMINI_API_KEYenvironment variable
Notes
- Gemini 3 Pro Image requires paid billing (no free tier)
- Generated images include SynthID watermarking
- Reference images enable style transfer and editing capabilities
- Raw prompts by default: Prompts are sent unadulterated. Use
--no-text,--cinematic, or--photorealisticflags to add style hints.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
fal-video-skill
godaddy-skill
Manage GoDaddy domains and DNS records. Use when the user asks to set up DNS, manage domain records, check DNS propagation, point domains to servers, or configure A/AAAA/CNAME/MX/TXT records. Supports bulk operations for quick domain setup.
gcal-skill
Read, create, and manage Google Calendar events. Use when the user asks to check calendar, view schedule, find meetings, create events, or see what's on the agenda. Supports multiple accounts.
google-docs-skill
Create, read, update, share, and export Google Docs. Use when the user asks to create documents, write content to Google Docs, share docs, export to PDF/DOCX, or convert markdown files to Google Docs.
film-maker-skill
flight-skill
Look up live flight status, track connecting flights, and check airport delays. Use when the user asks to check a flight, track someone's trip, or look up airport conditions.
Didn't find tool you were looking for?