MultiSpeakerVoiceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.
Attribute |
|
|---|---|
| Name | Description |
speaker_voice_configs |
MutableSequence[google.cloud.texttospeech_v1.types.MultispeakerPrebuiltVoice]
Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. |