Claude Code Image Gen — Development skill for Claude Code
A Claude Code skill that generates images through OpenAI, Gemini, Higgsfield, FLUX, or any OpenAI-compatible endpoint.
How to install Claude Code Image Gen
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open behzadsp/claude-code-image-gen and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Image Gen does
A Claude Code skill that generates images through OpenAI, Gemini, Higgsfield, FLUX, or any OpenAI-compatible endpoint. One CLI, no dependencies.
Alternatives in Development
README
claude-code-image-gen
A [Claude Code](https://claude.com/claude-code) skill that generates images through OpenAI, Google Gemini, Higgsfield, Black Forest Labs FLUX, or any OpenAI-compatible endpoint — behind a single CLI with no dependencies.
Ask Claude for a hero image and it picks the provider you have keys for, writes the prompt, saves the PNG into your project, and shows it to you.
you ▸ generate a hero image for the pricing page, dark, abstract, 16:9
↳ skill: image-gen
↳ python3 scripts/generate.py -p "..." -a 16:9 -o ./public/hero.png
↳ {"success": true, "provider": "openai", "model": "gpt-image-2.5-sunburst"}
Why
Most image-gen integrations pin one provider, or one model name that goes stale the next time the provider ships. This one routes across providers, reads the live model catalog instead of a hardcoded list, and degrades to a clear error instead of a wrong guess.
- No dependencies. Python 3.8+ standard library. No
pip install, no Node, no MCP server to keep running. - Provider-agnostic. Five backends, one flag. Anything OpenAI-shaped works without new code.
- Resilient parsing. The response walker finds a base64 blob or image URL anywhere in the payload, so a provider tweaking its schema does not break it.
- Async handled. Higgsfield and FLUX submit-then-poll jobs are wrapped; you just get a file path back.
Install
git clone https://github.com/behzadsp/claude-code-image-gen.git ~/.claude/skills/image-gen
Claude Code loads skills from `~/.claude/skills/` (personal) or `.claude/skills/` (per-project, committed to git). To keep the repo elsewhere while still having it discovered, clone where you like and symlink instead:
git clone https://github.com/behzadsp/claude-code-image-gen.git ~/src/image-gen
ln -s ~/src/image-gen ~/.claude/skills/image-gen
Restart Claude Code, then ask it for an image.
Optionally put the CLI on PATH so it also works as a plain c
Related Skills
Gen Images Skill
Context-aware image generation skill for Claude Code — analyzes website brand identity and generates on-brand
Carousel Cover
Generate a cover image for the current carousel via Higgsfield CLI. Loads the matching prompt template, fills
Ultimate Gemini Skill
Standalone Claude Code skill for Gemini 3.1 Flash Image — CLI mirror of ultimate-image-gen-mcp, no MCP server
Nano Banana Image Generation
Generate professional images via the Gemini CLI's nanobanana extension.
Antigravity Reverseproxy API
A proxy server that exposes both Anthropic-compatible and OpenAI-compatible APIs backed by Antigravity's Cloud
Kaggle Tpu Lab
Qwen3.8-27B (bf16) on a free Kaggle TPU: OpenAI-compatible endpoint, 262k context, ~130 tok/s, works with Clau
Related Agents
Image Generator
Generates and edits images using the OpenAI Image API via the bundled CLI (scripts/image_gen.py). Use for conc
Codex CLI
Codex CLI → any OpenAI-compatible endpoint
Openrouter Agent
Runs a model from any of ~60 vendors through OpenRouter's OpenAI-compatible endpoint, billed per token against