nano-banana-pro
Generate and edit high-quality images using Google's Nano Banana Pro (Gemini 3 Pro Image) AI model. Use this skill when working with AI image generation or editing tasks including (1) Creating images from text prompts with professional quality, (2) Editing existing images with natural language instructions, (3) Multi-turn iterative image refinement, (4) Product photography and marketing visuals, (5) Creating infographics and diagrams with text, (6) Photorealistic and artistic image generation, (7) Batch image generation workflows, (8) Testing and troubleshooting Gemini image generation API. Su
npx skills add majiayu000/claude-skill-registry --skill nano-banana-pro-tdimino-claude-code-minoan --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Generates and edits high-quality images using Google's Gemini 3 Pro Image model. It covers creating images from text prompts, editing existing images with natural language instructions, multi-turn iterative refinement, batch generation, and reference-based generation to maintain style across images. It supports up to 4K resolution, multiple aspect ratios, reference images, and advanced prompting techniques for cinema-quality results.
How it works
- Configure API access by setting GEMINI_API_KEY in the environment.
- Use the provided scripts to perform tasks:
- Test API connection with
python scripts/test_connection.py --api-key YOUR_KEYor by exporting GEMINI_API_KEY and runningpython scripts/test_connection.py. - Generate an image from text with
python scripts/generate_image.py "<prompt>"and optional flags like--aspect-ratio,--temperature,--output, and--filename. - Edit an existing image with
python scripts/edit_image.py "<edit prompt>" input.jpgand optional flags such as--aspect-ratio,--temperature,--output, and--filename. - Use multi-turn editing by chaining successive
edit_image.pycalls, each building on the previous output. - Perform batch generation via a shell script or Python wrapper that calls
generate_image.pymultiple times with different prompts and output paths. - Use reference-based generation with
generate_with_references.pyby supplying a prompt and one or more reference images.
- Test API connection with
- Utilize core workflows including text-to-image generation, image edits, batch generation, and reference-based generation to meet varied image production needs.
- Adjust prompting following best practices for structure, cinematic language, layering, and iterative refinement.
When to use it
Use when you need professional-quality images from text prompts, need to edit or refine existing images with natural language instructions, perform batch variations, maintain style across multiple images using references, or troubleshoot Gemini image generation API integration.
What it can touch
- Tools/scripts:
scripts/test_connection.py,scripts/generate_image.py,scripts/edit_image.py,scripts/generate_with_references.py. - Environment:
GEMINI_API_KEYas an environment variable. - Files touched by operations include output directories (e.g.,
./output,./campaign, etc.) and filenames provided via--filename.
Caveats
- API keys and usage are governed by Gemini API terms and pricing, including per-image costs and rate limits outlined in the script bundle references.
- Output quality and specific capabilities depend on prompt quality, input data, and chosen parameters (e.g.,
--temperature,--aspect-ratio). - Editing supports input formats JPEG, PNG, WebP for inputs and outputs as per API details.
# Nano Banana Pro (Gemini 3 Pro Image) Generate and edit professional-quality images using Google's state-of-the-art Gemini 3 Pro Image model. ## API Configuration Set your Gemini API key as an environment variable: ```bash export GEMINI_API_KEY="your-api-key-here" ``` Get your API key at: https://aistudio.google.com/apikey ## Quick Start ### Test API Connection Before generating images, verify API credentials: ```bash python scripts/test_connection.py --api-key YOUR_KEY ``` Or set environment variable: ```bash export GEMINI_API_KEY="your-api-key-here" python scripts/test_connection.py ``` ### Generate Image from Text ```bash python scripts/generate_image.py "A futuristic cityscape at sunset, neon lights, cyberpunk style" ``` With options: ```bash python scripts/generate_image.py "Portrait of a cat" \ --aspect-ratio 9:16 \ --temperature 0.7 \ --output ./my_images \ --filename cat_portrait ``` ### Edit Existing Image ```bash python scripts/edit_image.py "Make the sky more dramatic with storm clouds" input.jpg ``` With options: ```bash python scripts/edit_image.py "Change car color to red" photo.png \ --aspect-ratio 16:9 \ --output ./edited \ --filename red_car ``` ## Core Workflows
- API Configuration
- Quick Start
- Test API Connection
- Generate Image from Text
- Edit Existing Image
- Core Workflows
- 1. Text-to-Image Generation
- 2. Image Editing & Refinement
- 3. Batch Generation
- 4. Reference-Based Generation
- Prompting Best Practices
- Essential Structure
- Key Principles
- Cinematic Digital Painting Style
export GEMINI_API_KEY="your-api-key-here" python scripts/test_connection.py --api-key YOUR_KEY python scripts/test_connection.py python scripts/generate_image.py "A futuristic cityscape at sunset, neon lights, cyberpunk style" python scripts/generate_image.py "Portrait of a cat" \ python scripts/edit_image.py "Make the sky more dramatic with storm clouds" input.jpg python scripts/edit_image.py "Change car color to red" photo.png \ High-quality product photography python scripts/generate_image.py \ python scripts/edit_image.py \
What does the nano-banana-pro skill do?
Generate and edit high-quality images using Google's Nano Banana Pro (Gemini 3 Pro Image) AI model. Use this skill when working with AI image generation or editing tasks including (1) Creating images from text prompts with professional quality, (2) Editing existing images with natural language instructions, (3) Multi-turn iterative image refinement, (4) Product photography and marketing visuals, (5) Creating infographics and diagrams with text, (6) Photorealistic and artistic image generation, (7) Batch image generation workflows, (8) Testing and troubleshooting Gemini image generation API. Su
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill nano-banana-pro-tdimino-claude-code-minoan --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
