nanobanana
Skill1.8k starsChanged 10 months agoApache-2.0View on GitHub
Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro). Supports text-to-image, image editing, various aspect ratios, and high-resolution output (2K/4K). Use when user wants to generate images, create images, use Gemini image generation, or do AI image generation.
- Reads credentials
- Installs packages
10 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- Xipher-Labs/walter-ostheir own version, first seen May 21, 2026
- link2004/skillstheir own version, first seen May 9, 2026
- leynos/visual-storytelling-skillstheir own version, first seen May 6, 2026
- grahac/claude_skillstheir own version, first seen Apr 18, 2026
- ludwighb/claude_skillsword for word, first seen Apr 13, 2026
- dortort/skillstheir own version, first seen Apr 7, 2026
Who's talking about ReScienceLab/opc-skills
- sudosubin/agents.nix“claude-code-plugins.github.resciencelab.opc-skills: init at 1.4.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.resciencelab.opc-skills: init at 1.4.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.resciencelab.opc-skills: init at 1.4.0”GitHub · Oct 1, 2026
- aiskillstore/marketplace“Update skill sources from monitor run 28920068644”GitHub · Jul 8, 2026
- demetriusthornton/inventory-wms-app“Add seo-geo skill from resciencelab/opc-skills”GitHub · May 21, 2026
The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 18
Talked about on GitHub (18 times).
On GitHub · 18
- Oct 4, 2026claude-code-plugins.github.resciencelab.opc-skills: init at 1.4.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.resciencelab.opc-skills: init at 1.4.0 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.resciencelab.opc-skills: init at 1.4.0 — sudosubin/agents.nix0 reactions
- Jul 8, 2026Update skill sources from monitor run 28920068644 — aiskillstore/marketplace0 reactions
- May 21, 2026Add seo-geo skill from resciencelab/opc-skills — demetriusthornton/inventory-wms-app0 reactions · 2 comments
13 more on GitHub
- Apr 18, 2026Audit candidate: ReScienceLab/opc-skills — xiaolai/nlpm0 reactions · 1 comment
- Mar 25, 2026feat(skills): add seo-geo agent skill — pekral/cursor-rules0 reactions
- Mar 25, 2026feat(SEO): new SEO skill — pekral/cursor-rules0 reactions · 1 comment
- Mar 9, 2026[Submission] ReScienceLab/opc-skills — ProSkillsMD/proskills0 reactions · 6 comments
- Feb 20, 2026twitter — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026requesthunt — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026reddit — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026producthunt — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026nanobanana — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026logo-creator — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026domain-hunter — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026banner-creator — AAswordman/OperitSkillMarket0 reactions
- Feb 6, 2026New skill: /resciencelab-seo-geo (low risk) — aiskillstore/marketplace0 reactions
Other versions10 projects use a version of this.
Word for word · 3
- JayAI623/claude-code-config★ 2100% same
- huangqianqian120/skillslibrary★ 1100% same
- ludwighb/claude_skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 7
- maragudk/skills★ 49same name
- link2004/skills★ 17same name
- leynos/visual-storytelling-skills★ 9same name
- Xipher-Labs/walter-os★ 8same name
- grahac/claude_skills★ 2same name
- dortort/skills★ 1same name
- johnfelixespinosa/claude-code-config★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- .factory/AGENTS.mdAGENTS.md
- seo-geoSkill
- archiveSkill
- banner-creatorSkill
- domain-hunterSkill
- logo-creatorSkill
- producthuntSkill
- redditSkill
- requesthuntSkill
- seo-geoSkill
- twitterSkill
- skill-nameSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 129
Create images from text descriptions.
- Distinctive: line 174
Use consistent prompts for style coherence
- Distinctive: line 175
Add 3-5 second delays to avoid rate limits
- Distinctive: line 181
Add delays between batch generations
- Distinctive: line 182
Check your quota at Google AI Studio
- Distinctive: line 195
Wait a few seconds and retry
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nano Banana - AI Image Generation
Generate and edit images using Google's Gemini 3 Pro Image model (gemini-3-pro-image-preview, nicknamed "Nano Banana Pro" 🍌).
Prerequisites
Required:
GEMINI_API_KEY- Get from Google AI Studio- Python 3.10+ with
google-genaipackage
Install dependencies:
pip install google-genai pillowQuick Start
Generate an image:
python3 <skill_dir>/scripts/generate.py "a cute robot mascot, pixel art style" -o robot.pngEdit an existing image:
python3 <skill_dir>/scripts/generate.py "make the background blue" -i input.jpg -o output.pngGenerate with specific aspect ratio:
python3 <skill_dir>/scripts/generate.py "cinematic landscape" --ratio 21:9 -o landscape.pngGenerate high-resolution 4K image:
python3 <skill_dir>/scripts/generate.py "professional product photo" --size 4K -o product.pngScript Reference
scripts/generate.py
Main image generation script.
Usage: generate.py [OPTIONS] PROMPT
Arguments:
PROMPT Text prompt for image generation
Options:
-o, --output PATH Output file path (default: auto-generated)
-i, --input PATH Input image for editing (optional)
-r, --ratio RATIO Aspect ratio (1:1, 16:9, 9:16, 21:9, etc.)
-s, --size SIZE Image size: 2K or 4K (default: standard)
--search Enable Google Search grounding for accuracy
-v, --verbose Show detailed outputSupported aspect ratios:
1:1- Square (default)2:3,3:2- Portrait/Landscape3:4,4:3- Standard4:5,5:4- Photo9:16,16:9- Widescreen21:9- Ultra-wide/Cinematic
scripts/batch_generate.py
Generate multiple images with sequential naming.
Usage: batch_generate.py [OPTIONS] PROMPT
Arguments:
PROMPT Text prompt for image generation
Options:
-n, --count N Number of images to generate (default: 10)
-d, --dir PATH Output directory
-p, --prefix STR Filename prefix (default: "image")
-r, --ratio RATIO Aspect ratio
-s, --size SIZE Image size (2K/4K)
--delay SECONDS Delay between generations (default: 3)Example:
python3 <skill_dir>/scripts/batch_generate.py "pixel art logo" -n 20 -d ./logos -p logoPython API
You can also use the module directly:
from generate import generate_image, edit_image
# Generate image
result = generate_image(
prompt="a futuristic city at night",
output_path="city.png",
aspect_ratio="16:9",
image_size="4K"
)
# Edit existing image
result = edit_image(
prompt="add flying cars to the sky",
input_path="city.png",
output_path="city_edited.png"
)Environment Variables
| Variable | Description | Default |
GEMINI_API_KEY | Google Gemini API key | Required |
IMAGE_OUTPUT_DIR | Default output directory | ./nanobanana-images |
Features
Text-to-Image Generation
Create images from text descriptions. The model excels at:
- Photorealistic images
- Artistic styles (pixel art, illustration, etc.)
- Product photography
- Landscapes and scenes
Image Editing
Transform existing images with natural language:
- Style transfer
- Object addition/removal
- Background changes
- Color adjustments
High-Resolution Output
- Standard: Fast generation, good quality
- 2K: Enhanced detail (2048px)
- 4K: Maximum quality (3840px), best for text rendering
Google Search Grounding
Enable --search for factually accurate images involving:
- Real people, places, landmarks
- Current events
- Specific products or brands
Best Practices
Prompt Writing
Good prompts include:
- Subject description
- Style/aesthetic
- Lighting and mood
- Composition details
- Color palette
Example:
"A cozy coffee shop interior, warm lighting, vintage aesthetic,
wooden furniture, plants on shelves, morning sunlight through windows,
soft focus background, 35mm film photography style"Batch Generation Tips
- Generate 10-20 variations to explore options
- Use consistent prompts for style coherence
- Add 3-5 second delays to avoid rate limits
- Review results and iterate on best candidates
Rate Limits
- Gemini API has usage quotas
- Add delays between batch generations
- Check your quota at Google AI Studio
Troubleshooting
"API key not found"
- Set
GEMINI_API_KEYenvironment variable - Or pass via
--api-keyoption
"No image in response"
- Prompt may have triggered safety filters
- Try rephrasing to avoid sensitive content
"Rate limit exceeded"
- Wait a few seconds and retry
- Reduce batch size or add longer delays
References
- references/prompts.md - Prompt examples by category
- examples/ - Example usage scripts
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

