docs: update README and CHANGELOG for qwen api compatibility

This commit is contained in:
jianzhang50 2026-03-11 21:43:36 +08:00
parent b06ac294db
commit 1ee24653af
4 changed files with 29 additions and 3 deletions

View File

@ -2,6 +2,19 @@
English | [中文](./CHANGELOG.zh.md)
## Unreleased
### Features
- `baoyu-image-gen`: add DashScope Qwen API compatibility with automatic model routing
- `baoyu-image-gen`: add default negative_prompt for Qwen API to improve image quality
### Breaking Changes
- `baoyu-image-gen`: change DashScope default model from `z-image-turbo` to `qwen-image-2.0-pro`
### Documentation
- `baoyu-image-gen`: add DashScope model compatibility documentation
- `baoyu-image-gen`: add Qwen API specification document
## 1.59.0 - 2026-03-09
### Features

View File

@ -2,6 +2,19 @@
[English](./CHANGELOG.md) | 中文
## 未发布
### 新功能
- `baoyu-image-gen`:新增 DashScope Qwen API 兼容支持,自动模型路由
- `baoyu-image-gen`:为 Qwen API 添加默认 negative_prompt 提升图片质量
### 破坏性变更
- `baoyu-image-gen`DashScope 默认模型从 `z-image-turbo` 变更为 `qwen-image-2.0-pro`
### 文档
- `baoyu-image-gen`:新增 DashScope 模型兼容性说明文档
- `baoyu-image-gen`:新增 Qwen API 规格文档
## 1.59.0 - 2026-03-09
### 新功能

View File

@ -666,7 +666,7 @@ AI SDK-based image generation using official OpenAI, Google and DashScope (Aliyu
| `DASHSCOPE_API_KEY` | DashScope API key (Aliyun) | - |
| `OPENAI_IMAGE_MODEL` | OpenAI model | `gpt-image-1.5` |
| `GOOGLE_IMAGE_MODEL` | Google model | `gemini-3-pro-image-preview` |
| `DASHSCOPE_IMAGE_MODEL` | DashScope model | `z-image-turbo` |
| `DASHSCOPE_IMAGE_MODEL` | DashScope model | `qwen-image-2.0-pro` |
| `OPENAI_BASE_URL` | Custom OpenAI endpoint | - |
| `GOOGLE_BASE_URL` | Custom Google endpoint | - |
| `DASHSCOPE_BASE_URL` | Custom DashScope endpoint | - |

View File

@ -666,7 +666,7 @@ AI 驱动的生成后端。
| `DASHSCOPE_API_KEY` | DashScope API 密钥(阿里云) | - |
| `OPENAI_IMAGE_MODEL` | OpenAI 模型 | `gpt-image-1.5` |
| `GOOGLE_IMAGE_MODEL` | Google 模型 | `gemini-3-pro-image-preview` |
| `DASHSCOPE_IMAGE_MODEL` | DashScope 模型 | `z-image-turbo` |
| `DASHSCOPE_IMAGE_MODEL` | DashScope 模型 | `qwen-image-2.0-pro` |
| `OPENAI_BASE_URL` | 自定义 OpenAI 端点 | - |
| `GOOGLE_BASE_URL` | 自定义 Google 端点 | - |
| `DASHSCOPE_BASE_URL` | 自定义 DashScope 端点 | - |
@ -923,7 +923,7 @@ GOOGLE_IMAGE_MODEL=gemini-3-pro-image-preview
# DashScope阿里通义万相
DASHSCOPE_API_KEY=sk-xxx
DASHSCOPE_IMAGE_MODEL=z-image-turbo
DASHSCOPE_IMAGE_MODEL=qwen-image-2.0-pro
# DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/api/v1
EOF
```