Skip to content

feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列#13

Merged
124608760 merged 1 commit into
mainfrom
feat/dashscope-image-models
May 7, 2026
Merged

feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列#13
124608760 merged 1 commit into
mainfrom
feat/dashscope-image-models

Conversation

@124608760

Copy link
Copy Markdown
Member

Summary

  • Add mediaBaseUrl: "https://dashscope.aliyuncs.com/api/v1" to dashscope provider, enabling media-proxy to correctly route image/video generation requests to DashScope's native API (separate from the OpenAI-compatible chat endpoint)
  • Replace outdated wanx-v2 with 5 latest Wan image generation models: wan2.7-image-pro, wan2.7-image, wan2.6-t2i, wan2.2-t2i-plus, wan2.2-t2i-flash
  • Update wanx-videowan2.6-t2v with endpoint metadata
  • Fix image size format from x separator to * (DashScope API standard)
  • Add endpoint, asyncHeader, taskQueryEndpoint metadata in each model's extra field for skill consumption

摘要

  • 为 dashscope provider 添加 mediaBaseUrl,使 media-proxy 能正确路由文生图/视频请求到百炼原生 API
  • 用 5 个最新万相模型替换过时的 wanx-v2wan2.7-image-prowan2.7-imagewan2.6-t2iwan2.2-t2i-pluswan2.2-t2i-flash
  • wanx-video 更新为 wan2.6-t2v,补充端点元数据
  • 修正尺寸分隔符为 *(阿里云 API 标准格式)
  • 各模型 extra 中添加 endpoint/asyncHeader/taskQueryEndpoint 元数据供技能引用

Test plan

  • Run npm test in config-center to validate JSON schema
  • Run npm run sync-config-center in main repo to verify sync works
  • Verify media-proxy correctly resolves dashscope provider with mediaBaseUrl

- 添加 mediaBaseUrl: https://dashscope.aliyuncs.com/api/v1
- 替换旧 wanx-v2 为 5 个最新模型:wan2.7-image-pro、wan2.7-image、wan2.6-t2i、wan2.2-t2i-plus、wan2.2-t2i-flash
- 更新 wanx-video 为 wan2.6-t2v,补充 endpoint 元数据
- 修正尺寸格式为阿里云 API 标准(`*` 分隔符)
- 各模型 extra 中记录 endpoint/asyncHeader/taskQueryEndpoint 供技能直接引用
@124608760 124608760 merged commit 5d68ed4 into main May 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant