← ClaudeAtlas

nano-banana-pro-jsonlisted

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter or update an image, or points at an existing image file and asks to change it ("change the background", "replace X with Y"). Covers logo and brand-identity design ("design a logo", "brand mark", "wordmark", "icon", "brand identity"); product and marketing images ("product shot", "e-commerce photo", "hero image", "lifestyle photo", "ad creative", "packaging mockup"); and illustrated infographics and explanatory graphics ("infographic", "explainer graphic", "comparison graphic"). Style presets (cinematic, film, fashion, studio), aspect ratios (1:1, 4:3, 16:9, 9:16, 3:2, 2:3, 4:5) and WebP output. This is the default skill for generating and editing raster images.
kevin-burns/claude-skills · ★ 8 · Data & Documents · score 81
Install: claude install-skill kevin-burns/claude-skills
# Nano Banana Pro JSON - Advanced Image Generation Generate and edit images using Google's Nano Banana Pro API with structured JSON control, style presets, and photorealistic enhancement. ## Usage Run the script using absolute path (do NOT cd to skill directory first): ```bash uv run ~/.claude/skills/nano-banana-pro-json/scripts/generate_image.py --prompt "description" --filename "output.png" [options] ``` **Important:** Always run from the user's current working directory so images save where the user is working. **Do not read an image file before editing it.** Pass its path to `--input-image` and let the script send it. Reading it first spends the whole file through the context window and changes nothing about the result. **If `uv` isn't found** (`uv: command not found` — non-interactive shells often drop `~/.local/bin` or the Homebrew bin from PATH), resolve it and call it explicitly rather than giving up. This script needs uv (third-party deps: `google-genai`, `pillow`), so plain `python3` is not a fallback here: ```bash UV="$(command -v uv || ls "$HOME/.local/bin/uv" "$HOME/.cargo/bin/uv" /opt/homebrew/bin/uv /usr/local/bin/uv 2>/dev/null | head -1)" "$UV" run ~/.claude/skills/nano-banana-pro-json/scripts/generate_image.py --prompt "..." --filename "..." ``` ## Simple Mode Works identically to the original nano-banana-pro skill: ```bash uv run ~/.claude/skills/nano-banana-pro-json/scripts/generate_image.py --prompt "A serene Japanese garden" --filename "2025-1