image-nano-banana
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
npx skills add majiayu000/claude-skill-registry --skill image-nano-banana --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Nano Banana Pro Image Generation & Editing Generate new images or edit existing ones using Google's Nano Banana Pro API (Gemini 3 Pro Image). ## Usage Run the script using absolute path (do NOT cd to skill directory first): **Generate new image:** ```bash uv run scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--resolution 1K|2K|4K] [--api-key KEY] ``` **Edit existing image:** ```bash uv run scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input.png" [--resolution 1K|2K|4K] [--api-key KEY] ``` **Important:** Always run from the user's current working directory so images are saved where the user is working, not in the skill directory. ## Default Workflow (draft → iterate → final) Goal: fast iteration without burning time on 4K until the prompt is correct. - Draft (1K): quick feedback loop - `uv run scripts/generate_image.py --prompt "<draft prompt>" --filename "yyyy-mm-dd-hh-mm-ss-draft.png" --resolution 1K` - Iterate: adjust prompt in small diffs; keep filename new per run - If editing: keep the same `--input-image` for every iteration until you’re happy. - Final (4K): only when
- Usage
- Default Workflow (draft → iterate → final)
- Resolution Options
- API Key
- Preflight + Common Failures (fast fixes)
- Filename Generation
- Image Editing
- Prompt Handling
- Prompt Templates (high hit-rate)
- Output
- Examples
uv run scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--resolution 1K|2K|4K] [--api-key KEY] uv run scripts/generate_image.py --prompt "A serene Japanese garden with cherry blossoms" --filename "2025-11-23-14-23-05-japanese-garden.png" --resolution 4K
What does the image-nano-banana skill do?
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill image-nano-banana --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
