mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 04:30:51 +08:00
feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列
- 添加 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 commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"provider": "dashscope",
|
||||
"label": "阿里 通义千问",
|
||||
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
||||
"mediaBaseUrl": "https://dashscope.aliyuncs.com/api/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "dashscope",
|
||||
"apiKeyVerified": false,
|
||||
@@ -424,37 +425,150 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wanx-v2",
|
||||
"displayName": "通义万相 V2",
|
||||
"modelName": "wan2.7-image-pro",
|
||||
"displayName": "通义万相 2.7 Pro",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "通义万相文生图",
|
||||
"description": "万相最新旗舰文生图模型,支持 4K 分辨率、thinking_mode 智能思考、色彩调色板控制",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized",
|
||||
"high_quality"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"768*768",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"1024*1792",
|
||||
"1792*1024",
|
||||
"2048*2048",
|
||||
"4096*4096"
|
||||
],
|
||||
"sizeShortcuts": {
|
||||
"1K": "1024*1024",
|
||||
"2K": "2048*2048",
|
||||
"4K": "4096*4096"
|
||||
},
|
||||
"maxN": 4,
|
||||
"supportsThinkingMode": true,
|
||||
"supportsColorPalette": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.7-image",
|
||||
"displayName": "通义万相 2.7",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "万相最新标准文生图模型,高画质,支持 thinking_mode",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"1024x1024",
|
||||
"720x1280",
|
||||
"1280x720"
|
||||
"768*768",
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"1024*1792",
|
||||
"1792*1024"
|
||||
],
|
||||
"supportedStyles": [
|
||||
"auto",
|
||||
"photography",
|
||||
"anime",
|
||||
"3d_cartoon"
|
||||
]
|
||||
"maxN": 4,
|
||||
"supportsThinkingMode": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wanx-video",
|
||||
"displayName": "通义万相视频",
|
||||
"modelName": "wan2.6-t2i",
|
||||
"displayName": "通义万相 2.6 文生图",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "万相 2.6 文生图专用模型,稳定可靠,支持 prompt_extend 智能改写",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"1024*1024",
|
||||
"1280*1280",
|
||||
"720*1280",
|
||||
"1280*720",
|
||||
"768*1152",
|
||||
"1152*768"
|
||||
],
|
||||
"maxN": 4,
|
||||
"supportsNegativePrompt": true,
|
||||
"supportsPromptExtend": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.2-t2i-plus",
|
||||
"displayName": "通义万相 2.2 Plus",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "万相 2.2 增强版,画质与速度平衡",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"1024*1024",
|
||||
"720*1280",
|
||||
"1280*720"
|
||||
],
|
||||
"maxN": 4,
|
||||
"supportsNegativePrompt": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.2-t2i-flash",
|
||||
"displayName": "通义万相 2.2 Flash",
|
||||
"serviceType": [
|
||||
"image_gen"
|
||||
],
|
||||
"description": "万相 2.2 快速版,生成速度极快,适合批量和实时场景",
|
||||
"capabilities": [
|
||||
"image_generation",
|
||||
"chinese_optimized",
|
||||
"fast"
|
||||
],
|
||||
"extra": {
|
||||
"endpoint": "/services/aigc/image-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks",
|
||||
"supportedImageSizes": [
|
||||
"1024*1024",
|
||||
"720*1280",
|
||||
"1280*720"
|
||||
],
|
||||
"maxN": 4,
|
||||
"supportsNegativePrompt": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelName": "wan2.6-t2v",
|
||||
"displayName": "通义万相 2.6 文生视频",
|
||||
"serviceType": [
|
||||
"video_gen"
|
||||
],
|
||||
"description": "通义万相文生视频",
|
||||
"description": "万相 2.6 文生视频模型,支持文生视频和图生视频",
|
||||
"capabilities": [
|
||||
"video_generation",
|
||||
"chinese_optimized"
|
||||
@@ -464,7 +578,10 @@
|
||||
"supportedResolutions": [
|
||||
"720p",
|
||||
"1080p"
|
||||
]
|
||||
],
|
||||
"endpoint": "/services/aigc/video-generation/generation",
|
||||
"asyncHeader": "X-DashScope-Async",
|
||||
"taskQueryEndpoint": "/tasks"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"presetDataVersion": 37,
|
||||
"updatedAt": "2026-05-02",
|
||||
"presetDataVersion": 38,
|
||||
"updatedAt": "2026-05-07",
|
||||
"description": "DesireCore 官方配置中心"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user