Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw's MiniMax provider defaults to MiniMax M2.7.
MiniMax also provides:
MiniMax-VL-01music-2.6web_searchProvider split:
| Provider ID | Auth | Capabilities |
|---|---|---|
text minimax | API key | Text, image generation, music generation, video generation, image understanding, speech, web search |
text minimax-portal | OAuth | Text, image generation, music generation, video generation, image understanding, speech |
| Model | Type | Description |
|---|---|---|
text MiniMax-M2.7 | Chat (reasoning) | Default hosted reasoning model |
text MiniMax-M2.7-highspeed | Chat (reasoning) | Faster M2.7 reasoning tier |
text MiniMax-VL-01 | Vision | Image understanding model |
text image-01 | Image generation | Text-to-image and image-to-image editing |
text music-2.6 | Music generation | Default music model |
text music-2.5 | Music generation | Previous music generation tier |
text music-2.0 | Music generation | Legacy music generation tier |
text MiniMax-Hailuo-2.3 | Video generation | Text-to-video and image reference flows |
Choose your preferred auth method and follow the setup steps.
text<Tabs> <Tab title="International"> <Steps> <Step title="Run onboarding"> ```bash} openclaw onboard --auth-choice minimax-global-oauth ``` This authenticates against `api.minimax.io`. </Step> <Step title="Verify the model is available"> ```bash} openclaw models list --provider minimax-portal ``` </Step> </Steps> </Tab> <Tab title="China"> <Steps> <Step title="Run onboarding"> ```bash} openclaw onboard --auth-choice minimax-cn-oauth ``` This authenticates against `api.minimaxi.com`. </Step> <Step title="Verify the model is available"> ```bash} openclaw models list --provider minimax-portal ``` </Step> </Steps> </Tab> </Tabs> <Note> OAuth setups use the `minimax-portal` provider id. Model refs follow the form `minimax-portal/MiniMax-M2.7`. </Note> <Tip> Referral link for MiniMax Coding Plan (10% off): [MiniMax Coding Plan](https://platform.minimax.io/subscribe/coding-plan?code=DbXJTRClnb\&source=link) </Tip>
text<Tabs> <Tab title="International"> <Steps> <Step title="Run onboarding"> ```bash} openclaw onboard --auth-choice minimax-global-api ``` This configures `api.minimax.io` as the base URL. </Step> <Step title="Verify the model is available"> ```bash} openclaw models list --provider minimax ``` </Step> </Steps> </Tab> <Tab title="China"> <Steps> <Step title="Run onboarding"> ```bash} openclaw onboard --auth-choice minimax-cn-api ``` This configures `api.minimaxi.com` as the base URL. </Step> <Step title="Verify the model is available"> ```bash} openclaw models list --provider minimax ``` </Step> </Steps> </Tab> </Tabs> ### Config example ```json5} { env: { MINIMAX_API_KEY: "sk-..." }, agents: { defaults: { model: { primary: "minimax/MiniMax-M2.7" } } }, models: { mode: "merge", providers: { minimax: { baseUrl: "https://api.minimax.io/anthropic", apiKey: "${MINIMAX_API_KEY}", api: "anthropic-messages", models: [ { id: "MiniMax-M2.7", name: "MiniMax M2.7", reasoning: true, input: ["text"], cost: { input: 0.3, output: 1.2, cacheRead: 0.06, cacheWrite: 0.375 }, contextWindow: 204800, maxTokens: 131072, }, { id: "MiniMax-M2.7-highspeed", name: "MiniMax M2.7 Highspeed", reasoning: true, input: ["text"], cost: { input: 0.6, output: 2.4, cacheRead: 0.06, cacheWrite: 0.375 }, contextWindow: 204800, maxTokens: 131072, }, ], }, }, }, } ``` <Warning> On the Anthropic-compatible streaming path, OpenClaw disables MiniMax thinking by default unless you explicitly set `thinking` yourself. MiniMax's streaming endpoint emits `reasoning_content` in OpenAI-style delta chunks instead of native Anthropic thinking blocks, which can leak internal reasoning into visible output if left enabled implicitly. </Warning> <Note> API-key setups use the `minimax` provider id. Model refs follow the form `minimax/MiniMax-M2.7`. </Note>
openclaw configureUse the interactive config wizard to set MiniMax without editing JSON:
text| Auth choice | Description | | ---------------------- | --------------------------------- | | `minimax-global-oauth` | International OAuth (Coding Plan) | | `minimax-cn-oauth` | China OAuth (Coding Plan) | | `minimax-global-api` | International API key | | `minimax-cn-api` | China API key |
The MiniMax plugin registers the
image-01image_generate1:116:94:33:22:33:49:1621:9To use MiniMax for image generation, set it as the image generation provider:
json5{ agents: { defaults: { imageGenerationModel: { primary: "minimax/image-01" }, }, }, }
The plugin uses the same
MINIMAX_API_KEYBoth
minimaxminimax-portalimage_generateimage-01MINIMAX_API_KEYminimax-portalImage generation always uses MiniMax's dedicated image endpoint (
/v1/image_generationmodels.providers.minimax.baseUrlMINIMAX_API_HOST=https://api.minimaxi.comhttps://api.minimax.ioWhen onboarding or API-key setup writes explicit
models.providers.minimaxMiniMax-M2.7MiniMax-M2.7-highspeedMiniMax-VL-01The bundled
minimaxmessages.ttsspeech-2.8-hdEnglish_expressive_narratorspeech-2.8-hdspeech-2.8-turbospeech-2.6-hdspeech-2.6-turbospeech-02-hdspeech-02-turbospeech-01-hdspeech-01-turbomessages.tts.providers.minimax.apiKeyminimax-portalMINIMAX_OAUTH_TOKENMINIMAX_CODE_PLAN_KEYMINIMAX_CODING_API_KEYMINIMAX_API_KEYminimax-portal/anthropicffmpegfile_type: "opus"speedvolpitchpitch| Setting | Env var | Default | Description |
|---|---|---|---|
text messages.tts.providers.minimax.baseUrl | text MINIMAX_API_HOST | text https://api.minimax.io | MiniMax T2A API host. |
text messages.tts.providers.minimax.model | text MINIMAX_TTS_MODEL | text speech-2.8-hd | TTS model id. |
text messages.tts.providers.minimax.voiceId | text MINIMAX_TTS_VOICE_ID | text English_expressive_narrator | Voice id used for speech output. |
text messages.tts.providers.minimax.speed | text 1.0 | Playback speed, text 0.5..2.0 | |
text messages.tts.providers.minimax.vol | text 1.0 | Volume, text (0, 10] | |
text messages.tts.providers.minimax.pitch | text 0 | Integer pitch shift, text -12..12 |
The bundled MiniMax plugin registers music generation through the shared
music_generateminimaxminimax-portalminimax/music-2.6minimax-portal/music-2.6minimax/music-2.5minimax/music-2.0lyricsinstrumentaldurationSecondsmp3action: "status"To use MiniMax as the default music provider:
json5{ agents: { defaults: { musicGenerationModel: { primary: "minimax/music-2.6", }, }, }, }
The bundled MiniMax plugin registers video generation through the shared
video_generateminimaxminimax-portalminimax/MiniMax-Hailuo-2.3minimax-portal/MiniMax-Hailuo-2.3aspectRatioresolutionTo use MiniMax as the default video provider:
json5{ agents: { defaults: { videoGenerationModel: { primary: "minimax/MiniMax-Hailuo-2.3", }, }, }, }
The MiniMax plugin registers image understanding separately from the text catalog:
| Provider ID | Default image model |
|---|---|
text minimax | text MiniMax-VL-01 |
text minimax-portal | text MiniMax-VL-01 |
That is why automatic media routing can use MiniMax image understanding even when the bundled text-provider catalog still shows text-only M2.7 chat refs.
The MiniMax plugin also registers
web_searchminimaxMINIMAX_CODE_PLAN_KEYMINIMAX_CODING_API_KEYMINIMAX_API_KEYplugins.entries.minimax.config.webSearch.regionMINIMAX_API_HOSTminimaxmodels.providers.minimax-portal.baseUrlConfig lives under
plugins.entries.minimax.config.webSearch.*minimax/<model>minimax-portal/<model>MiniMax-M2.7MiniMax-M2.7-highspeedMiniMax-VL-01models.jsonopenclaw models listopenclaw models set minimax/MiniMax-M2.7openclaw models set minimax-portal/MiniMax-M2.7Choosing providers, model refs, and failover behavior.
Shared image tool parameters and provider selection.
Shared music tool parameters and provider selection.
Shared video tool parameters and provider selection.
Web search configuration via MiniMax Coding Plan.
General troubleshooting and FAQ.
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine