This feature has been deprecated. Please see the changelog for details.
The effects of controls vary by voice and transcript. If you find that the controls cause artifacts in the generated speech, try reducing their strength or reducing the number of controls you have applied.
Playground
In the playground, you can access speed and emotion controls by clicking the “Speed/Emotion” button in the Text to Speech tab.
API
This feature is currently experimental and is subject to breaking changes.
__experimental_controls dictionary to the voice object in your API request:
Speed Options
"slowest": Very slow speech"slow": Slower than normal speech"normal": Default speech rate"fast": Faster than normal speech"fastest": Very fast speech
Emotion Options
Theemotion parameter is an array of “tags” in the form emotion_name:level. For example, positivity:high or curiosity.
Emotion Names
angerpositivitysurprisesadnesscuriosity
Emotion Levels
Emotion controls are purely additive, they cannot reduce or remove emotions. For example,
anger:low will add a small amount of anger to the voice, not make the voice less angry.lowestlow- (omit level for moderate addition of the emotion)
highhighest