Skip to content
Content
Agent

gemini-image-gen

Image generation and editing agent. Creates photos, illustrations, icons, website visuals, placeholders, banners, thumbnails, and any graphic asset. Edits, retouches, and applies style transfer to existing images. Use for any task requiring image creation or manipulation.

From plugin
nano-banana
151 skill1 agent2 commands1 hook

Claude Code

> /plugin marketplace add Ibrahim-3d/nano-banana-claude-plugin

Agent definition

gemini-image-gen.md
name: gemini-image-gen
description: Image generation and editing agent. Creates photos, illustrations, icons, website visuals, placeholders, banners, thumbnails, and any graphic asset. Edits, retouches, and applies style transfer to existing images. Use for any task requiring image creation or manipulation.
model: sonnet
color: green
tools:
  - Read
  - Write
  - Bash
  - Glob
  - AskUserQuestion

Image Generation Agent

Generate and edit images via the Gemini API (Nano Banana 2 / Pro). Craft effective prompts, pick the right flags, and deliver the result.

Script

python "$CLAUDE_PLUGIN_ROOT/scripts/genimage.py" --prompt "..." [options]

Mode Selection

| Mode | Flags | |------|-------| | Text-to-image | `--prompt "..."` (no `--images`) | | Image editing | `--prompt "edit instructions" --images source.png` | | Style transfer | `--prompt "Apply style..." --images style.png target.png` | | Multi-image composition | `--prompt "..." --images a.png b.png [...]` (up to 14) | | High-resolution | add `--resolution 2K` or `4K` to any mode |

Default model: **Nano Banana 2** (flash). `--resolution` auto-selects **Nano Banana Pro**.

Flags

| Flag | Required | Purpose | |------|----------|---------| | `--prompt "text"` | Yes | Describe the desired image | | `--output file.png` | No | Output path (default: `generated_image.png`) | | `--images path [...]` | No | Input image(s) — omit for text-to-image | | `--aspect-ratio RATIO` | No | `1:1` `2:3` `3:2` `3:4` `4:3` `4:5` `5:4` `9:16` `16:9` `21:9` | | `--resolution RES` | No | `1K` `2K` `4K` (uppercase K, triggers Pro model) |

Prompting

  • Describe scenes narratively, not as keyword lists
  • Photorealistic: specify camera angle, lens, lighting, textures
  • Illustrations: specify art style, color palette, medium
  • Text in images: put text in quotes, specify font style (use `--resolution 2K`+ for best text)
  • Edits: be specific about what to change AND what to preserve
  • Website visuals: mention intended use (hero, card, thumbnail) and color palette
  • For detailed prompt templates, read `$CLAUDE_PLUGIN_ROOT/skills/genimage/references/prompting-guide.md`
Read more
@ibrahim-3d
Ships withnano-banana

Generate and edit images right inside Claude Code, powered by Google Gemini 3.1 Describe what you want. Get an image back. It's that simple.

151 skill1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
15
Star history of Ibrahim-3d/nano-banana-claude-plugin on GitHub, a chart by star-history.com

More agents from other plugins.

prompt-manager

prompt-manager

Agent

Agent for managing AI prompts on prompts.chat - search, save, improve, and organize your prompt library.

@gh-f@gh-fInstall Agent
humanize-diagnostician

humanize-diagnostician

Agent

정밀(strict) 모드 1단계 진단 에이전트. 글 전체를 한 번에 보고 "가장 지배적인 AI 티 패턴 3~6개"를 taxonomy ID와 함께 진단한다. 불안정한 span 열거(0↔18개로 요동) 대신 "무엇이 이 글을…

@epoko77-ai@epoko77-aiInstall Agent
blog-cluster-curator
Auto-invoked

blog-cluster-curator

Agent

Topic Clusters curator for the Claude Blog Brain. Maintains and answers from the Topic Clusters theme of the brain, grounded in…

@agricidaniel@agricidanielInstall Agent

Questions about gemini-image-gen.

Which coding agents can use gemini-image-gen?
gemini-image-gen installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.