nanobanana
Gemini-native text-to-image and image editing with three model tiers, batch generation, and custom gateway support.
What it does
- --model accepts the aliases nanobanana, nanobanana-2, and nanobanana-pro, or an exact Gemini model ID.
- imagesize is only valid on Gemini 3 image models; nanobanana rejects --size.
- 512 resolution is only valid on nanobanana-2.
- Process environment variables override .env; CLI flags override both.
- Never print secrets.
- generate accepts repeated --input-image paths for image editing or multi-reference generation.
- --base-url should point to the Gemini API root such as https://generativelanguage.googleapis.com/v1beta, not directly to /models/....
Requirements & configuration
- 3. Prefer gemini-3.1-flash-image-preview (nanobanana-2) unless you need either the fastest low-cost default (nanobanana) or the highest-fidelity reasoning model (nanobanana-pro).
- 6. Pass --base-url or GEMINIBASEURL when you need a custom Gemini-compatible gateway.
- 7. Add --save-response <path> on generate when you need the raw JSON body for debugging.
Configuration: GEMINI_BASE_URL
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Gemini-native text-to-image and image editing with three model tiers, batch generation, and custom gateway support.
Source
Repository: https://github.com/gargantuax/openskills
nanobanana FAQ
What does the nanobanana skill do?
Gemini-native Nano Banana image generation and editing across Nano Banana, Nano Banana 2, and Nano Banana Pro. Use when you need text-to-image, image-to-image edits, repeated local references, batch generation, dry-run request inspection, or a custom Gemini-compatible base URL such as a self-hosted gateway. --model accepts the aliases nanobanana, nanobanana-2, and nanobanana-pro, or an exact Gemini model ID. imagesize is only valid on Gemini 3 image models; nanobanana rejects --size.
What does nanobanana require?
3. Prefer gemini-3.1-flash-image-preview (nanobanana-2) unless you need either the fastest low-cost default (nanobanana) or the highest-fidelity reasoning model (nanobanana-pro). 6. Pass --base-url or GEMINIBASEURL when you need a custom Gemini-compatible gateway. 7. Add --save-response <path> on generate when you need the raw JSON body for debugging. Configuration keys: GEMINI_BASE_URL.
How do I install nanobanana?
Run: npx -y skills add https://github.com/gargantuax/openskills --skill nanobanana --agent claude-code — the source lives at github.com/gargantuax/openskills.
Maintain nanobanana?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/gargantuax-openskills-nanobanana?ref=badge) npx agentictools info skills/gargantuax-openskills-nanobanana The second line is the CLI lookup for this page — handy in READMEs and docs.