SKILL·04B05F

nano-banana-pro

swarmclawai
Updated 1 month ago
604
127
604
View on GitHub
Metaaiapi

About

This Claude Skill generates and edits images using the Gemini 3 Pro Image API. Use it when you need to create images from text prompts, edit a single existing image, or compose scenes from multiple images (up to 14). It requires a `GEMINI_API_KEY` and the `uv` package manager to run the provided Python scripts.

Quick Install

Claude Code

Recommended
Primary
npx skills add swarmclawai/swarmclaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/swarmclawai/swarmclaw
Git CloneAlternative
git clone https://github.com/swarmclawai/swarmclaw.git ~/.claude/skills/nano-banana-pro

Copy and paste this command in Claude Code to install this skill

Documentation

Nano Banana Pro (Gemini 3 Pro Image)

Use the bundled script to generate or edit images.

Generate

uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K

Edit (Single Image)

uv run {baseDir}/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" -i "/path/in.png" --resolution 2K

Multi-Image Composition (up to 14 images)

uv run {baseDir}/scripts/generate_image.py --prompt "combine these into one scene" --filename "output.png" -i img1.png -i img2.png -i img3.png

API Key

Set GEMINI_API_KEY as an environment variable, or pass --api-key <KEY> to the script.

Aspect Ratio (optional)

uv run {baseDir}/scripts/generate_image.py --prompt "portrait photo" --filename "output.png" --aspect-ratio 9:16

Notes

  • Resolutions: 1K (default), 2K, 4K.
  • Aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Without --aspect-ratio, the model picks freely.
  • Use timestamps in filenames for uniqueness: yyyy-mm-dd-hh-mm-ss-name.png.
  • Do not read the image back into context; report the saved path only.

GitHub Repository

swarmclawai/swarmclaw
Path: skills/nano-banana-pro
0
agent-frameworkagent-memoryagent-runtimeagent-swarmagentsai
FAQ

Frequently asked questions

What is the nano-banana-pro skill?

nano-banana-pro is a Claude Skill by swarmclawai. Skills package instructions and resources that Claude loads on demand, so Claude can perform nano-banana-pro-related tasks without extra prompting.

How do I install nano-banana-pro?

Use the install commands on this page: add nano-banana-pro to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does nano-banana-pro belong to?

nano-banana-pro is in the Meta category, tagged ai and api.

Is nano-banana-pro free to use?

Yes. nano-banana-pro is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Related Skills

content-collections
Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill
polymarket
Meta

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

View skill
creating-opencode-plugins
Meta

This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.

View skill
sglang
Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill