mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 07:10:54 +08:00
将媒体生成模型直接合并到现有 provider-minimax-001,而非创建独立的媒体
Provider。原因:MiniMax 所有 API(聊天/图片/语音/视频/音乐)共享同一
域名(api.minimaxi.com)、同一认证方式(Bearer)和同一 API Key,与
OpenAI 的 provider 结构一致。
变更内容:
- 修改 compute/providers/minimax.json
- services 新增:image_gen, tts, video_gen, music_gen
- models 新增 10 个媒体模型(来源:官方文档):
· image-01, image-01-live(文生图/图生图)
· speech-2.8-hd, speech-2.8-turbo(语音合成,最新 2.8 系列)
· MiniMax-Hailuo-2.3, Hailuo-2.3-Fast, T2V-01-Director(视频生成)
· music-2.6, music-cover(音乐生成 + 翻唱)
- 更新 service-map.json:新增 music_gen → music-2.6 / provider-minimax-001
- 递增 manifest.json presetDataVersion 32 → 33
API 参数来源:MiniMax 国内开放平台官方文档
https://platform.minimaxi.com/docs/api-reference/api-overview
364 lines
9.8 KiB
JSON
364 lines
9.8 KiB
JSON
{
|
||
"id": "provider-minimax-001",
|
||
"provider": "minimax",
|
||
"label": "MiniMax",
|
||
"baseUrl": "https://api.minimaxi.com/v1",
|
||
"apiFormat": "openai-completions",
|
||
"apiKeyRef": "minimax",
|
||
"apiKeyVerified": false,
|
||
"enabled": false,
|
||
"status": "unconfigured",
|
||
"priceCurrency": "CNY",
|
||
"services": [
|
||
"chat",
|
||
"fast",
|
||
"reasoning",
|
||
"image_gen",
|
||
"tts",
|
||
"video_gen",
|
||
"music_gen"
|
||
],
|
||
"models": [
|
||
{
|
||
"modelName": "MiniMax-M2.7",
|
||
"displayName": "MiniMax M2.7",
|
||
"serviceType": [
|
||
"chat",
|
||
"reasoning"
|
||
],
|
||
"description": "MiniMax 新一代旗舰模型,擅长复杂 Agent、软件工程与专业办公任务",
|
||
"contextWindow": 204800,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"tool_use",
|
||
"vision"
|
||
],
|
||
"inputPrice": 2.1,
|
||
"outputPrice": 8.4,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {
|
||
"cacheReadPrice": 0.42,
|
||
"cacheWritePrice": 2.625,
|
||
"outputSpeedTps": 60
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-M2.7-highspeed",
|
||
"displayName": "MiniMax M2.7 高速版",
|
||
"serviceType": [
|
||
"fast"
|
||
],
|
||
"description": "MiniMax M2.7 极速版,效果一致,输出更快,适合低延迟场景",
|
||
"contextWindow": 204800,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"tool_use",
|
||
"fast",
|
||
"vision"
|
||
],
|
||
"inputPrice": 4.2,
|
||
"outputPrice": 16.8,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {
|
||
"cacheReadPrice": 0.42,
|
||
"cacheWritePrice": 2.625,
|
||
"outputSpeedTps": 100
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-M2.5",
|
||
"displayName": "MiniMax M2.5",
|
||
"serviceType": [
|
||
"chat",
|
||
"reasoning"
|
||
],
|
||
"description": "MiniMax M2.5,204.8K 上下文,支持深度推理和工具调用",
|
||
"contextWindow": 204800,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"tool_use",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 2.1,
|
||
"outputPrice": 8.4,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {
|
||
"cacheReadPrice": 0.21,
|
||
"cacheWritePrice": 2.625,
|
||
"outputSpeedTps": 60
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-M2.5-highspeed",
|
||
"displayName": "MiniMax M2.5 高速版",
|
||
"serviceType": [
|
||
"fast"
|
||
],
|
||
"description": "MiniMax M2.5 高速推理版本(100TPS),适合低延迟场景",
|
||
"contextWindow": 204800,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"tool_use",
|
||
"fast"
|
||
],
|
||
"inputPrice": 4.2,
|
||
"outputPrice": 16.8,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {
|
||
"cacheReadPrice": 0.21,
|
||
"cacheWritePrice": 2.625,
|
||
"outputSpeedTps": 100
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-M2.1",
|
||
"displayName": "MiniMax M2.1",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "MiniMax 上一代主力模型,200K 上下文,性价比优秀",
|
||
"contextWindow": 204800,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"code",
|
||
"tool_use",
|
||
"reasoning"
|
||
],
|
||
"inputPrice": 2.1,
|
||
"outputPrice": 8.4,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {
|
||
"cacheReadPrice": 0.21,
|
||
"cacheWritePrice": 2.625,
|
||
"outputSpeedTps": 60
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-M2.1-highspeed",
|
||
"displayName": "MiniMax M2.1 高速版",
|
||
"serviceType": [
|
||
"fast"
|
||
],
|
||
"description": "MiniMax M2.1 高速推理版本,适合低延迟场景",
|
||
"contextWindow": 204800,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"tool_use",
|
||
"fast"
|
||
],
|
||
"inputPrice": 4.2,
|
||
"outputPrice": 16.8,
|
||
"defaultTemperature": 1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {
|
||
"cacheReadPrice": 0.21,
|
||
"cacheWritePrice": 2.625,
|
||
"outputSpeedTps": 100
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-Text-01",
|
||
"displayName": "MiniMax Text 01",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "MiniMax 百万级长上下文文本模型,擅长长文档处理",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 131072,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 1.4,
|
||
"outputPrice": 7.7,
|
||
"defaultTemperature": 0.1,
|
||
"defaultTopP": 0.95,
|
||
"extra": {}
|
||
},
|
||
{
|
||
"modelName": "image-01",
|
||
"displayName": "MiniMax Image 01",
|
||
"serviceType": ["image_gen"],
|
||
"description": "MiniMax 文生图/图生图模型,支持主题参考(角色一致性),最长 1500 字符 prompt",
|
||
"capabilities": [
|
||
"image_generation",
|
||
"subject_reference",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"supportedAspectRatios": ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "21:9"],
|
||
"maxPromptLength": 1500,
|
||
"maxBatchSize": 9,
|
||
"responseFormats": ["url", "base64"],
|
||
"urlExpiry": "24h"
|
||
}
|
||
},
|
||
{
|
||
"modelName": "image-01-live",
|
||
"displayName": "MiniMax Image 01 Live",
|
||
"serviceType": ["image_gen"],
|
||
"description": "MiniMax 文生图模型(Live 版),支持画风控制(漫画/元气/中世纪/水彩)",
|
||
"capabilities": [
|
||
"image_generation",
|
||
"style_control",
|
||
"subject_reference",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"supportedAspectRatios": ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"],
|
||
"supportedStyles": ["漫画", "元气", "中世纪", "水彩"],
|
||
"maxPromptLength": 1500,
|
||
"maxBatchSize": 9,
|
||
"responseFormats": ["url", "base64"],
|
||
"urlExpiry": "24h"
|
||
}
|
||
},
|
||
{
|
||
"modelName": "speech-2.8-hd",
|
||
"displayName": "MiniMax Speech 2.8 HD",
|
||
"serviceType": ["tts"],
|
||
"description": "MiniMax 最新高清语音合成模型,支持 40+ 语言、100+ 预置音色,毫秒级延迟",
|
||
"capabilities": [
|
||
"tts",
|
||
"multilingual",
|
||
"emotion_control",
|
||
"voice_clone",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"maxTextLength": 10000,
|
||
"supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"]
|
||
}
|
||
},
|
||
{
|
||
"modelName": "speech-2.8-turbo",
|
||
"displayName": "MiniMax Speech 2.8 Turbo",
|
||
"serviceType": ["tts"],
|
||
"description": "MiniMax 快速语音合成模型,速度优先,适合实时场景",
|
||
"capabilities": [
|
||
"tts",
|
||
"multilingual",
|
||
"emotion_control",
|
||
"fast",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"maxTextLength": 10000,
|
||
"supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"]
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-Hailuo-2.3",
|
||
"displayName": "海螺视频 2.3",
|
||
"serviceType": ["video_gen"],
|
||
"description": "MiniMax 最新视频生成模型,支持文生视频和图生视频,支持 15 种运镜指令控制",
|
||
"capabilities": [
|
||
"video_generation",
|
||
"text_to_video",
|
||
"image_to_video",
|
||
"camera_control",
|
||
"chinese_optimized",
|
||
"high_quality"
|
||
],
|
||
"extra": {
|
||
"maxVideoDuration": 10,
|
||
"supportedResolutions": ["768p", "1080p"],
|
||
"maxPromptLength": 2000,
|
||
"asyncMode": true
|
||
}
|
||
},
|
||
{
|
||
"modelName": "MiniMax-Hailuo-2.3-Fast",
|
||
"displayName": "海螺视频 2.3 快速版",
|
||
"serviceType": ["video_gen"],
|
||
"description": "海螺视频快速版本(仅图生视频),生成速度更快",
|
||
"capabilities": [
|
||
"video_generation",
|
||
"image_to_video",
|
||
"camera_control",
|
||
"fast",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"maxVideoDuration": 10,
|
||
"supportedResolutions": ["768p", "1080p"],
|
||
"asyncMode": true
|
||
}
|
||
},
|
||
{
|
||
"modelName": "T2V-01-Director",
|
||
"displayName": "海螺视频 Director",
|
||
"serviceType": ["video_gen"],
|
||
"description": "导演级文生视频模型,精准运镜控制",
|
||
"capabilities": [
|
||
"video_generation",
|
||
"text_to_video",
|
||
"camera_control",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"maxVideoDuration": 6,
|
||
"supportedResolutions": ["720p"],
|
||
"asyncMode": true
|
||
}
|
||
},
|
||
{
|
||
"modelName": "music-2.6",
|
||
"displayName": "MiniMax Music 2.6",
|
||
"serviceType": ["music_gen"],
|
||
"description": "MiniMax AI 音乐生成模型,支持音乐灵感描述和歌词输入,可生成带人声或纯音乐",
|
||
"capabilities": [
|
||
"music_generation",
|
||
"lyrics_input",
|
||
"instrumental",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"maxPromptLength": 2000,
|
||
"maxLyricsLength": 3500,
|
||
"outputFormats": ["hex", "url"],
|
||
"supportedLyricsStructures": ["[Intro]", "[Verse]", "[Pre Chorus]", "[Chorus]", "[Interlude]", "[Bridge]", "[Outro]", "[Hook]", "[Solo]", "[Inst]"]
|
||
}
|
||
},
|
||
{
|
||
"modelName": "music-cover",
|
||
"displayName": "MiniMax Music Cover",
|
||
"serviceType": ["music_gen"],
|
||
"description": "MiniMax AI 翻唱模型,基于参考音频生成翻唱版本,支持修改歌词",
|
||
"capabilities": [
|
||
"music_generation",
|
||
"cover",
|
||
"chinese_optimized"
|
||
],
|
||
"extra": {
|
||
"maxAudioDuration": 360,
|
||
"maxAudioSize": "50MB",
|
||
"supportedFormats": ["mp3", "wav", "flac"]
|
||
}
|
||
}
|
||
]
|
||
}
|