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

Fixed Parameters

audioFormat
ogg
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

samplingRate
int
required

Must be one of 8000, 12000, 16000, or 24000

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.