Gemini Nano Banana 2
Generate and edit images using Google's Gemini Nano Banana 2 (gemini-3.1-flash-image-preview). Use when the user asks to generate, create, edit, modify, change, alter, or update images using Gemini. Also use when user references an existing image file and asks to modify it in any way. Supports text-to-image generation, image editing, multi-image compositing (up to 14 reference images), style transfer, Google Web Search and Image Search grounding for real-time data, high-resolution output up to 4K, controllable thinking levels, 14 aspect ratios, and advanced text rendering. DO NOT read the imag
Install
npx skills add tamtom/image-generation-skills --skill gemini-nano-banana-2git clone --depth 1 https://github.com/tamtom/image-generation-skills.git /tmp/image-generation-skills
mkdir -p ~/.claude/skills
cp -r /tmp/image-generation-skills/skills/gemini-nano-banana-2 ~/.claude/skills/gemini-nano-banana-2Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Gemini Nano Banana 2 - Image Generation & Editing
Generate new images or edit existing ones using Google's Gemini Nano Banana 2 model (`gemini-3.1-flash-image-preview`) via the Gemini API. This is the latest and most capable Gemini image model, featuring advanced reasoning ("Thinking") with controllable levels, high-fidelity text rendering, Google Web + Image Search grounding, output from 512 up to 4K resolution, and 14 aspect ratios.
## Usage
Run the script using absolute path (do NOT cd to skill directory first):
**Generate new image:**
```bash
uv run ~/.claude/skills/gemini-nano-banana-2/scripts/generate_image.py --prompt "your image description" --filename "output.png" [--aspect-ratio 1:1|1:4|1:8|2:3|3:2|3:4|4:1|4:3|4:5|5:4|8:1|9:16|16:9|21:9] [--resolution 512|1K|2K|4K] [--output-format png|webp|jpeg] [--response-modality text-and-image|image-only] [--thinking-level minimal|high] [--google-search] [--image-search] [--yes] [--cost-threshold 0.10] [--api-key KEY]
```
**Edit existing image:**
```bash
uv run ~/.claude/skills/gemini-nano-banana-2/scripts/generate_image.py --prompt "editing instructions" --filename "output.png" --input-image "path/to/input.png" [--aspect-ratio 1:1] [--resolution 2K] [--api-key KEY]
```
**Edit with multiple reference images (compositing/style transfer, up to 14 images):**Details
- Skill name
gemini-nano-banana-2- Repository
- tamtom/image-generation-skills
- Path
skills/gemini-nano-banana-2/SKILL.md- License
- MIT
- Repo updated
- 15 March 2026
FAQ
What does the Gemini Nano Banana 2 skill do?
Generate and edit images using Google's Gemini Nano Banana 2 (gemini-3.1-flash-image-preview). Use when the user asks to generate, create, edit, modify, change, alter, or update images using Gemini. Also use when user references an existing image file and asks to modify it in any way. Supports text-to-image generation, image editing, multi-image compositing (up to 14 reference images), style transfer, Google Web Search and Image Search grounding for real-time data, high-resolution output up to 4K, controllable thinking levels, 14 aspect ratios, and advanced text rendering. DO NOT read the imag
How do I install the Gemini Nano Banana 2 skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add tamtom/image-generation-skills --skill gemini-nano-banana-2. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Gemini Nano Banana 2 popular?
It lives in tamtom/image-generation-skills, which has 9 GitHub stars and 0 forks.
Related skills
Hebbs
9hebbs-ai/hebbs-skill
Cognitive engine for AI agents: index files and memories, retrieve across 4 weighted dimensions (similarity, temporal, importance, frequency), automatic insight consolidation, automatic contradiction detection, with full parameter control on every function.
Event Modeling
9noahseger/agent-skills
Use to model a system's behavior as domain events, extract an event model from existing code, design event-driven architectures, or document workflows as timelines of commands, events, and state views
Hebbs Tune
9hebbs-ai/hebbs-skill
Retrieval tuning skill for HEBBS: profile the client, generate domain-specific evals, run baseline, tune retrieval parameters, store learnings, and export compiled rules to a markdown file for prompt injection.
Coordinator Orchestrator
9kadaliao/claude-code-skills-collection
多 Agent 协调者模式 — 你是指挥官,不是执行者。调度 Worker 做研究/实现/验证,你负责综合和决策。适用于:(1) 复杂任务需要多步骤并行 (2) 需要研究→综合→实现→验证的工作流 (3) bobooo 说"用 CC 做"时的编排模式。灵感源自 Claude Code Coordinator Mode。
Lightweight Explorer
9kadaliao/claude-code-skills-collection
轻量探索模式 — 用最少 token 完成代码搜索和调研。核心理念:只读搜索不需要加载全部工具和项目规则。适用于:(1) 搜索代码库找文件/函数 (2) 调研项目架构 (3) 多文件分析 (4) 回答"代码里哪里有 X"类问题。灵感源自 Claude Code Explore Agent 设计。
Compound Dev
9brijoobopanna/ClaudeSkills
Make Claude Code sessions compound — every session builds on the last instead of starting from scratch. Implements Karpathy's LLM Wiki pattern for software engineering. Use this skill when starting a new project, onboarding to an existing codebase, or any time the user says "set up my project", "add project memory", "create CLAUDE.md", "help me structure this project", "I keep re-explaining things to Claude", "my sessions don't remember anything", "ingest this document", or "run a health check". Also trigger when the user asks about session efficiency, token usage, or wants to improve their Cl
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.