Skip to main content
The Rime API authenticates every request with a bearer token in the Authorization header: Authorization: Bearer YOUR_API_KEY. See API authentication for how to create a key. The endpoint streams audio in the format you name in the Accept header. Always set it, because a request without Accept returns 400. A wildcard (*/*) returns WAV, and so does a type the API can’t stream.

Audio formats

Set the Accept header to one of the following values:

Deprecated aliases

The API still accepts these for backward compatibility. Use the RFC types above in new code.

Variable parameters

string
A voice from the Rime voice catalog. If you leave it out, Mist v3 uses one default voice for the language. Set it to choose the voice.
string
required
The text you’d like spoken. Character limit per request is 1,000 via the API and in the dashboard UI.
number
default:"24000"
The sampling rate (Hz).
number
default:"1.0"
The time scaling factor. Accepted range is 0.4 to 2.5. Values outside this range are clamped without an error.Values above 1.0 slow the audio down, and values below 1.0 speed it up.
string
default:"en"
If provided, the language must match the language spoken by the selected speaker. Verify the pairing in the Rime voice catalog.
bool
default:"false"
When set to true, adds pauses between words enclosed in angle brackets. The number inside the brackets specifies the pause duration in milliseconds. Example: Hi. <200> I'd love to have a conversation with you. adds a 200ms pause. Learn more about custom pauses.
string
Comma-separated list of speed values applied to words in square brackets. Values < 1.0 speed up speech, > 1.0 slow it down. Example: “This is [slow] and [fast]”, use “3, 0.5” to make “slow” slower and “fast” faster.