What is claude-image-generation?
claude-image-generation is a Claude Code mod by hex that generate and edit images using Google Gemini, OpenAI GPT Image, xAI Grok Image, and OpenRouter APIs. It is listed under Interface and has 12 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | hex |
| Repository | hex/claude-image-generation |
| Popularity | 12 GitHub stars |
| Category | Interface |
| Security | High risk (53/100) |
| Rank | #438 of 5,272 Claude Code mods; #168 in Interface |
| License | MIT |
| Last commit | 2026-09-25 |
| Hooks | 2 events |
| Sees | mcp__claude-image-generation__generate calls |
| Draws on | nothing |
Is claude-image-generation safe to install?
claude-image-generation scores 53/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; validator reported problems. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Flag |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.fs.exists | reads files |
$.process.run | runs processes |
$.tool.register | drives Claude |
How do I install claude-image-generation?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/hex/claude-image-generation claude plugin validate ./claude-image-generation/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/hex/claude-image-generation && claude --plugin-dir ./claude-image-generation/.
Or ask Claude to set it up
Paste this into Claude Code and it installs claude-image-generation for you:
Install the "claude-image-generation" Claude Code mod from https://github.com/hex/claude-image-generation. Run claude plugin validate on it first and show me what it can access before you enable it.