happy-image-gen
happy-image-gen unifies image generation across eight providers—OpenAI, Google, Replicate, Stability AI, FAL, Ark, Bailian, and SiliconFlow—under a single command-line interface. Create still images from text prompts or transform existing images with reference-driven edits. The skill auto-detects available API keys and respects your configuration defaults, so you can switch providers without rewriting commands.
happy-image-gen generates still images from text prompts using OpenAI, Google, Replicate, Stability AI, and four other providers.
AI-generated summary based on this skill's SKILL.md
Install
iamzhihuix/happy-claude-skills/happy-image-gen · repository language: TypeScript
git clone https://github.com/iamzhihuix/happy-claude-skills
cp -r happy-claude-skills/skills/happy-image-gen ~/.claude/skills/happy-image-genFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I generate an image of a cat with happy-image-gen?
happy-image-gen lets you create still images from text prompts across eight providers—OpenAI, Google, Replicate, Stability AI, FAL, Ark, Bailian, and SiliconFlow. Simply provide your text description (e.g., "a cat") and the skill generates the image using your configured provider. The tool auto-detects available API keys, so if you've set up credentials, you can start generating immediately without additional setup.
Can I create image using DALL-E or other specific models?
Yes. happy-image-gen supports creating images with specific providers and models including DALL-E, Flux, SDXL, and others. You can specify which provider or model you want to use in your command, and the skill will route your request accordingly. The tool unifies all eight providers under a single interface, so you can switch between them without rewriting your workflow.
Does happy-image-gen support image-to-image editing?
happy-image-gen supports transforming or restyling existing images using reference-driven edits. You can upload an existing image and provide instructions or reference styles to apply, allowing you to modify photos and artwork with AI-powered transformations across supported providers.
How do I configure API keys for multiple image generation services?
happy-image-gen auto-detects available API keys from your environment and respects your configuration defaults. Set up credentials for the providers you want to use (OpenAI, Google, Replicate, Stability AI, FAL, Ark, Bailian, or SiliconFlow), and the skill will recognize them automatically. You can then switch between providers without managing keys manually in each command.
What custom options does happy-image-gen offer for rendering?
happy-image-gen lets you render images with custom aspect ratios and quality settings. These options allow you to fine-tune output dimensions and fidelity according to your needs, giving you control over the final image characteristics beyond just the text prompt.
Which AI providers does happy-image-gen support?
happy-image-gen unifies eight providers under one interface: OpenAI, Google, Replicate, Stability AI, FAL, Ark, Bailian, and SiliconFlow. This multi-provider approach lets you generate images from text prompts or transform existing images, choosing the provider that best fits your use case or preference.
SKILL.md
rendered from the published skill — quoted content, verbatim
happy-image-gen
Generates still images across 8 providers through one CLI: bun scripts/main.ts .... The same CLI handles text-to-image and image-to-image (reference-driven) edits.
Quick usage
```bash bun
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 15 files
skills/happy-image-gen/SKILL.md
skills/happy-image-gen/assets/EXTEND.template.md
skills/happy-image-gen/package.json
skills/happy-image-gen/references/aspect_ratio_map.md
skills/happy-image-gen/references/config/extend-schema.md
skills/happy-image-gen/references/config/first-time-setup.md
skills/happy-image-gen/references/error_codes.md
skills/happy-image-gen/references/providers.md
skills/happy-image-gen/scripts/main.ts
skills/happy-image-gen/scripts/providers/ark.ts
skills/happy-image-gen/scripts/providers/bailian.ts
skills/happy-image-gen/scripts/providers/fal.ts
skills/happy-image-gen/scripts/providers/google.ts
skills/happy-image-gen/scripts/providers/openai.ts
skills/happy-image-gen/scripts/providers/replicate.ts