Get Text To Speech Settings

50 views
Skip to first unread message

Ana Bento

unread,
Feb 14, 2022, 4:10:48 PM2/14/22
to Dialogflow Essentials Edition users
Hi!

Is there any way to get/set the text to speech settings? (As you can see in the screenshot below)
I'm trying to get these properties (voice, speaking rate, pitch and volumn gain) in my web application, but as far as I understood I can't do it with the current Dialogflow rest API.

Screen Shot 2022-02-14 at 3.53.28 PM.png

Thanks in advance.

Ana Carvalheira

dikaur

unread,
Feb 18, 2022, 7:39:43 PM2/18/22
to Dialogflow Essentials Edition users
Hello Ana,

You can refer to the documentation [1] that includes the properties (voice, speaking rate, pitch and volumn gain) you are trying to get in web application, 

Ana Bento

unread,
Feb 19, 2022, 2:08:47 PM2/19/22
to Dialogflow Essentials Edition users
But how do I get this info with the dialog flow Rest API? https://cloud.google.com/dialogflow/docs/reference/rest/v2-overview

Olusayo Akinlaja

unread,
Feb 22, 2022, 11:08:45 AM2/22/22
to Dialogflow Essentials Edition users
Hello Ana,

You are right. This article[0] highlights the way to go about accessing the Speech Settings, which seems to be possible only via the Cloud Console.

Actually, while it is possible to edit JSON files and import them for an agent using the Dialogflow Console or API, the Speech Setting is one of the options not overwritten[1] when importing or restoring.

Please feel free to submit a Feature Request[2][3] with the Dialogflow Product Engineers for this feature. Be sure to provide detailed information about why this feature may be necessary and the business impact on your use-case.

[0]https://cloud.google.com/dialogflow/es/docs/agents-settings#speech
[1]https://cloud.google.com/dialogflow/es/docs/agents-settings#export
[2]https://developers.google.com/issue-tracker/
[3]https://cloud.google.com/support/docs/issue-trackers#trackers-list
Reply all
Reply to author
Forward
0 new messages