nano-banana-2
Generate and edit images using Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) API.
Skill by intellectronica
Chalk Labs
Need help deploying nano-banana-2?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/intellectronica-nano-banana-2
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/nano-banana-2
What's inside
- Skill name
nano-banana-2- Description
- Generate and edit images using Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) API. This skill should be used when the user asks to create or modify images, especially when they need fast iteration, explicit aspect-ratio control, or resolution control from 512px to 4K.
- License
- CC0-1.0
- Instructions
- 107 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "nano-banana-2" does not match folder "skills"
Files (1)
- SKILL.md
SKILL.md (first lines)
# Nano Banana 2 Image Generation & Editing Generate new images or edit existing images with Nano Banana 2 (`gemini-3.1-flash-image-preview`). ## Usage Run the script using absolute or workspace-relative path (do NOT cd into the skill directory first): **Generate new image:** ```bash uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--resolution 512px|1K|2K|4K] [--aspect-ratio RATIO] [--api-key KEY] ``` **Edit image(s) with references:** ```bash uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input1.png" [--input-image "path/to/input2.png" ...] [--resolution 512px|1K|2K|4K] [--aspect-ratio RATIO] [--api-key KEY] ``` Always run from the user's current working directory so outputs are saved in the active project context. ## Model Use model code: - `gemini-3.1-flash-image-preview` (Nano Banana 2) Do not use `gemini-3-pro-image-preview` in this skill. ## Resolution Options Nano Banana 2 supports: - `512px` (fastest, low-latency iteration) - `1K` (default) - `2K` - `4K` Map common user language: - "quick draft", "thumbnail", "tiny", "512", "0.5K" → `512px` - no resolution mention → `1K` - "2K", "medium", "normal" → `2K` - "4K", "high-res", "ultra", "print quality" → `4K` Use uppercase `K` for `1K`, `2K`, `4K`. ## Aspect Ratios Supported aspect ratios: - `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` Map common requests: - square post / icon → `1:1` - phone wallpaper / vertical reel → `9:16` - widescreen / slide / hero image → `16:9` - cinematic wide → `21:9` - portrait print → `2:3` or `3:4` - panorama banner → `4:1` or `8:1` If unspecified, let the model default behavior apply. ## Reference Images (New in Gemini 3 Image workflows) Provide up to 14 reference images when needed by repeating `--input-image`: - preserve character consistency - preserve object fidelity - combine multiple visual references into one output Use one image for simple edits; use multiple images for composition or consistency-sensitive tasks. ## API Key Resolve API key in this order: 1. `--api-key` argument 2. `GEMINI_API_KEY` environment variable If no key is available, stop and report a clear error. ## Filename Generation Generate filenames as: `yyyy-mm-dd-hh-mm-ss-name.png` Examples: - `2026-02-26-17-31-04-japanese-garden.png` - `2026-02-26-17-31-59-social-banner.png` ## Prompt Handling For generation, pass the user's request as-is unless critically underspecified. For editing, include explicit transformation instructions in the prompt and preserve the original intent. ## Output - Save PNG to the current directory (or to a provided path in `--filename`) - Return the full saved path(s) - Do not read the output image back unless explicitly requested ## Examples **Create a 4K widescreen image:** ```bash uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "Futuristic city skyline at blue hour with neon reflections" --filename "2026-02-26-17-45-00-futuristic-skyline.png" --resolution 4K --aspect-ratio 16:9 ``` **Edit with multiple references:** ```bash uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "Create a polished campaign image that keeps the exact logo details and character identity" --filename "2026-02-26-17-50-10-campaign-image.png" --input-image "logo.png" --input-image "character.png" --resolution 2K --aspect-ratio 4:5 ```
From intellectronica/agent-skills, CC0-1.0.
More from intellectronica/agent-skills
- 0.620score
notion-api
intellectronica
This skill provides comprehensive instructions for interacting with the Notion API via REST calls.
SkillDFreshness: D★ 297Claude Code +9 - 0.620score
beautiful-mermaid
intellectronica
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library.
SkillDFreshness: D★ 297Claude Code +9 - 0.620score
todoist-api
intellectronica
This skill provides instructions for interacting with Todoist using the td CLI tool.
SkillDFreshness: D★ 297Claude Code +9 - 0.536score
copilot-sdk
intellectronica
This skill helps with GitHub Copilot SDK work across Node.js/TypeScript, Python, Go, .NET, and Java.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
nano-banana-pro
intellectronica
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
mgrep-code-search
intellectronica
Semantic code search using mgrep for efficient codebase exploration.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
ray-so-code-snippet
intellectronica
Generate beautiful code snippet images using ray.so.
SkillDFreshness: D★ 297Claude Code +9 - 0.530score
raindrop-api
intellectronica
This skill provides comprehensive instructions for interacting with the Raindrop.io bookmarks service via its REST API using curl and jq.
SkillDFreshness: D★ 297Claude Code +9 - 0.528score
ultrathink
intellectronica
Display colorful ANSI art of the word "ultrathink".
SkillDFreshness: D★ 297Claude Code +9 - 0.514score
gog-cli
intellectronica
Use this skill whenever the user wants to operate Google Workspace from the command line with gog/gogcli, including Gmail, Calendar, Drive, Docs, Sheets…
SkillDFreshness: D★ 297Claude Code +9 - 0.505score
monologue-notes-api
intellectronica
Use this skill when the user wants to read or search their Monologue notes through the Monologue Notes REST API.
SkillDFreshness: D★ 297Claude Code +9
Signals
- Stars
- 297
- Forks
- 27
- Open issues
- 1
- Last commit (this folder)
- Feb 26, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- CC0-1.0
- Repository
- github.com/intellectronica/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from intellectronica
- 0.620score
todoist-api
intellectronica
This skill provides instructions for interacting with Todoist using the td CLI tool.
SkillDFreshness: D★ 297Claude Code +9 - 0.620score
notion-api
intellectronica
This skill provides comprehensive instructions for interacting with the Notion API via REST calls.
SkillDFreshness: D★ 297Claude Code +9 - 0.620score
beautiful-mermaid
intellectronica
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library.
SkillDFreshness: D★ 297Claude Code +9 - 0.536score
copilot-sdk
intellectronica
This skill helps with GitHub Copilot SDK work across Node.js/TypeScript, Python, Go, .NET, and Java.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
nano-banana-pro
intellectronica
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
mgrep-code-search
intellectronica
Semantic code search using mgrep for efficient codebase exploration.
SkillDFreshness: D★ 297Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get nano-banana-2 running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
nano-banana-2 skill. Agent Mart. https://agentmart.dev/skills/intellectronica-nano-banana-2 (last updated 2026-10-24)