We a building a chatbot app for Google Home using Api.ai (Dialogflow now) which has both male and female historical figures. We are using Actions on google. Google lets you
Maybe. Although SSML supports a
tag, the documentation for Actions does not list it as supported. However, as you noted, there appears to be some support. The gender
and variant
attributes seem to work, at least for en-US. The languages
attribute doesn't seem to be. So something like this might work:
male
male
female
female
However what is documented as working is to adjust the pitch of the default voice (whichever one you pick) using the
SSML tag. Here is an example you can use to see how it sounds if you vary the pitch:
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
You can also combine the two tags.