📦 Release v2.1.31
This release was automatically published from PR #11708.
Changes
See PR description: #11708
Commit Message
💻 Change Type
- ✨ feat
- 🐛 fix
- ♻️ refactor
- 💄 style
- 👷 build
- ⚡️ perf
- ✅ test
- 📝 docs
- 🔨 chore
🔗 Related Issue
Closes #10346
🔀 Description of Change
- 更新的文生图,图生图模型列表,
z-imagewan2.5wan2.6qwen-image-plus/maxqwen-image-edit-plus/max - 新增
image2imageendpoint,为老版本图生图模型进行兼容 - 默认使用
multimodal-generationendpoint(新模型目前调研下来都是用这个了,同时支持图生图和文生图) - 支持多区域 Dashscope URL,跟随 baseUrl 参数,自动切分
/compatible-mode/v1默认北京区域
北京 https://dashscope.aliyuncs.com
新加坡 https://dashscope-intl.aliyuncs.com
弗吉尼亚 https://dashscope-us.aliyuncs.com
| Endpoint | |
|---|---|
multimodal-generation
| ![]() ![]()
|
text2image
|
|
🧪 How to Test
- Tested locally
- Added/updated tests
- No tests needed
📸 Screenshots / Videos
| Before | After |
|---|---|
| ... | ... |
📝 Additional Information
ref: https://help.aliyun.com/zh/model-studio/newly-released-models
ref: https://bailian.console.aliyun.com/cn-beijing/?tab=doc#/doc/?type=model&url=2987148
Summary by Sourcery
Extend Qwen image generation support to cover new text-to-image and image-to-image models while routing legacy models via dedicated text2image/image2image endpoints and defaulting other models to the multimodal-generation API.
New Features:
- Add model metadata and configuration for new Qwen image models including Z-Image Turbo, Qwen Image Edit Max/Plus, Qwen Image Max/Plus, and Wanxiang 2.5/2.6 variants.
- Introduce explicit handling of legacy text-to-image and image-to-image Qwen models via separate async text2image and image2image endpoints.
Enhancements:
- Update the Qwen image creation flow to prefer the multimodal-generation endpoint for newer models and improve error messaging and logging across image workflows.
- Reformat select Qwen chat model descriptions for consistency without changing behavior.
Tests:
- Adjust Qwen image creation tests to align with the new multimodal-generation behavior and removed strict input validation on qwen-image-edit-specific image URL requirements.



