
Canghe Image Gen
Generates images through OpenAI, Google, DashScope, and Canghe APIs with support for text-to-image, reference images, and aspect ratios. Ships with sensible defaults (2K quality, Google provider) but you can override everything through CLI flags or EXTEND.md preferences. Reference image support is the standout feature here, working across Google's multimodal models, OpenAI's GPT Image edits, and Canghe. Runs sequential by default, which is the right call for stability, but switches to parallel generation when you actually need it. The quality presets and aspect ratio handling save you from looking up provider-specific parameters every time.
- skills.sh installs
- 598
- GitHub stars
- 474
- last updated
- Aug 21, 2026
Install
$ npx -y skills add freestylefly/canghe-skills --skill canghe-image-gen --agent claude-codeInstalls into .claude/skills of the current project.
Files
Image Generation (AI SDK)
Official API-based image generation. Supports OpenAI, Google, DashScope (阿里通义万象), and Canghe providers.
Script Directory
Agent Execution:
SKILL_DIR= this SKILL.md file's directory- Script path =
${SKILL_DIR}/scripts/main.ts
Preferences (EXTEND.md)
Use Bash to check EXTEND.md existence (priority order):
# Check project-level first
test -f .canghe-skills/canghe-image-gen/EXTEND.md && echo "project"
# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.canghe-skills/canghe-image-gen/EXTEND.md" && echo "user"
┌──────────────────────────────────────────────────┬───────────────────┐ │ Path │ Location │ ├──────────────────────────────────────────────────┼───────────────────┤ │ .canghe-skills/canghe-image-gen/EXTEND.md │ Project directory │ ├──────────────────────────────────────────────────┼───────────────────┤ │ $HOME/.canghe-skills/canghe-image-gen/EXTEND.md │ User home │ └──────────────────────────────────────────────────┴───────────────────┘
Sponsors
Details
- Repository
- github.com/freestylefly/canghe-skills
- Categories
- AI & Agent Building, Automation & Workflows, Generative Media
- First seen
- Jun 3, 2026
More from freestylefly/canghe-skills
All 29- Canghe Comic584
- Volcengine Video Understanding579
- Canghe Xhs Images573
- Canghe Cover Image545
- Canghe Markdown To Html536
- Canghe Article Illustrator522
- Canghe Infographic516
- Canghe Url To Markdown510
- Canghe Slide Deck506
- Canghe Format Markdown505
- Remotion Best Practices503
- Canghe Post To Wechat498
- Canghe Danger Gemini Web497
- Find Skills497
- Canghe Compress Image494
- Canghe Danger X To Markdown489
- Canghe Post To X488
- Obsidian Markdown488
- Douyin Downloader485
- Json Canvas484
- Skill Creator483
- Obsidian Bases477
- Release Skills476
- Flyworks Avatar Video378