Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Generate images via OpenAI, Google, OpenRouter, DashScope, Jimeng, Seedream, and Replicate APIs with batch support.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/providers/dashscope.md
1# DashScope (阿里通义万象)23Read when the user picks `--provider dashscope`, sets `default_model.dashscope`, or asks for Qwen-Image behavior. The SKILL.md only names the default — this file covers model families, sizing rules, and limits.45## Model Families67**`qwen-image-2.0*`** — recommended modern family. Members: `qwen-image-2.0-pro`, `qwen-image-2.0-pro-2026-03-03`, `qwen-image-2.0`, `qwen-image-2.0-2026-03-03`.89- Free-form `size` in `宽*高` format10- Total pixels must be between `512*512` and `2048*2048`11- Default ≈ `1024*1024`12- Best choice for custom ratios (e.g. `21:9`) and text-heavy Chinese/English layouts1314**Fixed-size family** — `qwen-image-max`, `qwen-image-max-2025-12-30`, `qwen-image-plus`, `qwen-image-plus-2026-01-09`, `qwen-image`.1516- Only five sizes allowed: `1664*928`, `1472*1104`, `1328*1328`, `1104*1472`, `928*1664`17- Default is `1664*928`18- `qwen-image` currently has the same capability as `qwen-image-plus`1920**Legacy** — `z-image-turbo`, `z-image-ultra`, `wanx-v1`. Only use when the user explicitly asks for legacy behavior.2122## Size Resolution2324- `--size` wins over `--ar`25- For `qwen-image-2.0*`: prefer explicit `--size`; otherwise infer from `--ar` using the recommended table below26- For `qwen-image-max/plus/image`: only use the five fixed sizes; if the requested ratio doesn't fit, switch to `qwen-image-2.0-pro`27- `--quality` is a baoyu-imagine preset, not an official DashScope field. The mapping of `normal`/`2k` onto the `qwen-image-2.0*` table is an implementation choice, not an API guarantee2829### Recommended `qwen-image-2.0*` sizes3031| Ratio | `normal` | `2k` |32|-------|----------|------|33| `1:1` | `1024*1024` | `1536*1536` |34| `2:3` | `768*1152` | `1024*1536` |35| `3:2` | `1152*768` | `1536*1024` |36| `3:4` | `960*1280` | `1080*1440` |37| `4:3` | `1280*960` | `1440*1080` |38| `9:16` | `720*1280` | `1080*1920` |39| `16:9` | `1280*720` | `1920*1080` |40| `21:9` | `1344*576` | `2048*872` |4142## Not Exposed4344DashScope APIs also support `negative_prompt`, `prompt_extend`, and `watermark`, but `baoyu-imagine` does not expose them as CLI flags today.4546## Official References4748- [Qwen-Image API](https://help.aliyun.com/zh/model-studio/qwen-image-api)49- [Text-to-image guide](https://help.aliyun.com/zh/model-studio/text-to-image)50- [Qwen-Image Edit API](https://help.aliyun.com/zh/model-studio/qwen-image-edit-api)51