Skip to content

Releases

v0.4.1

Choose a tag to compare

@little-traincar little-traincar released this 30 Oct 09:45

what's new: 对安全性问题进行修复,该版本之前存在部分安全漏洞,推荐使用该版本;如有新的漏洞或bug,请跟我提issue以便于维护插件

原生支持qwen通道

Choose a tag to compare

@little-traincar little-traincar released this 13 Oct 02:11

重点:修复了‘qwen’通道不可用的问题

qwen 通道此前开箱不可用——即使填入合法的百炼 API Key,出图也会失败。根因是三层问题叠在一起:

层 修复前 修复后
endpoint dashscope.aliyuncs.com/compatible-mode/v1/images/generations
→ HTTP 404,该路径在阿里云并不存在
maas.qianwenaiapi.com/compatible-mode/v1/images/generations
尺寸分隔符 1152*2048(星号)
→ 接口直接 400 Field 'size' must use '<width>x<height>'
1152x2048(字母 x)
16:9 尺寸 2560x1440
→ 超出接口边长上限 2048
2048x1152

同时修正了三处硬编码的旧地址,避免界面上显示的仍是失效地址。

实测

qwen-image-3.0-pro,aspect=2:3 → 1152x2048,11–13 秒出图,响应 data[].url 正确解析、下载并落盘;T2I 与 I2I 共用同一接口(image 字段不传为文生图,传入为图生图)。

配置

填 key 即可用,baseUrls 无需手改:

- id: imagegen
  name: "@little-traincar/dsh-imagegen"
  config:
    apiKeys:
      qwen: <阿里云百炼 API Key>
    models:
      qwen: qwen-image-3.0-pro