imagenCN

ImagenCN — AI Image Generation with Chinese Text Excellence

License: CC BY-NC 4.0 Claude Code OpenClaw SkillsMP

中文文档

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.

Pipeline

imagenCN Workflow

Features

Installation

/plugin install imagenCN@365-skills

Or tell your coding agent:

help me to install https://github.com/Agents365-ai/imagenCN.git

Manual

# 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

OpenClaw

git clone https://github.com/Agents365-ai/imagenCN.git skills/imagenCN

SkillsMP

Search imagenCN on skillsmp.com for one-click install.

Requirements

System Requirements

Install Dependencies

pip install dashscope requests

API Keys

# 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/

Config File (Optional)

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.

Optional Environment Variables

# 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

Quick Start

Natural Language (Claude Code)

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

Command Line

# 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

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

Size Presets

Qwen-Image 2.0 (native 2K):

Qwen-Image legacy:

Z-Image (pixel area 512×512 to 2048×2048):

Wan Series (Wan2.7 also accepts 1K/2K/4K):

Volcano Ark (Seedream):

Tencent Hunyuan (colon-separated):

Zhipu (CogView-4 / GLM-Image):

StepFun (Step-2X):

Google Gemini (named sizes + aspect ratios):

API Endpoints

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

Support

If this project helps you, consider supporting the author:

WeChat Pay
WeChat Pay
Alipay
Alipay
Buy Me a Coffee
Buy Me a Coffee
Give a Reward
Give a Reward

Author

Agents365-ai

License

CC BY-NC 4.0 — free for non-commercial use. Commercial use requires permission.