From image-generator
Generates images using OpenRouter. Triggers on /generate-image [prompt] [--model model-id] or automatically when an image is needed in context.
How this skill is triggered — by the user, by Claude, or both
Slash command
/image-generator:generate-imageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Invoke this skill when:
Invoke this skill when:
/generate-image [prompt] — optionally with --model [model-id]The generate-image script path was provided at session start (see [image-generator] Tool script ready in session context).
Use the Bash tool to call it directly:
node "<script-path-from-session-context>" "<prompt>" [--model <model-id>] [--output-dir <dir>]
The script handles everything: API call, response parsing, base64 decode, file save.
It prints Image saved: <path> on success or a clear error message on failure.
# Default model (google/gemini-3.1-flash-image-preview)
node "/path/to/scripts/generate.js" "a sunset over mountains"
# Override model
node "/path/to/scripts/generate.js" "a minimalist cat logo" --model google/imagen-4.0-generate-001
# Save to a specific directory
node "/path/to/scripts/generate.js" "abstract art" --output-dir ./assets
Report to the user:
All models use OpenRouter's /api/v1/chat/completions endpoint — no special routing needed.
| Model | Notes |
|---|---|
google/gemini-3.1-flash-image-preview | Default — best quality |
google/imagen-4.0-generate-001 | High-fidelity photorealism |
black-forest-labs/flux-kontext-pro | Fast, artistic styles |
npx claudepluginhub crazyscreamx/calude-marketplace --plugin image-generatorGenerates images from text prompts and edits existing images using OpenRouter's image models via Node.js CLI scripts generate.ts and edit.ts.
Generates or edits images using OpenAI GPT Image models (gpt-image-2, gpt-image-1, etc.) via bundled Python script with openai and Pillow. For AI image creation/editing requests.
Generates and edits images via OpenRouter using FLUX and Gemini models. Use for photos, illustrations, artwork, and visual assets, not technical diagrams.