By notque
Add AI image generation to Claude Code using Google Gemini's image generation APIs. Generate images from text prompts with watermark removal and background transparency options.
npx claudepluginhub joshuarweaver/cascade-ai-ml-engineering --plugin notque-gemini-imagen
A Claude Code plugin that adds AI image generation using Google Gemini's image generation APIs.
Install this plugin to give Claude Code the ability to generate images. Just ask Claude to create an image and it will use the Gemini API to generate it.
Example:
> Generate an image of a mountain landscape at sunset
Claude will run the generation script and save the image for you.
# Add this repository as a plugin marketplace
/plugin marketplace add notque/gemini-imagen
# Install the plugin
/plugin install gemini-imagen@notque-gemini-imagen
git clone https://github.com/notque/gemini-imagen.git ~/.claude/plugins/gemini-imagen
macOS / Linux:
echo 'export GEMINI_API_KEY="your_key_here"' >> ~/.zshrc && source ~/.zshrc
Windows PowerShell:
[Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "your_key_here", "User")
pip install google-genai Pillow
Once installed, just ask Claude to generate images:
Generate an image of a cute cartoon cat
Create a pixel art sprite of a knight
Make a product photo of a smartphone
Or use the commands directly:
| Command | Description |
|---|---|
/imagen | Generate an image |
/imagen:setup | Setup guide for API key |
/imagen:help | Quick reference |
python3 generate_image.py --prompt "..." --output out.png --remove-watermark
Removes bright pixels from corners that may contain watermarks.
python3 generate_image.py --prompt "Character on gray background" --output char.png --transparent-bg
Converts solid backgrounds to transparent - great for game sprites.
| Model | Speed | Best For |
|---|---|---|
gemini-2.5-flash-image | Fast (2-5s) | Iterations, drafts |
gemini-3-pro-image-preview | Slower | Quality, text rendering |
gemini-imagen/
├── .claude-plugin/
│ └── plugin.json
├── commands/
│ ├── setup.md
│ └── help.md
├── skills/
│ └── gemini-imagen/
│ ├── SKILL.md
│ └── scripts/
│ └── generate_image.py
├── assets/
│ └── logo.png
├── examples/
│ └── .env.example
├── README.md
└── LICENSE
google-genai packagePillow package (for post-processing)MIT
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.