A Talking Pictionary: Text-to-Speech with Vertex AI

Learn how to use Vertex AI to add text-to-speech capabilities to our pictionary application.

The text-to-speech feature seemed like a neat feature that can be used in many situations. For us, it can add another layer of interactivity for our pictionary application. For each response that the model generates, we will now speak it out aloud as well. With generative AI, the options are endless!

Testing text-to-speech

Let’s head over to the text-to-speech section of Vertex AI to begin, where we will generate the voice. We can choose from three languages, we can try with “English: Female” for now. To get a feel for how the voice might sound in our application, let’s try it with a response that was generated in the game.

Get hands-on with 1200+ tech skills courses.