fix(compute): MiniMax 语音合成声明 T2A 协议并更新预设数据至 v136 (#129)

MiniMax 六个 speech 型号没有语音协议,解析报 missing_model_profile,配了 Key 也不能用于语音合成。

- 六个规格声明 minimax-t2a-http 协议、输出格式、采样率与 16 个预置音色,默认 female-shaonv。
- 解除直连 6 条、套餐 2 条接入的未适配标记,未加入默认自动路由。
- 同步官方来源、模型指纹、适配决策记录、来源缺口清单和回归测试。
- 未做账号调用;真实合成与订阅 Key 能否调用该接口待账号实测。
This commit is contained in:
yige authored and GitHub committed 2026-11-02 08:48:24 +08:00
1 parent 3046afb9ca
commit 6eef9c1fb7
24 files changed
+3106 -781

No files matched your search

@@ -4,8 +4,8 @@
"counts": {
"realtimeUnsupported": 3,
"mediaUnsupported": 21,
"speechUnsupported": 10,
"total": 34
"speechUnsupported": 2,
"total": 26
},
"supportedDispatch": {
"imageGenProviderSlugs": [
@@ -25,6 +25,7 @@
"openai-audio-speech",
"dashscope-websocket-tts",
"xiaomi-mimo-chat-tts",
"minimax-t2a-http",
"openai-audio-transcriptions",
"xiaomi-mimo-chat-asr",
"dashscope-websocket-asr"
@@ -439,198 +440,6 @@
}
]
},
{
"file": "compute/providers/minimax.json",
"providerId": "provider-minimax-001",
"provider": "minimax",
"apiModelId": "speech-2.8-hd",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/providers/minimax.json",
"providerId": "provider-minimax-001",
"provider": "minimax",
"apiModelId": "speech-2.8-turbo",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/providers/minimax.json",
"providerId": "provider-minimax-001",
"provider": "minimax",
"apiModelId": "speech-2.6-hd",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/providers/minimax.json",
"providerId": "provider-minimax-001",
"provider": "minimax",
"apiModelId": "speech-2.6-turbo",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/providers/minimax.json",
"providerId": "provider-minimax-001",
"provider": "minimax",
"apiModelId": "speech-02-hd",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/providers/minimax.json",
"providerId": "provider-minimax-001",
"provider": "minimax",
"apiModelId": "speech-02-turbo",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/providers/openai.json",
"providerId": "provider-openai-001",
@@ -998,70 +807,6 @@
"assertion": "execute实际findProvider后以found.provider.provider取getAdapter;undefined立即return失败,不进入buildSubmit/proxy。"
}
]
},
{
"file": "compute/coding-plans/minimax-coding.json",
"providerId": "provider-minimax-coding-001",
"provider": "minimax",
"apiModelId": "speech-2.8-hd",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
},
{
"file": "compute/coding-plans/minimax-coding.json",
"providerId": "provider-minimax-coding-001",
"provider": "minimax",
"apiModelId": "speech-2.8-turbo",
"services": [
"tts"
],
"apiFormat": "anthropic-messages",
"protocol": {
"state": "unsupported",
"reason": "missing-speech-profile-and-compatibility"
},
"minimumClientVersion": null,
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。",
"confidence": "confirmed-source-dispatch",
"clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore",
"evidence": [
{
"path": "packages/agent-service/src/speech/tts-adapter.ts",
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
},
{
"path": "packages/agent-service/src/speech/speech-resolver.ts",
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
},
{
"path": "packages/speech-core/src/model-compatibility.ts",
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
}
]
}
]
}