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

Fixed Headers

Accept
audio/pcm
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)

samplingRate
int

The value, if provided, must be between 4000 and 44100. Default: 16000

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.