Tooluck logoTooluck
SKILL.md

nanobanana

Agent skill fromReScienceLab/opc-skills

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.

How to install nanobanana

install nanobanana
# install the opc-skills pack with the skills CLI
npx skills add ReScienceLab/opc-skills

# or add only this skill to Claude Code: copy the folder

skills/nanobanana/

# into

~/.claude/skills/nanobanana/ (all projects)

.claude/skills/nanobanana/ (one project)

skills/nanobanana/SKILL.md

Apache-2.0Full file
1# Nano Banana - AI Image Generation
2
3Generate and edit images using Google's Gemini 3 Pro Image model (`gemini-3-pro-image-preview`, nicknamed "Nano Banana Pro" 🍌).
4
5## Prerequisites
6
7**Required:**
8- `GEMINI_API_KEY` - Get from [Google AI Studio](https://aistudio.google.com/apikey)
9- Python 3.10+ with `google-genai` package
10
11**Install dependencies:**
12```bash
13pip install google-genai pillow
14```
15
16## Quick Start
17
18### Generate an image:
19```bash
20python3 <skill_dir>/scripts/generate.py "a cute robot mascot, pixel art style" -o robot.png
21```
22
23### Edit an existing image:
24```bash
25python3 <skill_dir>/scripts/generate.py "make the background blue" -i input.jpg -o output.png
26```
27
28### Generate with specific aspect ratio:
29```bash
30python3 <skill_dir>/scripts/generate.py "cinematic landscape" --ratio 21:9 -o landscape.png
31```
32
33### Generate high-resolution 4K image:
34```bash
35python3 <skill_dir>/scripts/generate.py "professional product photo" --size 4K -o product.png
36```
37
38## Script Reference
39
40### `scripts/generate.py`
41
42Main image generation script.
43
44```
45Usage: generate.py [OPTIONS] PROMPT
46
47Arguments:
48 PROMPT Text prompt for image generation
49
50Options:
51 -o, --output PATH Output file path (default: auto-generated)
52 -i, --input PATH Input image for editing (optional)
53 -r, --ratio RATIO Aspect ratio (1:1, 16:9, 9:16, 21:9, etc.)
54 -s, --size SIZE Image size: 2K or 4K (default: standard)
55 --search Enable Google Search grounding for accuracy
56…

Excerpt shown under the repository's Apache-2.0 license.

More skills in opc-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Leonxlnx /

taste-skill
113k

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

CCCXCU1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates