
Nano Banana
A CLI wrapper for Gemini's image generation that actually handles the annoying parts: green screen workflows for transparent assets, multi-reference style transfer, exact dimension control, and built-in cost tracking. Default model is Flash (cheap and fast at ~$0.067 per 1K image), but you can bump to Pro when quality matters. The transparent asset workflow is clever: it auto-prompts for green screen generation then uses FFmpeg to key it out cleanly. Supports everything from 512px sketches to 4K renders with standard aspect ratios. If you're mocking up UI, generating game sprites, or need quick marketing visuals without opening Photoshop, this is the kind of tool that just gets out of your way.
- skills.sh installs
- 679
- GitHub stars
- 418
- last updated
- Aug 21, 2026
Install
$ npx -y skills add kingbootoshi/nano-banana-2-skill --skill nano-banana --agent claude-codeInstalls into .claude/skills of the current project.
Files
nano-banana
AI image generation CLI. Default model: Gemini 3.1 Flash Image Preview (Nano Banana 2).
/init - First-Time Setup
When the user says "init", "setup nano-banana", or "install nano-banana", run these commands to get the CLI tool on their machine. No sudo required.
Prerequisites: Bun must be installed. If not: curl -fsSL https://bun.sh/install | bash
# 1. Clone the repo
git clone https://github.com/kingbootoshi/nano-banana-2-skill.git ~/tools/nano-banana-2
# 2. Install dependencies
cd ~/tools/nano-banana-2 && bun install
# 3. Link globally (creates `nano-banana` command via Bun - no sudo)
cd ~/tools/nano-banana-2 && bun link
# 4. Set up API key
mkdir -p ~/.nano-banana
echo "GEMINI_API_KEY=<ask user for their key>" > ~/.nano-banana/.env
After init, the user can type nano-banana "prompt" from anywhere.
If bun link fails or the command is not found after linking, fall back to:
mkdir -p ~/.local/bin
ln -sf ~/tools/nano-banana-2/src/cli.ts ~/.local/bin/nano-banana
# Then ensure ~/.local/bin is on PATH:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Sponsors
Details
- Repository
- github.com/kingbootoshi/nano-banana-2-skill
- Categories
- Code Review & Quality, Automation & Workflows, Marketing & SEO, CLI & Terminal, Game Development
- First seen
- Jun 3, 2026