> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# MiMo-V2.5-TTS

MiMo-V2.5-TTS is an open-source text-to-speech model developed by Xiaomi that synthesizes text into speech. Configure parameters such as speaking style and voice to generate natural, expressive speech.

Core capabilities:

* **Ready-to-use preset voices:** Includes a selection of high-quality voices that can be used without additional configuration.
* **Voice design and cloning:** Design a voice with a text description or replicate a voice from an audio sample.
* **Diverse speaking styles:** Control speech rate, emotion, role-play, dialect, and other styles for more expressive, natural speech.

### Model parameters

* Model IDs: `mimo-v2.5-tts`/`mimo-v2.5-tts-voicedesign`/`mimo-v2.5-tts-voiceclone`
* Model pricing: See the model details page: [MiMo-V2.5-TTS](https://geekai.co/models/mimo-v2.5-tts)
* Endpoint: `https://geekai.co/api/v1/audio/speech`
* Model parameters: See the [Text-to-speech API guide](https://docs.geekai.co/en/api/audio/texttospeech.md)
* API authentication: [Get an API key](https://geekai.co/user/api_keys)

> [!NOTE]
>
> The following parameters from the public speech transcription API are not supported:
>
> * `stream_format`
> * `speed`
>
> Also see the [official MiMo-V2.5-TTS API documentation](https://mimo.mi.com/docs/zh-CN/api/audio/tts-post).

### Pricing

All models in the MiMo-V2.5-TTS family are currently free.

### Speech synthesis

Use the `mimo-v2.5-tts` model for speech synthesis:

```bash theme={null}
curl https://geekai.co/api/v1/audio/speech \
  -H "Authorization: Bearer $GEEKAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mimo-v2.5-tts",
    "input": "Today is a wonderful day to build something people love!",
    "voice": "mimo_default"
  }' \
  --output speech.mp3
```

By default, the model returns generated audio as a binary WAV file. Use the `response_format` parameter to specify the output format. The available values are:

* `mp3`
* `wav`
* `pcm`
* `pcm16`

You can also use the `voice` parameter to specify the voice ID. MiMo-V2.5-TTS supports these preset voices:

* `mimo_default` (default voice)
* `冰糖` (Bingtang)
* `茉莉` (Moli)
* `苏打` (Soda)
* `白桦` (Baihua)
* `Mia`
* `Chloe`
* `Milo`
* `Dean`

### Voice design

Use the `mimo-v2.5-tts-voicedesign` model for voice design. Pass a voice description in the `instructions` parameter and the audio content in `input`:

```bash theme={null}
curl https://geekai.co/api/v1/audio/speech \
  -H "Authorization: Bearer $GEEKAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mimo-v2.5-tts-voicedesign",
    "input": "Hello, this is a custom voice design example.",
    "instructions": "Design a warm and friendly voice."
  }' \
  --output speech.mp3
```

The more specific and vivid the description, the more closely the generated voice will match your expectations. A good voice description usually covers several of the following dimensions (you do not need to include every one):

| Dimension | Examples |
| - | - |
| Gender and age | "young woman in her mid-20s", "man in his 50s" |
| Voice/timbre | "deep and gravelly", "smooth, rich, and resonant" |
| Emotion/tone | "warm and confident", "gentle with a hint of fatigue" |
| Speaking rate/rhythm | "slow and deliberate", "extremely fast, like a rapid-fire delivery" |

The following dimensions are optional and can add more detail:

* Role/persona: narrator, podcast host, storyteller, late-night radio DJ
* Speaking style: casual and colloquial, completely serious, speaking in a lowered voice as if plotting something
* Scenario: narrating a nature documentary, pitching to investors
* Period reference: 1940s film noir, voice acting in a 1980s dubbed film

Notes:

* **Length:** One to four sentences are enough; there is no need to write a long passage. Clearly describing the key traits matters more than including many dimensions.
* **Avoid conflicting traits:** Do not request contradictory characteristics (for example, "a childlike voice + a CEO's presence").
* **Avoid audio-effect terms:** Do not describe post-processing such as reverb, echo, EQ, or compression.
* **Avoid vague words:** Avoid descriptions such as "ordinary," "normal," or "foreign" that lack a specific meaning.
* **Chinese and English are both supported:** The model supports voice descriptions in both Chinese and English. Choose the language in which you can express your intent most precisely.
* **Match the synthesized text to the voice:** The text in the `input` message should match the voice description for the best results. For example, pair a bedtime monologue with a "gentle, comforting female voice" rather than an intense sports commentary. We recommend using an LLM to generate text suited to your voice description.

### Voice cloning

Use the `mimo-v2.5-tts-voiceclone` model for voice cloning. Provide an audio sample through the `voice` parameter to generate speech similar to the original voice. For example:

```bash theme={null}
curl https://geekai.co/api/v1/audio/speech \
  -H "Authorization: Bearer $GEEKAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mimo-v2.5-tts-voiceclone",
    "input": "Hello, this is a voice cloning example.",
    "voice": "Audio file URL or Base64-encoded audio data"
  }' \
  --output speech.mp3
```

> [!NOTE]
>
> The maximum size of the supplied voice audio file is 10 MB. Supported audio formats are `mp3` and `wav`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.