Claude Image Gen
AI-powered image generation using Google Gemini or OpenAI (gpt-image-2), integrated with Claude Code via Skills or Claude.ai via MCP (Model Context Protocol).
Install
/plugin marketplace add guinacio/claude-image-genInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →AI Image Generation - Claude Skill + MCP
AI-powered image generation using Google Gemini or OpenAI (gpt-image-2), integrated with Claude Code.
Features
- Generate images from text prompts using Google Gemini or OpenAI (gpt-image-2)
- Dual-provider support: model name routes the request automatically (gpt-image*/dall-e* → OpenAI, everything else → Gemini)
- Proactive Claude skill suggests images for websites, presentations, and more
- Opt-in specialized workflows for narrower production pipelines, without adding them to every installation
- Two execution modes: CLI script (skill-only) or MCP server (protocol-based)
- Configurable aspect ratios (1:1, 16:9, 9:16, etc.)
- Multiple model support (quality vs speed) across both providers
- Optional reference images to guide generation (up to 5, PNG/JPEG/WebP) on both providers
- Inpainting with a PNG mask, plus
backgroundandoutputFormatcontrol, on OpenAI models - Images saved to disk within the configured output directory, with file paths returned
- MCP server speaks the MCP 2026-07-28 spec, with backward compatibility for older MCP clients
Prerequisites
- Google Gemini API key (Get one here) and/or an OpenAI API key (Get one here) — at least one is required
- Node.js 20+ (only for manual installation)
Installation
Quick Install (Claude Code Plugin)
The plugin installs the core image-generation skill + CLI + MCP server in one step—no separate configuration needed. Specialized workflows are intentionally opt-in.
# Add the marketplace
/plugin marketplace add guinacio/claude-image-gen
# Install the plugin
/plugin install media-pipeline@media-pipeline-marketplace
Or install directly from GitHub:
/plugin install guinacio/claude-image-gen
Once installed:
- Core skill uses the bundled CLI script (no MCP overhead)
- MCP server is also available for direct tool calls
- Specialized workflows are not auto-installed; add only the ones you need
Tip: Since the skill runs the CLI directly, you can disable the MCP server in Claude Code's MCP list to reduce startup overhead. The skill will continue to work without it.
Quick Install (Claude Desktop Extension)
For Claude Desktop users, install the pre-built extension:
- Download
media-pipeline.mcpbfrom Releases - Open Claude Desktop
- Go to Settings → Extensions → Advanced settings
- Click Install Extension and select the
.mcpbfile - Enter your Gemini and/or OpenAI API key when prompted (at least one is required)
Manual Installation
For developers who want to customize or build from source:
1. Build the MCP Server
cd mcp-server
npm install
npm run bundle
2. Use the Standalone CLI
cd mcp-server
GEMINI_API_KEY=your-api-key-here node build/cli.bundle.js \
--prompt "Landing page hero image for a fintech startup" \
--aspect-ratio "16:9"
The CLI routes to Gemini or OpenAI based on the model name and returns structured JSON on stdout. It does not require the MCP server layer. Any custom output path must still remain inside the configured output directory.
3. Add to Claude Code
Option A: Using MCP server
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.