Variable Parameters  
The text you’d like spoken. Character limit per request is 500 via the API and 1,000 in the dashboard UI. 
 
Choose mistv2 for Rime’s fastest, most accurate, and most customizable model, or mist for Rime’s earlier model (default: mist) 
 
One of mp3, mulaw, or pcm 
 
If provided, the language must match the language spoken by the provided speaker. This can be checked in our voices documentation .  
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 between the first and second sentences. 
 
When set to true, you can specify the phonemes for a word enclosed in curly brackets.  
Example: “{h’El.o} World” will pronounce “Hello” as expected. Learn more about custom pronunciation .  
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. 
 
The value, if provided, must be between 4000 and 44100. Default: 22050 
 
Adjusts the speed of speech. Lower than 1.0 is faster than default. Higher than 1.0 is slower than default. 
 
Skips text normalization of the input text prior to synthesizing audio. This will reduce latency at the cost of some possible mispronunciation of digits and abbreviations. 
 
Example Output  
event: chunk  
data: {"data": "vv+t/7j/sv+8/8j/zv/U/9T/z//P/87/yv/J/8n/0//X/9r/5f/p/+//8f/y//b/8f/x//P/9v/+/wAAAAD3/+3/7v/v//X/+P/0//r/8v/r//D/8P/x/+v/7P/1//D/7//0//b/9//7//r/8//5//7/9//8/wYABwAHAAgADAAKAAEA///8//n/9P/w/+//7P/p/+L/5f/l/+D/6v/s/+//9f/r/+z/8P/u/+//8//t/+j/7//t/9//3//f/97/4P/f/+D/4P/k/+P/3v/f/9//4//p/+b/5f/l/9z/4f/p/+H/5//m/+H/8P/x/+7/9f/9//z/8//2//r/9v/w/+//8f/p/+P/4f/d/9z/2//Z/9r/3P/e/9z/4P/k/+L/4//f/9z/2f/a/9v/0v/N/8n/yf/J/8D/tv+z/7f/s/+x/7f/sv+x/8D/xP/C/8b/yv/S/9H/xf/D/8n/zv/S/8//0P/X/9D/z//X/9T/0P/L/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EAEgARwBOAE0ARwBOAE0ASABEADgANQA2ADoAQAA5ADIANQA0ADUAOQA5ADwAQgBDAEIARQBGAEIAPgA9AD4AOwA7ADsAQwBJAEYAVQBaAFUAUwBNAFIAVgBQAE8AUgBYAFQATQBQAA=="}  
 
event: timestamps  
data: {"word_timestamps": {"words": ["over", "the", "last", "six", "months", ",", "there", "has", "been", "a", "lot", "of", "talk", "about", "the", "future", "of", "theatrical", "exhibition"], "start": [0, 0.624, 0.816, 1.12, 1.52, 2.08, 2.3, 2.496, 2.7, 2.896, 3.024, 3.232, 3.408, 3.664, 4.0, 4.192, 4.608, 4.768, 5.456], "end": [0.624, 0.816, 1.12, 1.52, 2.08, 2.304, 2.496, 2.704, 2.896, 3.024, 3.232, 3.408, 3.664, 4.0, 4.192, 4.608, 4.768, 5.456, 6.672]}}  
 
event: done  
data: {"done": true}  
 
 
cURL
Python
JavaScript
PHP
Go
Java
curl  --request  POST  \  
  --url  https://users.rime.ai/v1/rime-tts  \  
  --header  'Accept: text/event-stream'  \  
  --header  'Authorization: Bearer <authorization>'  \  
  --header  'Content-Type: application/json'  \  
  --data  '{  
  "speaker": "<string>",  
  "text": "<string>",  
  "modelId": "<string>",  
  "lang": "eng",  
  "samplingRate": 22050,  
  "speedAlpha": 1.0,  
  "noTextNormalization": false,  
  "pauseBetweenBrackets": false,  
  "phonemizeBetweenBrackets": false,  
  "inlineSpeedAlpha": "0.5, 3"  
}'