nanobanana

Featured

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.

AI & Automation 1,804 stars 164 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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](https://aistudio.google.com/apikey) - Python 3.10+ with `google-genai` package **Install dependencies:** ```bash pip install google-genai pillow ``` ## Quick Start ### Generate an image: ```bash python3 <skill_dir>/scripts/generate.py "a cute robot mascot, pixel art style" -o robot.png ``` ### Edit an existing image: ```bash python3 <skill_dir>/scripts/generate.py "make the background blue" -i input.jpg -o output.png ``` ### Generate with specific aspect ratio: ```bash python3 <skill_dir>/scripts/generate.py "cinematic landscape" --ratio 21:9 -o landscape.png ``` ### Generate high-resolution 4K image: ```bash python3 <skill_dir>/scripts/generate.py "professional product photo" --size 4K -o product.png ``` ## Script 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 ...

Details

Author
ReScienceLab
Repository
ReScienceLab/opc-skills
Created
7 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content โ€” not just same category

AI & Automation Listed

nano-banana

Use when the user asks to create or generate an image, visual, logo, thumbnail, infographic, product shot, hero image, OG image, blog/Substack header, sticker, portrait, or any text-to-image or image-generation task; edit a photo; compose multiple images; refine an image iteratively; set aspect ratio/resolution; or visualize real-time data (weather, stocks, news) with Gemini's Nano Banana Pro. Not for text generation, design feedback (design:design-critique), or template designs (Canva MCP).

36 Updated yesterday
mycelium-hq
AI & Automation Listed

nanobanana

Gemini็”ปๅƒ็”ŸๆˆAPIใงใƒ†ใ‚ญใ‚นใƒˆใ‹ใ‚‰็”ปๅƒ็”Ÿๆˆใ€ๆ—ขๅญ˜็”ปๅƒใฎ็ทจ้›†ใ‚’่กŒใ†ใ‚นใ‚ญใƒซใ€‚ ใ€Œ็”ปๅƒใ‚’็”Ÿๆˆใ—ใฆใ€ใ€Œใ‚คใƒฉใ‚นใƒˆใ‚’ไฝœใฃใฆใ€ใ€Œๅ†™็œŸใ‚’็ทจ้›†ใ—ใฆใ€็ญ‰ใฎใƒชใ‚ฏใ‚จใ‚นใƒˆใง็™บๅ‹•ใ€‚

347 Updated 1 weeks ago
minicoohei
AI & Automation Solid

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. Supports up to 4K resolution, multiple aspect ratios, reference images, and advanced prompting techniques for cinema-quality results.

41 Updated today
tdimino