Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By hexv2026.11.3MITIn 1 marketplace
Generates and edits images through several image APIs, running providers in parallel. Needs at least one provider API key; results appear in a local browser gallery.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (IMAGE_DISPLAY).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
image-generation, text-to-image, image-editing, gpt-image, xai, grok-image
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Image displaydisplay
Where images show while they generate: "gallery" is one browser page every session shares, "pane" a tmux pane beside the chat (inline images outside tmux), "none" nowhere. An IMAGE_DISPLAY environment variable overrides this.
One of gallery, pane, none
stringOptionaldefault gallery
Output directoryoutputDir
Where the generate tool saves images when a call gives no outputBase, relative to the session's working directory.
stringOptionaldefault .
Default providersdefaultProviders
Which providers the generate tool runs when a call names none. "all" runs gemini, openai and xai in parallel; openrouter is opt-in.
One of all, gemini, openai, xai, openrouter
stringOptionaldefault all
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Claude Code plugin for generating and editing images using Google Gemini, OpenAI GPT Image, xAI Grok Image, and OpenRouter APIs.
--input-image for multi-image edits (all providers) and Gemini reference-based generationscripts/run-all.sh, shown as one run: a section with one frame per provider on the browser gallery, or one shared streaming pane with council-style colored banners and a waiting on line naming the pending providers (animated until the first image renders, then written once under each block)/claude-image-generation:status, which checks each key and default model against the provider's live API without billing anythingIMAGE_DISPLAY=pane, generated images display directly in the terminal (iTerm2, Kitty, Ghostty, WezTerm, Sixel terminals)IMAGE_DISPLAY=pane, opens a split pane for image preview when running inside tmux (works with Claude Code). Providers running at the same time share one pane, however they were launched# Add the hex-plugins marketplace (once)
/plugin marketplace add hex/claude-marketplace
# Install the plugin
/plugin install claude-image-generation
/plugin install hex/claude-image-generation
git clone https://github.com/hex/claude-image-generation.git
claude --plugin-dir /path/to/claude-image-generation
Set any of these as environment variables:
| Variable | Provider | Get a key |
|---|---|---|
GEMINI_API_KEY | Google Gemini | Google AI Studio |
OPENAI_API_KEY | OpenAI | OpenAI Platform |
XAI_API_KEY or GROK_API_KEY | xAI | xAI Console |
OPENROUTER_API_KEY | OpenRouter | OpenRouter Keys |
At least one key is required.
Override the default model per provider via environment variables:
| Variable | Default | Purpose |
|---|---|---|
GEMINI_IMAGE_MODEL | gemini-3-pro-image | Gemini model used for generation and editing |
OPENAI_IMAGE_MODEL | gpt-image-2.6-sunburst | OpenAI model used for generation and editing |
XAI_IMAGE_MODEL | grok-imagine-image-2.0 | xAI model used for generation and editing |
OPENROUTER_IMAGE_MODEL | google/gemini-nano-banana-2.1 | OpenRouter model slug used for generation and editing |
Command-line --model flag on the scripts takes precedence over environment variables.
IMAGE_DISPLAY chooses where images show while they generate. The generate tool takes it from the Image display row in /config. An IMAGE_DISPLAY already set in Claude Code's environment wins over that row, and the scripts read the variable directly.
7-day copy clicks
claude-image-generation@hex-plugins is listed by hex/claude-marketplace — review the source before installing
npx claudepluginhub hex/claude-marketplace --plugin claude-image-generationPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.