imagenCN — Image Generation, Cloud-Native: one CLI, every image cloud. The project started with China-friendly clouds and now covers international providers as well.
A Claude Code / OpenClaw skill for AI image generation using Alibaba Cloud Bailian, ByteDance Volcano Ark, Tencent Hunyuan, Zhipu BigModel, StepFun, and Google Gemini APIs.
📋 Model Reference — browse all 31 models with pricing, resolution, and feature comparison.

/plugin install imagenCN@365-skills
Or tell your coding agent:
help me to install https://github.com/Agents365-ai/imagenCN.git
# Global install
git clone https://github.com/Agents365-ai/imagenCN.git ~/.claude/skills/imagenCN
# Project-specific
git clone https://github.com/Agents365-ai/imagenCN.git .claude/skills/imagenCN
git clone https://github.com/Agents365-ai/imagenCN.git skills/imagenCN
Search imagenCN on skillsmp.com for one-click install.
pip install dashscope requests
# Alibaba Cloud Bailian (DashScope)
export DASHSCOPE_API_KEY="your_api_key"
# Get key: https://bailian.console.aliyun.com/
# ByteDance Volcano Ark (optional)
export ARK_API_KEY="your_api_key"
# Get key: https://console.volcengine.com/ark/region:ark+cn-beijing/apikey
# Tencent Hunyuan (optional)
export HUNYUAN_API_KEY="your_api_key"
# Get key: https://console.cloud.tencent.com/tokenhub/apikey
# Zhipu / BigModel (optional)
export ZHIPUAI_API_KEY="your_api_key"
# Get key: https://bigmodel.cn
# StepFun / 阶跃星辰 (optional)
export STEP_API_KEY="your_api_key"
# Get key: https://platform.stepfun.com/interface-key
# Google Gemini (optional, international)
export GEMINI_API_KEY="your_api_key"
# Get key: https://aistudio.google.com/
Create ~/.imagenCN.json for personal defaults:
{"platform": "ark", "model": "doubao-seedream-5-0-260128", "size": "2K"}
Project-level .imagenCN.json overrides user-level. CLI args override both.
# Set default model per platform
export DASHSCOPE_MODEL="wan2.7-image-pro" # DashScope default
export ARK_MODEL="doubao-seedream-5-0-260128" # Volcano Ark default
export HUNYUAN_MODEL="hy-image-v3.0" # Tencent Hunyuan default
export ZHIPUAI_MODEL="cogview-4" # Zhipu default
export STEP_MODEL="step-2x-large" # StepFun default
export GEMINI_MODEL="gemini-3-pro-image-preview" # Google Gemini default
# Set API endpoint (DashScope only, 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 scripts/generate_image.py "A cute cat" output.png
# Photorealistic 4K with Wan2.7 (DashScope)
python scripts/generate_image.py --model wan2.7-image-pro --size 4K "Mountain sunset" photo.png
# Volcano Ark (ByteDance) — requires ARK_API_KEY
python scripts/generate_image.py --platform ark "Editorial portrait, Vogue style" portrait.png
# Tencent Hunyuan — requires HUNYUAN_API_KEY
python scripts/generate_image.py --platform hunyuan "Astronaut on the moon, cinematic" scifi.png
# Google Gemini (international) — requires GEMINI_API_KEY
python scripts/generate_image.py --platform gemini "Japanese garden, morning light" garden.png
# Edit an existing image (DashScope, requires --image)
python scripts/generate_image.py --model qwen-image-edit-max --image input.png "Change the background to a beach" edited.png
# With negative prompt (DashScope)
python scripts/generate_image.py --negative "blurry" "High quality portrait" portrait.png
# List all 6 platforms' models
python 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-pro-2026-06-22 |
Latest snapshot (Jun 2026), generation + editing fusion |
qwen-image-2.0 |
Standard 2.0 tier, native 2K |
qwen-image-max |
Previous-gen flagship |
qwen-image-max-2025-12-30 |
qwen-image-max snapshot, improved realism |
qwen-image-plus |
Distilled accelerated version |
qwen-image-plus-2026-01-09 |
qwen-image-plus snapshot (Jan 2026) |
qwen-image-edit-max |
Flagship image editing (requires --image) |
qwen-image-edit-max-2026-01-16 |
Latest editing snapshot (Jan 2026) |
qwen-image-edit-plus |
Fast, lower-cost image editing |
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 |
z-image-turbo |
Lightweight, fast & low-cost; portraits and product images |
doubao-seedream-5-0-260128 |
ByteDance latest, up to 3K, PNG/JPEG, best text rendering |
doubao-seedream-4-5-251128 |
ByteDance Seedream 4.5, up to 4K |
doubao-seedream-4-0-250828 |
ByteDance Seedream 4.0, budget-friendly 4K |
hy-image-v3.0 |
Tencent Hunyuan flagship, strong Chinese composition understanding |
cogview-4 |
Zhipu CogView-4, native Chinese text in images |
cogview-4-250304 |
CogView-4 fixed snapshot (Mar 2025), reproducible results |
glm-image |
Zhipu GLM-Image flagship, up to 2048×2048 |
step-2x-large |
StepFun high quality, 0.1 RMB/image |
step-image-edit-2 |
StepFun ultra-cheap, 0.02 RMB/image, negative prompt support |
gemini-3-pro-image-preview |
Google Gemini flagship (international), 512/1K/2K plus aspect ratios |
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×1472Z-Image (pixel area 512×512 to 2048×2048):
1:1 → 1024×1024 (default)16:9 → 1280×7209:16 → 720×12802:3 → 1024×15363:2 → 1536×1024Wan 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×720Volcano Ark (Seedream):
1:1 → 2048×204816:9 → 2848×16009:16 → 1600×28484:3 → 2304×17283:4 → 1728×23041K / 2K / 3K / 4K (model-dependent)Tencent Hunyuan (colon-separated):
1:1 → 1024:102416:9 → 1920:10809:16 → 1080:19204:3 → 1600:12003:4 → 1200:16003:2 → 1920:12802:3 → 1280:1920Zhipu (CogView-4 / GLM-Image):
1:1 → 1024x1024 (default)16:9 → 1344x7689:16 → 768x13444:3 → 1152x8643:4 → 864x11522:1 → 1440x7201:2 → 720x1440StepFun (Step-2X):
1:1 → 1024x1024 (default)1:1-small → 512x51216:9 → 1280x8009:16 → 800x1280Google Gemini (named sizes + aspect ratios):
512 / 1K (default) / 2K → named output size1:1, 16:9, 9:16, 4:3, 3:4 → aspect ratio (no exact pixel sizes)| 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 |
If this project helps you, consider supporting the author:
WeChat Pay |
Alipay |
Buy Me a Coffee |
Give a Reward |
Agents365-ai
CC BY-NC 4.0 — free for non-commercial use. Commercial use requires permission.