Speech Synthesis (MiMo-TTS Series) - OpenAI API Compatibility
Request Address
https://api.xiaomimimo.com/v1/chat/completions
Request Headers
The API supports the following two authentication methods. Please choose one and add it to the request headers:
api-key: $MIMO_API_KEY
Content-Type: application/json
Authorization: Bearer $MIMO_API_KEY
Content-Type: application/json
Request body
Chat response object (non-streaming output)
Chat response chunk object (streaming output)
curl --location --request POST 'https://api.xiaomimimo.com/v1/chat/completions' \
--header "api-key: $MIMO_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "mimo-v2.5-tts",
"messages": [
{
"role": "user",
"content": "Bright, bouncy, slightly sing-song tone — like you are bursting with good news you can barely hold in. Fast pace, rising pitch at the end."
},
{
"role": "assistant",
"content": "Hey boss — guess what, guess what? I just got the results back and I actually passed! Not just passed, I got a distinction! I know, I know — you told me I was cutting it close, but hey, here we are. Drinks are on me tonight, okay?"
}
],
"audio": {
"format": "wav",
"voice": "mimo_default"
}
}'response
{
"id": "6ebed286b58546f6b87fa7fa9d0e806b",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "",
"role": "assistant",
"audio": {
"id": "979a91904f9a4143928d9e1f54837b4f",
"data": "base64Data",
"expires_at": null,
"transcript": null
},
"tool_calls": null
}
}
],
"created": 1776954802,
"model": "mimo-v2.5-tts",
"object": "chat.completion",
"usage": {
"completion_tokens": 97,
"prompt_tokens": 213,
"total_tokens": 310,
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_tokens_details": {
"cached_tokens": 109
}
}
}Update Time July 17, 2026