Say
{
"verb": "say",
"text": "hi there!",
"synthesizer" : {
"vendor": "google",
"language": "en-US"
}
}
Parameters
earlyMediabooleanIf true and the call has not yet been answered, play the audio without answering the call.
Default: false.
loopnumberThe number of times a text is to be repeated.
0 means repeat forever.
Default: 1.
streambooleanIf set to true streaming text input is enabled.
synthesizer.genderstring(Google only) MALE, FEMALE, or NEUTRAL.
synthesizer.languagestringLanguage code to use.
synthesizer.vendorstringSpeech vendor to use (see list below).
synthesizer.voicestringVoice to use. Note that the voice list differs depending on whether you are using AWS or Google. Defaults to application setting, if provided.
synthesizer.optionsobjectVendor-specific tuning passed through to the TTS provider. The fields depend on the vendor. Options set here take precedence over any set on the speech credential.
instructionsstringA prompt sent to the TTS vendor to guide how the audio should be generated. Use this to specify the desired tone, emotion, speaking style, or context for the synthesized speech. This parameter is only supported by vendors that offer prompt-based TTS generation (e.g., Google Gemini TTS).
textstringText to speak; may contain SSML tags.