feiskyer/codex-settings/nanobanana-skill
- community
Checking that the SKILL.md file is still in the repository.
Generate, edit, or composite images with Gemini/Nanobanana. Default for image requests without a named provider; do not override a different provider the user chose.
Install
npx vskill@latest install feiskyer/codex-settings/nanobanana-skillSKILL.md
Nanobanana Image Skill
Use the bundled nanobanana.py to generate or edit images with Gemini image models. The default path targets Nano Banana 2 (gemini-3.1-flash-image-preview) with thinking summaries and Google Search grounding on, because those defaults are the main reason to use this skill instead of a generic image prompt.
Requirements
GEMINI_API_KEYin~/.nanobanana.env(GEMINI_API_KEY=sk-dummy) or the shell environment.- Python dependencies from
requirements.txt. - The executable is
nanobanana.pyin this same skill directory. Resolve its absolute path once before running it.
The CLI can print --help without credentials. It validates local input files before creating an API client and exits non-zero when the API returns no image.
Defaults
Model gemini-3.1-flash-image-preview, search grounding on, thinking summaries on at level high, resolution 1K, and no aspect ratio unless the request implies a shape. Do not make the user choose a model, search mode, or thinking mode unless they asked for that level of control.
Leaving aspect ratio unspecified is usually better for edits, because Gemini can match the input image shape. For text-only generation, set one only when the user implies a format such as poster, square post, banner, phone wallpaper, or ultrawide hero.
Worth overriding: --model gemini-3-pro-image-preview for very detail-heavy or typography-sensitive work (slower); --resolution 512px for quick ideation (Nanobanana 2 models only), 2K/4K for polished deliverables; --thinking-level low when latency beats refinement; search off when the user wants a purely imaginative result. Run python3 /absolute/path/to/nanobanana.py --help for the exact accepted values, including the full aspect-ratio and model lists.
Run it
Generate from text:
Edit or composite — pass every reference with --input. Nanobanana 2 mixes multiple references well, so do not narrow a blend, lineup, storyboard, or consistency pass down to a single image:
Grounded generation, saving the model's text and metadata alongside the image:
Then report the saved path(s), whether search grounding stayed enabled, where any text or thought summaries landed, and any warning from the run. If the model returns text but no image, say so plainly and suggest a more explicitly image-focused prompt rather than presenting the run as a success.
Prompting
Good Nanobanana prompts are production briefs, not art wishes: subject, visual style, composition or camera framing, any required text, the output's use case, and constraints such as brand colors, negative space, or realism level.
For edits, say what to preserve as well as what to change:
When a run fails
Check credential presence without printing its value, input readability, and output writability. For an unsupported option, consult the helper's accepted values. Correct assistant-chosen options within the requested result, but do not silently switch a user-selected model or provider. Before a bounded retry, check whether the earlier attempt already produced output; report the actual error if recovery would require new authority or changing the request.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/nanobanana-skill/SKILL.md
Popularity
- Repository stars
- 240
- Repository forks
- 33
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/feiskyer/codex-settings/nanobanana-skill)