Say
The <Say>
verb speaks the text specified back to the caller, enabling text-to-speech for any application.
Attributes
ATTRIBUTE | DESCRIPTION | OPTIONS | DEFAULT |
---|---|---|---|
voice | Optional text-to-speech voice type. For premium text-to-speech use alice or prescribe a specific Amazon Polly voice in the form of Polly.VoiceId. If you want to use neural voice, use the following format: Polly.VoiceId-Neural. The ElevenLabs integration requires providing an API key that can stored in the secrets storage integration secrets documentation for more details. The voice can be specified in the following way: ElevenLabs.ModelId.VoiceId. For basic text-to-speech use man or woman. Only en-US language is supported in that case. | alice , Polly.VoiceId , Polly.VoiceId-Neural , ElevenLabs.ModelId.VoiceId , man , woman | man |
language | ISO language type to be used if voice type alice is selected. If man or woman is selected, the language accent will always be en-US. This parameter is ignored when a specific Amazon Polly voice is used. | - | |
loop | The number of times to repeat the text. 0 means infinite. | 0 - 10 | 1 |
Examples
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="alice">This is a premium Amazon Polly text-to-speech message!</Say>
</Response>