genimage
Generate, edit, or create any image — photos, illustrations, icons, thumbnails, hero images, banners, placeholder visuals, website graphics, social media assets, product shots, logos, diagrams, or any visual content. Use this skill whenever the task involves creating an image, populating a UI with visuals, generating placeholder or mockup images, editing or retouching a photo, applying style transfer, composing multiple images, or producing any graphic asset. Triggers on requests like "generate an image", "create a visual", "make a placeholder", "add a hero image", "design a thumbnail", "edit this photo", "create website graphics", "populate with images", or any task requiring image creation or manipulation.
git clone https://github.com/Ibrahim-3d/nano-banana-claude-plugin
T=$(mktemp -d) && git clone --depth=1 https://github.com/Ibrahim-3d/nano-banana-claude-plugin "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/genimage" ~/.claude/skills/ibrahim-3d-nano-banana-claude-plugin-genimage && rm -rf "$T"
skills/genimage/SKILL.mdNano Banana — Image Generation
Generate and edit images via the Gemini API. If the API key is missing, run
/nano-banana:setup.
Workflow
-
Determine the mode from the user's request:
- Creating a new image from text? → Text-to-image (no
)--images - Editing/retouching an existing image? → Image editing (
)--images source.png - Applying one image's style to another? → Style transfer (
)--images style.png target.png - Combining or referencing multiple images? → Multi-image (
, up to 14)--images a.png b.png ... - Need 2K or 4K output? → Add
to any mode above--resolution 2K|4K
- Creating a new image from text? → Text-to-image (no
-
Craft the prompt — describe the desired result narratively. See references/prompting-guide.md for domain-specific patterns (website visuals, placeholders, product shots, etc.).
-
Run the script:
python "$CLAUDE_PLUGIN_ROOT/scripts/genimage.py" --prompt "..." [options]
- Show the result — read the output image and present it to the user.
Flags
| Flag | Required | Purpose |
|---|---|---|
| Yes | Describe the desired image |
| No | Output path (default: ) |
| No | Input image(s) — omit for text-to-image |
| No | |
| No | (uppercase K required, triggers Pro model) |
Models
- Nano Banana 2 (
): Default. Fast, high-quality.gemini-3.1-flash-image-preview - Nano Banana Pro (
): Auto-selected whengemini-3-pro-image-preview
is set. 4K output, advanced reasoning, high-fidelity text rendering.--resolution
Common Use Cases → Flags
| Use case | Example command |
|---|---|
| Website hero image | |
| Social media post | |
| Mobile banner | |
| Placeholder / mockup | |
| Edit existing photo | |
| Style transfer | |
| High-res asset | |
Editing
All editing is text-guided — describe what to change ("replace the sky", "remove the person", "add a sunset") and Gemini identifies and modifies regions automatically. No masks needed.