From a1c9c7351b1dab9490e9f08c4412cc9d5d81c9f2 Mon Sep 17 00:00:00 2001 From: xieyuanxiang <124608760@qq.com> Date: Tue, 28 Apr 2026 20:55:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(minimax):=20=E8=A1=A5=E5=85=A8=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=88=97=E8=A1=A8=EF=BC=8CToken=20Plan=20=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E4=B8=BA=E5=85=A8=E6=A8=A1=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit providers/minimax.json(API 按量计费): - 新增文本模型:MiniMax-M2、M2-her - 新增历史语音模型:speech-2.6-hd/turbo、speech-02-hd/turbo - 新增历史视频模型:MiniMax-Hailuo-02、S2V-01 - 新增历史音乐模型:music-2.5+、music-2.5 - 标记历史版本 extra.legacy: true - services 补充 vision coding-plans/minimax-coding.json(Token Plan): - label 从 "Coding Plan" 改为 "Token Plan"(MiniMax 2026.3 升级) - 从仅 M1 扩展为全模态:M2.7、Speech 2.8、image-01、Hailuo-2.3、Music-2.6 - 补充完整配额信息(6 个套餐等级 × 5 个模态) - 补充定价信息(月付/年付) presetDataVersion: 34 → 35 --- compute/coding-plans/minimax-coding.json | 165 +++++++++++++++++++-- compute/providers/minimax.json | 175 ++++++++++++++++++++++- manifest.json | 4 +- 3 files changed, 332 insertions(+), 12 deletions(-) diff --git a/compute/coding-plans/minimax-coding.json b/compute/coding-plans/minimax-coding.json index 8e7ec7d..404f84c 100644 --- a/compute/coding-plans/minimax-coding.json +++ b/compute/coding-plans/minimax-coding.json @@ -2,17 +2,98 @@ "id": "provider-minimax-coding-001", "provider": "minimax", "brandGroup": "minimax", - "label": "MiniMax Coding Plan", + "label": "MiniMax Token Plan", "baseUrl": "https://api.minimaxi.com/v1", "apiFormat": "openai-completions", + "mediaBaseUrl": "https://api.minimaxi.com/v1", "apiKeyRef": "", "apiKeyVerified": false, "enabled": false, "status": "unconfigured", "accessMode": "coding-plan", - "services": ["chat", "reasoning"], + "services": ["chat", "fast", "reasoning", "image_gen", "tts", "video_gen", "music_gen"], "codingPlan": { - "quotas": {}, + "quotas": { + "text": { + "description": "M2.7 文本请求额度,按 5 小时滚动窗口重置", + "unit": "requests/5h", + "tiers": { + "starter": 600, + "plus": 1500, + "max": 4500, + "plus-highspeed": 1500, + "max-highspeed": 4500, + "ultra-highspeed": 30000 + } + }, + "speech": { + "description": "Speech 2.8 语音合成每日字符额度", + "unit": "chars/day", + "tiers": { + "starter": 0, + "plus": 4000, + "max": 11000, + "plus-highspeed": 9000, + "max-highspeed": 19000, + "ultra-highspeed": 50000 + } + }, + "image": { + "description": "image-01 图像生成每日额度", + "unit": "images/day", + "tiers": { + "starter": 0, + "plus": 50, + "max": 120, + "plus-highspeed": 100, + "max-highspeed": 200, + "ultra-highspeed": 800 + } + }, + "video": { + "description": "Hailuo 视频生成每日额度(每种模型独立计算)", + "unit": "videos/day", + "tiers": { + "starter": 0, + "plus": 0, + "max": 2, + "plus-highspeed": 0, + "max-highspeed": 3, + "ultra-highspeed": 5 + } + }, + "music": { + "description": "Music-2.6 音乐生成每日额度(所有套餐免费,≤5 分钟/首)", + "unit": "songs/day", + "tiers": { + "starter": 100, + "plus": 100, + "max": 100, + "plus-highspeed": 100, + "max-highspeed": 100, + "ultra-highspeed": 100 + } + } + }, + "pricing": { + "currency": "CNY", + "monthly": { + "starter": 29, + "plus": 49, + "max": 119, + "plus-highspeed": 98, + "max-highspeed": 199, + "ultra-highspeed": 899 + }, + "yearly": { + "starter": 290, + "plus": 490, + "max": 1190, + "plus-highspeed": 980, + "max-highspeed": 1990, + "ultra-highspeed": 8990 + } + }, "usageTracking": { "method": "rest-api", "endpoint": "https://api.minimaxi.com/v1/coding/usage", @@ -21,13 +102,79 @@ }, "models": [ { - "modelName": "MiniMax-M1", - "displayName": "MiniMax-M1 (Coding)", - "serviceType": ["chat"], - "description": "MiniMax Coding Plan,M1 旗舰模型", - "contextWindow": 1000000, + "modelName": "MiniMax-M2.7", + "displayName": "MiniMax M2.7 (Token Plan)", + "serviceType": ["chat", "reasoning"], + "description": "MiniMax 新一代旗舰模型,Token Plan 核心文本模型,5 小时滚动窗口计费", + "contextWindow": 204800, "maxOutputTokens": 131072, - "capabilities": ["chat", "reasoning", "code", "long_context"], + "capabilities": ["chat", "reasoning", "code", "tool_use", "vision"], + "source": "preset" + }, + { + "modelName": "MiniMax-M2.7-highspeed", + "displayName": "MiniMax M2.7 高速版 (Token Plan)", + "serviceType": ["fast"], + "description": "MiniMax M2.7 极速版,极速套餐专用,效果一致输出更快", + "contextWindow": 204800, + "maxOutputTokens": 131072, + "capabilities": ["chat", "reasoning", "code", "tool_use", "vision", "fast"], + "source": "preset" + }, + { + "modelName": "speech-2.8-hd", + "displayName": "Speech 2.8 HD (Token Plan)", + "serviceType": ["tts"], + "description": "MiniMax 最新高清语音合成,Token Plan Plus 及以上可用", + "capabilities": ["tts", "multilingual", "emotion_control", "voice_clone"], + "source": "preset" + }, + { + "modelName": "speech-2.8-turbo", + "displayName": "Speech 2.8 Turbo (Token Plan)", + "serviceType": ["tts"], + "description": "MiniMax 快速语音合成,Token Plan Plus 及以上可用", + "capabilities": ["tts", "multilingual", "emotion_control", "fast"], + "source": "preset" + }, + { + "modelName": "image-01", + "displayName": "Image 01 (Token Plan)", + "serviceType": ["image_gen"], + "description": "MiniMax 文生图/图生图,Token Plan Plus 及以上可用", + "capabilities": ["image_generation", "subject_reference"], + "source": "preset" + }, + { + "modelName": "image-01-live", + "displayName": "Image 01 Live (Token Plan)", + "serviceType": ["image_gen"], + "description": "MiniMax 画风控制文生图,Token Plan Plus 及以上可用", + "capabilities": ["image_generation", "style_control", "subject_reference"], + "source": "preset" + }, + { + "modelName": "MiniMax-Hailuo-2.3", + "displayName": "海螺视频 2.3 (Token Plan)", + "serviceType": ["video_gen"], + "description": "海螺视频 2.3,文/图生视频,Token Plan Max 及以上可用", + "capabilities": ["video_generation", "text_to_video", "image_to_video", "camera_control"], + "source": "preset" + }, + { + "modelName": "MiniMax-Hailuo-2.3-Fast", + "displayName": "海螺视频 2.3 快速版 (Token Plan)", + "serviceType": ["video_gen"], + "description": "海螺视频快速版,Token Plan Max 及以上可用", + "capabilities": ["video_generation", "image_to_video", "fast"], + "source": "preset" + }, + { + "modelName": "music-2.6", + "displayName": "Music 2.6 (Token Plan)", + "serviceType": ["music_gen"], + "description": "MiniMax AI 音乐生成,所有 Token Plan 套餐免费使用(100 首/天)", + "capabilities": ["music_generation", "lyrics_input", "instrumental"], "source": "preset" } ] diff --git a/compute/providers/minimax.json b/compute/providers/minimax.json index ec2207f..6e5b758 100644 --- a/compute/providers/minimax.json +++ b/compute/providers/minimax.json @@ -14,6 +14,7 @@ "chat", "fast", "reasoning", + "vision", "image_gen", "tts", "video_gen", @@ -178,6 +179,47 @@ "outputSpeedTps": 100 } }, + { + "modelName": "MiniMax-M2", + "displayName": "MiniMax M2", + "serviceType": [ + "chat" + ], + "description": "MiniMax M2,优化编码和 Agent 工作流", + "contextWindow": 204800, + "maxOutputTokens": 131072, + "capabilities": [ + "chat", + "code", + "tool_use" + ], + "inputPrice": 2.1, + "outputPrice": 8.4, + "defaultTemperature": 1, + "defaultTopP": 0.95, + "extra": { + "legacy": true + } + }, + { + "modelName": "M2-her", + "displayName": "MiniMax M2 Her", + "serviceType": [ + "chat" + ], + "description": "MiniMax 角色扮演对话模型,专为多轮角色对话设计", + "contextWindow": 204800, + "maxOutputTokens": 131072, + "capabilities": [ + "chat", + "roleplay" + ], + "inputPrice": 2.1, + "outputPrice": 8.4, + "defaultTemperature": 1, + "defaultTopP": 0.95, + "extra": {} + }, { "modelName": "MiniMax-Text-01", "displayName": "MiniMax Text 01", @@ -271,6 +313,74 @@ "supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"] } }, + { + "modelName": "speech-2.6-hd", + "displayName": "MiniMax Speech 2.6 HD", + "serviceType": ["tts"], + "description": "MiniMax 高清语音合成模型(2.6 版),音质优秀,生成速度快", + "capabilities": [ + "tts", + "multilingual", + "emotion_control", + "voice_clone", + "chinese_optimized" + ], + "extra": { + "maxTextLength": 10000, + "supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"] + } + }, + { + "modelName": "speech-2.6-turbo", + "displayName": "MiniMax Speech 2.6 Turbo", + "serviceType": ["tts"], + "description": "MiniMax 快速语音合成模型(2.6 版),低延迟响应", + "capabilities": [ + "tts", + "multilingual", + "emotion_control", + "fast", + "chinese_optimized" + ], + "extra": { + "maxTextLength": 10000, + "supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"] + } + }, + { + "modelName": "speech-02-hd", + "displayName": "MiniMax Speech 02 HD", + "serviceType": ["tts"], + "description": "MiniMax 高清语音合成模型(历史版本),韵律稳定性优秀", + "capabilities": [ + "tts", + "multilingual", + "voice_clone", + "chinese_optimized" + ], + "extra": { + "maxTextLength": 10000, + "supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"], + "legacy": true + } + }, + { + "modelName": "speech-02-turbo", + "displayName": "MiniMax Speech 02 Turbo", + "serviceType": ["tts"], + "description": "MiniMax 快速语音合成模型(历史版本),增强小语种支持", + "capabilities": [ + "tts", + "multilingual", + "fast", + "chinese_optimized" + ], + "extra": { + "maxTextLength": 10000, + "supportedFormats": ["mp3", "wav", "pcm", "flac", "aac", "ogg"], + "legacy": true + } + }, { "modelName": "MiniMax-Hailuo-2.3", "displayName": "海螺视频 2.3", @@ -313,7 +423,7 @@ "modelName": "T2V-01-Director", "displayName": "海螺视频 Director", "serviceType": ["video_gen"], - "description": "导演级文生视频模型,精准运镜控制", + "description": "导演级文生视频模型,精准运镜控制(历史版本)", "capabilities": [ "video_generation", "text_to_video", @@ -323,6 +433,39 @@ "extra": { "maxVideoDuration": 6, "supportedResolutions": ["720p"], + "asyncMode": true, + "legacy": true + } + }, + { + "modelName": "MiniMax-Hailuo-02", + "displayName": "海螺视频 02", + "serviceType": ["video_gen"], + "description": "海螺视频 02,原生 1080P 生成,指令跟随能力强(历史版本)", + "capabilities": [ + "video_generation", + "text_to_video", + "image_to_video", + "chinese_optimized" + ], + "extra": { + "maxVideoDuration": 10, + "supportedResolutions": ["512p", "768p", "1080p"], + "asyncMode": true, + "legacy": true + } + }, + { + "modelName": "S2V-01", + "displayName": "海螺视频 主体参考", + "serviceType": ["video_gen"], + "description": "主体参考视频生成模型,基于参考图保持角色一致性", + "capabilities": [ + "video_generation", + "subject_reference", + "chinese_optimized" + ], + "extra": { "asyncMode": true } }, @@ -344,6 +487,36 @@ "supportedLyricsStructures": ["[Intro]", "[Verse]", "[Pre Chorus]", "[Chorus]", "[Interlude]", "[Bridge]", "[Outro]", "[Hook]", "[Solo]", "[Inst]"] } }, + { + "modelName": "music-2.5+", + "displayName": "MiniMax Music 2.5+", + "serviceType": ["music_gen"], + "description": "MiniMax AI 音乐生成模型(2.5+ 版),音质提升", + "capabilities": [ + "music_generation", + "lyrics_input", + "instrumental", + "chinese_optimized" + ], + "extra": { + "outputFormats": ["hex", "url"] + } + }, + { + "modelName": "music-2.5", + "displayName": "MiniMax Music 2.5", + "serviceType": ["music_gen"], + "description": "MiniMax AI 音乐生成模型(2.5 版)", + "capabilities": [ + "music_generation", + "lyrics_input", + "instrumental", + "chinese_optimized" + ], + "extra": { + "outputFormats": ["hex", "url"] + } + }, { "modelName": "music-cover", "displayName": "MiniMax Music Cover", diff --git a/manifest.json b/manifest.json index 4f9220e..364e779 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 34, - "updatedAt": "2026-04-27", + "presetDataVersion": 35, + "updatedAt": "2026-04-28", "description": "DesireCore 官方配置中心" }