Skip to main content
All requests require authentication with a bearer token in the Authorization header: Authorization: Bearer YOUR_API_KEY. See API authentication for how to create a key. The streaming endpoint returns audio bytes in the format specified by the Accept header.

Audio formats

Set the Accept header to one of the following values:

Deprecated aliases

Still accepted for backwards compatibility; new code should use the RFC types above.

Variable parameters

string
required
Must be a voice available on coda. See the voice catalog.
string
required
The text you’d like spoken. The API accepts up to 1,000 characters per request.
string
Choose coda for Rime’s most realistic conversational voices.
string
default:"en"
If provided, the language must match the language spoken by the provided speaker. Both the 2-letter ISO 639-1 and the 3-letter ISO 639-2/3 form are accepted:See the voices documentation for which speakers support each language.
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 it are clamped without an error.A value above 1.0 slows down the audio, a value below 1.0 speeds up the audio.