From fa2f10dd0d30efab5dfc8098c1379869d0204d98 Mon Sep 17 00:00:00 2001 From: Yige Date: Tue, 25 Aug 2026 20:35:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=B8=87=E7=9B=B8=20?= =?UTF-8?q?3.0=20=E8=A7=86=E9=A2=91=E6=A8=A1=E5=9E=8B=E9=85=8D=E7=BD=AE=20?= =?UTF-8?q?(#80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __tests__/validate.test.mjs | 2 +- compute/model-specs/_index.json | 1 + compute/model-specs/wan.json | 106 ++++++++++++++++++++++++++++ compute/providers/dashscope.json | 117 +++++++++++++++++++++++++++++++ manifest.json | 2 +- 5 files changed, 226 insertions(+), 2 deletions(-) create mode 100644 compute/model-specs/wan.json diff --git a/__tests__/validate.test.mjs b/__tests__/validate.test.mjs index 64d76f6..ac6bcaa 100644 --- a/__tests__/validate.test.mjs +++ b/__tests__/validate.test.mjs @@ -105,7 +105,7 @@ describe('真实数据全量校验', () => { if (spec.routing) routed.push(spec) } } - assert.equal(routed.length, 39) + assert.equal(routed.length, 41) assert.equal(routed.every((spec) => spec.routing.reasoning.supportedModes.includes(spec.routing.reasoning.defaultMode)), true) assert.equal(routed.every((spec) => Array.isArray(spec.spec.capabilities)), true) }) diff --git a/compute/model-specs/_index.json b/compute/model-specs/_index.json index b29f84a..ee990e3 100644 --- a/compute/model-specs/_index.json +++ b/compute/model-specs/_index.json @@ -6,6 +6,7 @@ "google", "deepseek", "qwen", + "wan", "moonshot", "zhipu", "minimax", diff --git a/compute/model-specs/wan.json b/compute/model-specs/wan.json new file mode 100644 index 0000000..f78716c --- /dev/null +++ b/compute/model-specs/wan.json @@ -0,0 +1,106 @@ +{ + "description": "通义万相(Wan)多模态生成模型规格。Wan 3.0 视频模型通过阿里云百炼提供,统一支持文生视频、首帧/首尾帧图生视频和多类型参考生视频。", + "specs": [ + { + "id": "wan3.0-video-prime", + "displayName": "通义万相 3.0 视频生成高速版", + "family": "wan3-video", + "match": { + "exact": [ + "wan3.0-video-prime" + ] + }, + "spec": { + "capabilities": [ + "video_generation", + "text_to_video", + "image_to_video", + "reference_to_video", + "multi_image", + "reference_video", + "reference_audio", + "first_last_frame", + "audio_generation", + "high_quality", + "fast" + ], + "serviceType": [ + "video_gen" + ], + "description": "万相 3.0 全能参考视频生成高速版,能力对齐标准版并显著提升端到端生成速度", + "releasedAt": "2026-08-06", + "extra": { + "maxVideoDuration": 30, + "fps": 30, + "supportedResolutions": [ + "480P", + "720P", + "1080P" + ] + } + }, + "routing": { + "tier": "flagship", + "routingPriority": 109, + "eligibleForAgent": false, + "defaultReference": false, + "reasoning": { + "supportedModes": [ + "auto" + ], + "defaultMode": "auto" + } + } + }, + { + "id": "wan3.0-video", + "displayName": "通义万相 3.0 视频生成", + "family": "wan3-video", + "match": { + "exact": [ + "wan3.0-video" + ] + }, + "spec": { + "capabilities": [ + "video_generation", + "text_to_video", + "image_to_video", + "reference_to_video", + "multi_image", + "reference_video", + "reference_audio", + "first_last_frame", + "audio_generation", + "high_quality" + ], + "serviceType": [ + "video_gen" + ], + "description": "万相 3.0 全能参考视频生成标准版,统一支持文生、首帧/首尾帧图生及多类型参考生视频", + "releasedAt": "2026-08-06", + "extra": { + "maxVideoDuration": 30, + "fps": 30, + "supportedResolutions": [ + "480P", + "720P", + "1080P" + ] + } + }, + "routing": { + "tier": "flagship", + "routingPriority": 110, + "eligibleForAgent": false, + "defaultReference": false, + "reasoning": { + "supportedModes": [ + "auto" + ], + "defaultMode": "auto" + } + } + } + ] +} diff --git a/compute/providers/dashscope.json b/compute/providers/dashscope.json index b456e55..a2aa556 100644 --- a/compute/providers/dashscope.json +++ b/compute/providers/dashscope.json @@ -512,6 +512,123 @@ "maxN": 4 } }, + { + "modelName": "wan3.0-video-prime", + "displayName": "通义万相 3.0 视频生成高速版", + "serviceType": [ + "video_gen" + ], + "description": "万相 3.0 全能参考视频生成高速版,能力对齐标准版并显著提升端到端生成速度", + "capabilities": [ + "video_generation", + "text_to_video", + "image_to_video", + "reference_to_video", + "multi_image", + "reference_video", + "reference_audio", + "first_last_frame", + "audio_generation", + "chinese_optimized", + "high_quality", + "fast" + ], + "extra": { + "endpoint": "/services/aigc/video-generation/video-synthesis", + "asyncHeader": "X-DashScope-Async", + "taskQueryEndpoint": "/tasks", + "maxVideoDuration": 30, + "supportsIntelligentDuration": true, + "fps": 30, + "supportedResolutions": [ + "480P", + "720P", + "1080P" + ], + "supportedRatios": [ + "adaptive", + "16:9", + "4:3", + "1:1", + "3:4", + "9:16" + ], + "mediaInputTypes": [ + "first_frame", + "last_frame", + "reference_image", + "reference_video", + "reference_audio", + "file", + "link" + ], + "maxReferenceImages": 10, + "maxReferenceVideos": 5, + "maxReferenceAudios": 5, + "supportsOutputAudio": true, + "supportsSeed": true, + "supportsPromptExtend": true, + "supportsWatermark": true + } + }, + { + "modelName": "wan3.0-video", + "displayName": "通义万相 3.0 视频生成", + "serviceType": [ + "video_gen" + ], + "description": "万相 3.0 全能参考视频生成标准版,统一支持文生、首帧/首尾帧图生及多类型参考生视频", + "capabilities": [ + "video_generation", + "text_to_video", + "image_to_video", + "reference_to_video", + "multi_image", + "reference_video", + "reference_audio", + "first_last_frame", + "audio_generation", + "chinese_optimized", + "high_quality" + ], + "extra": { + "endpoint": "/services/aigc/video-generation/video-synthesis", + "asyncHeader": "X-DashScope-Async", + "taskQueryEndpoint": "/tasks", + "maxVideoDuration": 30, + "supportsIntelligentDuration": true, + "fps": 30, + "supportedResolutions": [ + "480P", + "720P", + "1080P" + ], + "supportedRatios": [ + "adaptive", + "16:9", + "4:3", + "1:1", + "3:4", + "9:16" + ], + "mediaInputTypes": [ + "first_frame", + "last_frame", + "reference_image", + "reference_video", + "reference_audio", + "file", + "link" + ], + "maxReferenceImages": 10, + "maxReferenceVideos": 5, + "maxReferenceAudios": 5, + "supportsOutputAudio": true, + "supportsSeed": true, + "supportsPromptExtend": true, + "supportsWatermark": true + } + }, { "modelName": "wan2.6-t2v", "displayName": "通义万相 2.6 文生视频", diff --git a/manifest.json b/manifest.json index b22ef37..51005e0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 93, + "presetDataVersion": 94, "updatedAt": "2026-08-25", "description": "DesireCore 官方配置中心" }