curl --request POST \
  --url https://users.rime.ai/v1/rime-tts \
  --header 'Accept: audio/x-mulaw' \
  --header 'Authorization: Bearer <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "speaker": "<string>",
  "text": "<string>",
  "modelId": "<string>",
  "speedAlpha": 1.0,
  "reduceLatency": false
}'

Fixed Headers

Accept
audio/x-mulaw
required

Variable Parameters

speaker
string
required

Must be one of the voices listed in our documentation.

text
string
required

The text you’d like spoken

modelId
string

Choose mist for hyper-realistic conversational voices or v1 for Rime’s first-gen model (default: v1)

speedAlpha
float
default: "1.0"

Adjusts the speed of speech. Lower than 1.0 is faster than default. Higher than 1.0 is slower than default.

reduceLatency
bool
default: "false"

Reduces the latency of response, at the cost of some possible mispronunciation of digits and abbreviations.