This page describes how to create a dialogue with multiple speakers created by Text-to-Speech.
You can generate audio with multiple speakers to create a dialogue. This can be useful for interviews, interactive storytelling, video games, e-learning platforms, and accessibility solutions.
The following voice is supported for audio with multiple speakers:
en-US-Studio-Multispeaker
- speaker:
R
- speaker:
S
- speaker:
T
- speaker:
U
- speaker:
Example. This sample is audio that was generated using multiple speakers.
Example of how to use multi-speaker markup
This is an example that demonstrates how to use multi-speaker markup.
Python
To learn how to install and use the client library for Text-to-Speech, see Text-to-Speech client libraries. For more information, see the Text-to-Speech Python API reference documentation.
To authenticate to Text-to-Speech, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.