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.
Xiaomi MiMo is the API platform for MiMo models. OpenClaw uses the Xiaomi OpenAI-compatible endpoint with API-key authentication.
| Property | Value |
|---|---|
| Provider | text xiaomi |
| Auth | text XIAOMI_API_KEY |
| API | OpenAI-compatible |
| Base URL | text https://api.xiaomimimo.com/v1 |
textOr pass the key directly: ```bash} openclaw onboard --auth-choice xiaomi-api-key --xiaomi-api-key "$XIAOMI_API_KEY" ```
| Model ref | Input | Context | Max output | Reasoning | Notes |
|---|---|---|---|---|---|
text xiaomi/mimo-v2-flash | text | 262,144 | 8,192 | No | Default model |
text xiaomi/mimo-v2-pro | text | 1,048,576 | 32,000 | Yes | Large context |
text xiaomi/mimo-v2-omni | text, image | 262,144 | 32,000 | Yes | Multimodal |
The bundled
xiaomimessages.ttsassistantuser| Property | Value |
|---|---|
| TTS id | text xiaomitext mimo |
| Auth | text XIAOMI_API_KEY |
| API | text POST /v1/chat/completionstext audio |
| Default | text mimo-v2.5-ttstext mimo_default |
| Output | MP3 by default; WAV when configured |
json5{ messages: { tts: { auto: "always", provider: "xiaomi", providers: { xiaomi: { apiKey: "xiaomi_api_key", model: "mimo-v2.5-tts", voice: "mimo_default", format: "mp3", style: "Bright, natural, conversational tone.", }, }, }, }, }
Supported built-in voices include
mimo_defaultdefault_zhdefault_enMiaChloeMiloDeanmimo-v2-ttsffmpegjson5{ env: { XIAOMI_API_KEY: "your-key" }, agents: { defaults: { model: { primary: "xiaomi/mimo-v2-flash" } } }, models: { mode: "merge", providers: { xiaomi: { baseUrl: "https://api.xiaomimimo.com/v1", api: "openai-completions", apiKey: "XIAOMI_API_KEY", models: [ { id: "mimo-v2-flash", name: "Xiaomi MiMo V2 Flash", reasoning: false, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 262144, maxTokens: 8192, }, { id: "mimo-v2-pro", name: "Xiaomi MiMo V2 Pro", reasoning: true, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 1048576, maxTokens: 32000, }, { id: "mimo-v2-omni", name: "Xiaomi MiMo V2 Omni", reasoning: true, input: ["text", "image"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 262144, maxTokens: 32000, }, ], }, }, }, }
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine