Class SpeakerVoiceConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The configuration for a single speaker in a multi speaker setup.
public class SpeakerVoiceConfig
- Inheritance
-
SpeakerVoiceConfig
- Inherited Members
- Extension Methods
Properties
Speaker
Required. The name of the speaker to use. Should be the same as in the prompt.
[JsonPropertyName("speaker")]
public string? Speaker { get; set; }
Property Value
VoiceConfig
Required. The configuration for the voice to use.
[JsonPropertyName("voiceConfig")]
public VoiceConfig? VoiceConfig { get; set; }