feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列#13
Merged
Conversation
- 添加 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 供技能直接引用
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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)wanx-v2with 5 latest Wan image generation models:wan2.7-image-pro,wan2.7-image,wan2.6-t2i,wan2.2-t2i-plus,wan2.2-t2i-flashwanx-video→wan2.6-t2vwith endpoint metadataxseparator to*(DashScope API standard)endpoint,asyncHeader,taskQueryEndpointmetadata in each model'sextrafield for skill consumption摘要
mediaBaseUrl,使 media-proxy 能正确路由文生图/视频请求到百炼原生 APIwanx-v2:wan2.7-image-pro、wan2.7-image、wan2.6-t2i、wan2.2-t2i-plus、wan2.2-t2i-flashwanx-video更新为wan2.6-t2v,补充端点元数据*(阿里云 API 标准格式)extra中添加 endpoint/asyncHeader/taskQueryEndpoint 元数据供技能引用Test plan
npm testin config-center to validate JSON schemanpm run sync-config-centerin main repo to verify sync works