docs(plugins): DashScope Wan3 - 去掉自定义兼容边界说明

This commit is contained in:
qiuliw
2026-09-20 16:04:24 +08:00
parent f6b33e76b0
commit b9608c9b97
4 changed files with 2 additions and 3 deletions

View File

@@ -86,7 +86,7 @@
## 兼容边界
Wan 3.0 原生异步视频。模型仅 wan3.0-video-prime / wan3.0-video;input.media 为 type+url;UNKNOWN 视为失败。文档:https://docs.bailian.console.aliyun.com/zh/model-studio/wan3-video-generation-api-reference。
该包只代表上述线协议 profile;同一品牌的其他 endpoint、云区域或网关包装必须使用独立插件,不能根据模型名猜测。
<!-- YINGCE_MANIFEST_CONTRACT_START -->
## Manifest 完整接口定义

File diff suppressed because one or more lines are too long

View File

@@ -920,7 +920,6 @@ const wan3MediaType = coalesce(
add({
id: "dashscope-wan3-video", providerId: "dashscope-wan3-video", name: "DashScope Wan 3.0 Video", vendor: "Alibaba Cloud", capability: "video",
baseUrl: "https://dashscope.aliyuncs.com", auth: bearer, params: videoParams, requiresPublicMediaUrls: true,
notes: `Wan 3.0 原生异步视频。模型仅 wan3.0-video-prime / wan3.0-video;input.media 为 type+url;UNKNOWN 视为失败。文档:https://docs.bailian.console.aliyun.com/zh/model-studio/wan3-video-generation-api-reference。`,
validations: [
{ assert: { $in: [lower(ref("request.model")), ["wan3.0-video-prime", "wan3.0-video"]] }, message: "Wan 3.0 Video 仅支持 wan3.0-video-prime 或 wan3.0-video" },
{ assert: { $lte: [len(mediaWithRoles("request.images", ["first_frame"])), 1] }, message: "Wan 3.0 Video 最多只能有一个 first_frame" },