mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-09-05 19:13:33 +08:00
feat: 添加万相 3.0 视频模型配置 (#80)
This commit is contained in:
@@ -105,7 +105,7 @@ describe('真实数据全量校验', () => {
|
|||||||
if (spec.routing) routed.push(spec)
|
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) => spec.routing.reasoning.supportedModes.includes(spec.routing.reasoning.defaultMode)), true)
|
||||||
assert.equal(routed.every((spec) => Array.isArray(spec.spec.capabilities)), true)
|
assert.equal(routed.every((spec) => Array.isArray(spec.spec.capabilities)), true)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"google",
|
"google",
|
||||||
"deepseek",
|
"deepseek",
|
||||||
"qwen",
|
"qwen",
|
||||||
|
"wan",
|
||||||
"moonshot",
|
"moonshot",
|
||||||
"zhipu",
|
"zhipu",
|
||||||
"minimax",
|
"minimax",
|
||||||
|
|||||||
106
compute/model-specs/wan.json
Normal file
106
compute/model-specs/wan.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -512,6 +512,123 @@
|
|||||||
"maxN": 4
|
"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",
|
"modelName": "wan2.6-t2v",
|
||||||
"displayName": "通义万相 2.6 文生视频",
|
"displayName": "通义万相 2.6 文生视频",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"presetDataVersion": 93,
|
"presetDataVersion": 94,
|
||||||
"updatedAt": "2026-08-25",
|
"updatedAt": "2026-08-25",
|
||||||
"description": "DesireCore 官方配置中心"
|
"description": "DesireCore 官方配置中心"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user