Google Cloud Text-to-Speech v1 API - Class MultispeakerPrebuiltVoice (3.15.0)

public sealed class MultispeakerPrebuiltVoice : IMessage<MultispeakerPrebuiltVoice>, IEquatable<MultispeakerPrebuiltVoice>, IDeepCloneable<MultispeakerPrebuiltVoice>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class MultispeakerPrebuiltVoice.

Configuration for a single speaker in a Gemini TTS multi-speaker setup. Enables dialogue between two speakers.

Inheritance

object > MultispeakerPrebuiltVoice

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

MultispeakerPrebuiltVoice()

public MultispeakerPrebuiltVoice()

MultispeakerPrebuiltVoice(MultispeakerPrebuiltVoice)

public MultispeakerPrebuiltVoice(MultispeakerPrebuiltVoice other)
Parameter
Name Description
other MultispeakerPrebuiltVoice

Properties

SpeakerAlias

public string SpeakerAlias { get; set; }

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".

Property Value
Type Description
string

SpeakerId

public string SpeakerId { get; set; }

Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.

Property Value
Type Description
string