
Nanobanana Skill
A straightforward wrapper around Google's Gemini image generation API that lets Claude create and edit images through Python commands. You get the full range of Gemini's aspect ratios (including that 21:9 ultra-wide), resolution options up to 4K, and both the fast flash model and the slower pro model with reasoning capabilities. The skill handles the boilerplate of asking users for prompts and parameters, then runs the nanobanana.py script with the right flags. Requires a Gemini API key and Python dependencies installed. It's basically plumbing to make Gemini's image features accessible in Claude conversations without manually formatting API calls yourself.
- skills.sh installs
- 330
- GitHub stars
- 1.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add feiskyer/claude-code-settings --skill nanobanana-skill --agent claude-codeInstalls into .claude/skills of the current project.
Files
Nanobanana Image Generation Skill
Generate or edit images using Google Gemini API through the nanobanana tool.
Requirements
- GEMINI_API_KEY: Must be configured in
~/.nanobanana.envorexport GEMINI_API_KEY=<your-api-key> - Python3 with dependent packages installed: google-genai, Pillow, python-dotenv. They could be installed via
python3 -m pip install -r ${CLAUDE_SKILL_DIR}/requirements.txtif not installed yet. - Executable:
${CLAUDE_SKILL_DIR}/nanobanana.py
Instructions
For image generation
-
Ask the user for:
- What they want to create (the prompt)
- Desired aspect ratio/size (optional, defaults to 9:16 portrait)
- Output filename (optional, auto-generates UUID if not specified)
- Model preference (optional, defaults to gemini-nano-banana-2.1)
- Resolution (optional, defaults to 1K)
-
Run the nanobanana script with appropriate parameters:
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "description of image" --output "filename.png" -
Show the user the saved image path when complete
For image editing
Sponsors
Details
- Repository
- github.com/feiskyer/claude-code-settings
- License
- MIT
- First seen
- Jun 3, 2026