mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:40:44 +00:00
fix(minimax): support token plan tts auth
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
1c8faa44e6ad80aeca7add9793d1dee1b7c552a0220c3dcebd8475b7ecd69342 plugin-sdk-api-baseline.json
|
||||
6ae517ad38d843fb3453cff8c9a081f1f9b7fa54ee563dcef69524ed7013b57f plugin-sdk-api-baseline.jsonl
|
||||
3a217ac0157fb46f42d455f1509b70a6d4ca3c41d6da00ac412b642875e4c9ef plugin-sdk-api-baseline.json
|
||||
d962b39c50017ef8e8545d9a3902a4f37f19d338256d8c96c9f860c7a120b687 plugin-sdk-api-baseline.jsonl
|
||||
|
||||
@@ -20,7 +20,7 @@ Provider split:
|
||||
| Provider ID | Auth | Capabilities |
|
||||
| ---------------- | ------- | --------------------------------------------------------------- |
|
||||
| `minimax` | API key | Text, image generation, image understanding, speech, web search |
|
||||
| `minimax-portal` | OAuth | Text, image generation, image understanding |
|
||||
| `minimax-portal` | OAuth | Text, image generation, image understanding, speech |
|
||||
|
||||
## Built-in catalog
|
||||
|
||||
@@ -251,6 +251,16 @@ The bundled `minimax` plugin registers MiniMax T2A v2 as a speech provider for
|
||||
|
||||
- Default TTS model: `speech-2.8-hd`
|
||||
- Default voice: `English_expressive_narrator`
|
||||
- Supported bundled model ids include `speech-2.8-hd`, `speech-2.8-turbo`,
|
||||
`speech-2.6-hd`, `speech-2.6-turbo`, `speech-02-hd`,
|
||||
`speech-02-turbo`, `speech-01-hd`, and `speech-01-turbo`.
|
||||
- Auth resolution is `messages.tts.providers.minimax.apiKey`, then
|
||||
`minimax-portal` OAuth/token auth profiles, then Token Plan environment
|
||||
keys (`MINIMAX_OAUTH_TOKEN`, `MINIMAX_CODE_PLAN_KEY`,
|
||||
`MINIMAX_CODING_API_KEY`), then `MINIMAX_API_KEY`.
|
||||
- If no TTS host is configured, OpenClaw reuses the configured
|
||||
`minimax-portal` OAuth host and strips Anthropic-compatible path suffixes
|
||||
such as `/anthropic`.
|
||||
- Normal audio attachments stay MP3.
|
||||
- Voice-note targets such as Feishu and Telegram are transcoded from MiniMax
|
||||
MP3 to 48kHz Opus with `ffmpeg`, because the Feishu/Lark file API only
|
||||
|
||||
@@ -42,7 +42,9 @@ If you want OpenAI, ElevenLabs, Google Gemini, Gradium, MiniMax, Vydra, xAI, or
|
||||
- `ELEVENLABS_API_KEY` (or `XI_API_KEY`)
|
||||
- `GEMINI_API_KEY` (or `GOOGLE_API_KEY`)
|
||||
- `GRADIUM_API_KEY`
|
||||
- `MINIMAX_API_KEY`
|
||||
- `MINIMAX_API_KEY`; MiniMax TTS also accepts Token Plan auth via
|
||||
`MINIMAX_OAUTH_TOKEN`, `MINIMAX_CODE_PLAN_KEY`, or
|
||||
`MINIMAX_CODING_API_KEY`
|
||||
- `OPENAI_API_KEY`
|
||||
- `VYDRA_API_KEY`
|
||||
- `XAI_API_KEY`
|
||||
@@ -181,6 +183,13 @@ Full schema is in [Gateway configuration](/gateway/configuration).
|
||||
}
|
||||
```
|
||||
|
||||
MiniMax TTS auth resolution is `messages.tts.providers.minimax.apiKey`, then
|
||||
stored `minimax-portal` OAuth/token profiles, then Token Plan environment keys
|
||||
(`MINIMAX_OAUTH_TOKEN`, `MINIMAX_CODE_PLAN_KEY`,
|
||||
`MINIMAX_CODING_API_KEY`), then `MINIMAX_API_KEY`. When no explicit TTS
|
||||
`baseUrl` is set, OpenClaw can reuse the configured `minimax-portal` OAuth
|
||||
host for Token Plan speech.
|
||||
|
||||
### Google Gemini primary
|
||||
|
||||
```json5
|
||||
|
||||
Reference in New Issue
Block a user