Happy Image Gen
One Bun CLI to generate images across 8 providers (OpenAI, Gemini, Flux, Stability, more)
Test report
- Verdict
- Works with setup
- Score
- Tested
- Jul 31, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 0d76de7
Cloned the repo and ran the CLI with Bun 1.x locally. `--help` printed full usage; a no-key run emitted the exact 'config: No provider selected...' error documented in SKILL.md Step 4; a run with a fake OPENAI_API_KEY reached the real OpenAI API and returned the documented '[openai] OpenAI images API 401' error, confirming the code path is live. I could not produce an actual image (no valid provider API key), so OUTPUT vs baseline is unmeasured. Source scanned clean: all base64 is image encode/decode, keys read only from standard env vars and sent only to each provider's own endpoint; paths resolve via import.meta.url with no hardcoded machine paths.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 5/10
- Docs & honesty 5/5
What Happy Image Gen does
A text-to-image and image-to-image generation skill that wraps eight providers (OpenAI gpt-image/DALL-E, Google Gemini/Imagen, Replicate Flux/SDXL, Stability, FAL, Ark Seedream, Bailian qwen/wanx, SiliconFlow) behind a single Bun CLI, selecting a provider from an EXTEND.md config or available API keys. It triggers when the user asks to generate, draw, illustrate, render, or synthesize an image from a text prompt or reference image, including model-family names like Flux, SDXL, or Imagen. It defers to happy-dreamina when the user explicitly names Dreamina, 即梦, or Jimeng.
How to install Happy Image Gen
git clone --depth 1 https://github.com/iamzhihuix/happy-claude-skills.git /tmp/happy-image-gen-src
mkdir -p ~/.claude/skills
cp -R /tmp/happy-image-gen-src/skills/happy-image-gen ~/.claude/skills/happy-image-gen
# Requires Bun (https://bun.sh) — CLI runs as: bun scripts/main.ts ...
# Requires at least ONE provider API key in env, e.g. export OPENAI_API_KEY=sk-...
# (or GOOGLE_API_KEY/GEMINI_API_KEY, REPLICATE_API_TOKEN, STABILITY_API_KEY, FAL_KEY,
# ARK_API_KEY, DASHSCOPE_API_KEY, SILICONFLOW_API_KEY)
# Optional: run `bun scripts/main.ts --setup` to create an EXTEND.md default-provider config
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Happy Image Gen
-
/happy-image-genOne Bun CLI to generate images across 8 providers (OpenAI, Gemini, Flux, Stability, more)
It also activates on plain-language prompts like these:
-
Generate an image using Flux from this prompt -
Draw a poster using Gemini's image model -
Create an illustration with a reference image
Frequently asked questions
- Is the Happy Image Gen skill free?
- Yes. The skill itself is free from iamzhihuix/happy-claude-skills. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Happy Image Gen work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 31, 2026. Verdict: Works with setup. Cloned the repo and ran the CLI with Bun 1.x locally. `--help` printed full usage; a no-key run emitted the exact 'config: No provider selected...' error documented in SKILL.md Step 4; a run with a fake OPENAI_API_KEY reached the real OpenAI API and returned the documented '[openai] OpenAI images API 401' error, confirming the code path is live. I could not produce an actual image (no valid provider API key), so OUTPUT vs baseline is unmeasured. Source scanned clean: all base64 is image encode/decode, keys read only from standard env vars and sent only to each provider's own endpoint; paths resolve via import.meta.url with no hardcoded machine paths.
- What is the Happy Image Gen SkillProof Score?
- 8.0/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 5/10, docs & honesty 5/5.
- How do I install Happy Image Gen?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Happy Image Gen with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.