Skip to main content
Synthesize text to speech in WAV or MP3. The CLI picks the format from the model: mist and mistv2 output MP3, while coda and mistv3 default to WAV. Use --format to override.
Demo of the rime tts command

Required flags

Optional flags

Coda flags

These flags apply to Coda requests:

mist/mistv2/mistv3 flags

mist/mistv2 flags

Only mist and mistv2 support these flags; mistv3 does not.

Examples

Language

Omit --lang and the model synthesizes in its own language, which is what you want for a voice that speaks one language. Pass a BCP 47 tag to be explicit. The CLI does not check --lang: it sends the value as given, and the API rejects a tag the model cannot serve. See Languages for what each model supports.