A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Claude Code skill for AI image generation using Alibaba Cloud Bailian API (通义千问/通义万相)
A Claude Code / OpenClaw skill for AI image generation using Alibaba Cloud Bailian API.
| Feature | This Skill | Native Claude Code | Other Image Skills |
|---|---|---|---|
| Chinese text rendering | ✓ Qwen-Image optimized | ✗ No image generation | Partial |
| Photorealistic images | ✓ Wan series multi-model | ✗ No image generation | Partial |
| Multi-model selection | ✓ 14 models to choose from | ✗ N/A | Usually single model |
| Size presets | ✓ 7+ aspect ratios | ✗ N/A | Partial |
| Negative prompts | ✓ Fine-grained control | ✗ N/A | Partial |
| CLI direct invocation | ✓ Script ready to use | ✗ N/A | Requires custom code |
| Multi-region API | ✓ China/Singapore/Virginia | ✗ N/A | Usually single region |
Key advantages:
pip install two packages + one API key to get startedClaude Code (global):
git clone https://github.com/Agents365-ai/imagen-qwen.git ~/.claude/skills/imagen-qwen
Claude Code (project-specific):
git clone https://github.com/Agents365-ai/imagen-qwen.git .claude/skills/imagen-qwen
OpenClaw:
git clone https://github.com/Agents365-ai/imagen-qwen.git skills/imagen-qwen
SkillsMP: Search imagen-qwen on skillsmp.com for one-click install.
pip install dashscope requests
Get your API key from Alibaba Cloud Bailian Console
export DASHSCOPE_API_KEY="your_api_key"
# Set default model (default: qwen-image-2.0-pro)
export DASHSCOPE_MODEL="wan2.7-image-pro"
# Set API endpoint (default: cn)
export DASHSCOPE_API_BASE="cn" # or "sg", "us", or full URL
Just tell Claude what you want:
Generate an image of a cute orange cat
Create a poster with text "Happy New Year" in Chinese
Make a photorealistic 4K mountain sunset photo using wan2.7-image-pro
Generate a 16:9 landscape wallpaper
# Basic usage (default model: qwen-image-2.0-pro, native 2K)
python ~/.claude/skills/imagen-qwen/scripts/generate_image.py "A cute cat" output.png
# Photorealistic 4K with Wan2.7
python ~/.claude/skills/imagen-qwen/scripts/generate_image.py --model wan2.7-image-pro --size 4K "Mountain sunset" photo.png
# Custom size
python ~/.claude/skills/imagen-qwen/scripts/generate_image.py --size 16:9 "Wide landscape" landscape.png
# With negative prompt
python ~/.claude/skills/imagen-qwen/scripts/generate_image.py --negative "blurry" "High quality portrait" portrait.png
# List available models
python ~/.claude/skills/imagen-qwen/scripts/generate_image.py --list-models
| Model | Best For |
|---|---|
qwen-image-2.0-pro | Default, latest flagship, native 2K, strongest typography and detail |
qwen-image-2.0 | Standard 2.0 tier, native 2K |
qwen-image-max | Previous-gen flagship |
qwen-image-plus | Distilled accelerated version |
qwen-image | Base model |
wan2.7-image-pro | Latest photorealistic, up to 4K output |
wan2.7-image | Wan 2.7 standard, up to 2K |
wan2.6-t2i | Wan 2.6, flexible sizing |
wan2.5-t2i-preview | High quality art |
wan2.2-t2i-flash | Fast generation |
wan2.2-t2i-plus | Professional tier |
wanx2.1-t2i-turbo | Fast execution |
wanx2.1-t2i-plus | Professional tier |
wanx2.0-t2i-turbo | Earlier generation |
Qwen-Image 2.0 (native 2K):
1:1 → 2048×2048 (default)16:9 → 2688×15369:16 → 1536×26884:3 → 2304×17283:4 → 1728×23041K → 1024×10242K → 2048×2048Qwen-Image legacy:
1:1 → 1328×132816:9 → 1664×9289:16 → 928×16644:3 → 1472×11043:4 → 1104×1472Wan Series (Wan2.7 also accepts 1K/2K/4K):
1:1 → 1024×10241:1-large → 1280×128016:9 → 1280×7209:16 → 720×12804:3 → 1200×9003:4 → 900×12002:1 → 1440×720| Region | Alias | URL |
|---|---|---|
| China (default) | cn | https://dashscope.aliyuncs.com/api/v1 |
| Singapore | sg | https://dashscope-intl.aliyuncs.com/api/v1 |
| Virginia | us | https://dashscope-us.aliyuncs.com/api/v1 |
MIT License
If this project helps you, consider supporting the author:
WeChat Pay |
Alipay |
Buy Me a Coffee |
Give a Reward |
Agents365-ai
A Claude Code skill by Hao (駱君昊) that learns your Facebook voice and auto-posts to FB / IG / Threads / X with a 14-day c
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
AI image generation skill for Claude Code -- Creative Director powered by Gemini