Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class MultispeakerPrebuiltVoice.
Configuration for a single speaker in a Gemini TTS multi-speaker setup.
Enables dialogue between two speakers.
Generated from protobuf message google.cloud.texttospeech.v1.MultispeakerPrebuiltVoice
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ speaker_alias
string
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
string
Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
getSpeakerAlias
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".
string
setSpeakerAlias
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".
var
string
$this
getSpeakerId
Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
string
setSpeakerId
Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
var
string
$this

