MultispeakerPrebuiltVoice(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for a single speaker in a Gemini TTS multi-speaker setup. Enables dialogue between two speakers.
Attributes |
|
|---|---|
| Name | Description |
speaker_alias |
str
Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as "Speaker1". |
speaker_id |
str
Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values. |