From da0397f74bcfa184f1f67dca495bb06bf1a9e5b9 Mon Sep 17 00:00:00 2001 From: Yige Date: Mon, 6 Jul 2026 14:41:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(compute):=20=E8=A1=A5=E9=BD=90=E5=AA=92?= =?UTF-8?q?=E4=BD=93=E7=94=9F=E6=88=90=20provider=20=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E5=A3=B0=E6=98=8E=EF=BC=88Seedream/Seedance/=E5=BF=AB=E4=B9=90?= =?UTF-8?q?=E9=A9=AC=EF=BC=89=20(#34)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - volcengine:services 增 image_gen/video_gen;新增 doubao-seedream-4-0-250828(真 img2img/多图融合)与 doubao-seedance-2-0-260128(多素材视频)模型 - dashscope:新增快乐马 happyhorse-1.0-t2v/i2v/r2v 视频模型 - service-map:默认 image_gen→minimax/image-01、video_gen→minimax/MiniMax-Hailuo-2.3(指向已有内置工具适配器的后端) 使算力配置 UI 能展示这些 provider 的图像/视频能力标签与模型,用户填 key 时即可显式知晓其用途。 --- compute/providers/dashscope.json | 72 +++++++++++++++++++++++++++++++ compute/providers/volcengine.json | 56 +++++++++++++++++++++++- compute/service-map.json | 8 ++-- 3 files changed, 131 insertions(+), 5 deletions(-) diff --git a/compute/providers/dashscope.json b/compute/providers/dashscope.json index 95d774c..ba152f7 100644 --- a/compute/providers/dashscope.json +++ b/compute/providers/dashscope.json @@ -689,6 +689,78 @@ "defaultTemperature": 0.65, "defaultTopP": 0.8, "extra": {} + }, + { + "modelName": "happyhorse-1.0-t2v", + "displayName": "快乐马 1.0 文生视频", + "serviceType": [ + "video_gen" + ], + "description": "阿里 HappyHorse 文生视频,原生音视频联合生成,最长 15s,支持多语种口型", + "capabilities": [ + "video_generation", + "text_to_video", + "chinese_optimized", + "high_quality" + ], + "extra": { + "endpoint": "/services/aigc/video-generation/video-synthesis", + "asyncHeader": "X-DashScope-Async", + "taskQueryEndpoint": "/tasks", + "maxVideoDuration": 15, + "supportedResolutions": [ + "720P", + "1080P" + ] + } + }, + { + "modelName": "happyhorse-1.0-i2v", + "displayName": "快乐马 1.0 图生视频", + "serviceType": [ + "video_gen" + ], + "description": "阿里 HappyHorse 图生视频(首帧),宽高比自动跟随输入首帧", + "capabilities": [ + "video_generation", + "image_to_video", + "chinese_optimized" + ], + "extra": { + "endpoint": "/services/aigc/video-generation/video-synthesis", + "asyncHeader": "X-DashScope-Async", + "taskQueryEndpoint": "/tasks", + "maxVideoDuration": 15, + "supportedResolutions": [ + "720P", + "1080P" + ] + } + }, + { + "modelName": "happyhorse-1.0-r2v", + "displayName": "快乐马 1.0 参考生视频", + "serviceType": [ + "video_gen" + ], + "description": "阿里 HappyHorse 参考生视频,支持最多 9 张参考图(多主体/元素一致性)", + "capabilities": [ + "video_generation", + "reference_to_video", + "multi_image", + "chinese_optimized" + ], + "extra": { + "endpoint": "/services/aigc/video-generation/video-synthesis", + "asyncHeader": "X-DashScope-Async", + "taskQueryEndpoint": "/tasks", + "maxReferenceImages": 9, + "maxVideoDuration": 15, + "supportedResolutions": [ + "720P", + "1080P" + ] + } } ] } diff --git a/compute/providers/volcengine.json b/compute/providers/volcengine.json index 828a79c..d96081d 100644 --- a/compute/providers/volcengine.json +++ b/compute/providers/volcengine.json @@ -17,7 +17,9 @@ "voice_clone", "realtime_voice", "simultaneous_interpret", - "translation" + "translation", + "image_gen", + "video_gen" ], "models": [ { @@ -545,6 +547,58 @@ "chinese_optimized" ], "extra": {} + }, + { + "modelName": "doubao-seedream-4-0-250828", + "displayName": "豆包 Seedream 4.0(文生图/图生图)", + "serviceType": [ + "image_gen" + ], + "description": "字节 Seedream 图像模型,支持文生图、图生图(img2img)、局部重绘与多图融合(最多 10 张参考图);OpenAI 风格 /images/generations 同步返回", + "capabilities": [ + "image_generation", + "image_to_image", + "multi_image_fusion", + "chinese_optimized", + "high_quality" + ], + "extra": { + "endpoint": "/images/generations", + "supportedSizes": [ + "1K", + "2K", + "4K" + ], + "maxFusionImages": 10 + } + }, + { + "modelName": "doubao-seedance-2-0-260128", + "displayName": "豆包 Seedance 2.0(文生/图生视频)", + "serviceType": [ + "video_gen" + ], + "description": "字节 Seedance 视频模型,支持文生视频、图生视频、多图参考、首尾帧、参考视频/音频(多模态),异步任务", + "capabilities": [ + "video_generation", + "text_to_video", + "image_to_video", + "first_last_frame", + "reference_video", + "reference_audio", + "chinese_optimized", + "high_quality" + ], + "extra": { + "endpoint": "/contents/generations/tasks", + "maxVideoDuration": 15, + "supportedResolutions": [ + "720p", + "1080p" + ], + "maxReferenceImages": 9, + "asyncMode": true + } } ] } diff --git a/compute/service-map.json b/compute/service-map.json index a1e74b6..0bf2c6c 100644 --- a/compute/service-map.json +++ b/compute/service-map.json @@ -40,12 +40,12 @@ "providerId": "provider-openai-001" }, "image_gen": { - "modelName": "dall-e-3", - "providerId": "provider-openai-001" + "modelName": "image-01", + "providerId": "provider-minimax-001" }, "video_gen": { - "modelName": "kling-v2", - "providerId": "provider-kling-001" + "modelName": "MiniMax-Hailuo-2.3", + "providerId": "provider-minimax-001" }, "omni": { "modelName": "gpt-4o-realtime",