Table of Contents

Class VoiceConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The configuration for the voice to use.

public class VoiceConfig
Inheritance
VoiceConfig
Inherited Members
Extension Methods

Properties

PrebuiltVoiceConfig

The configuration for the prebuilt voice to use.

[JsonPropertyName("prebuiltVoiceConfig")]
public PrebuiltVoiceConfig? PrebuiltVoiceConfig { get; set; }

Property Value

PrebuiltVoiceConfig

ReplicatedVoiceConfig

Speak with a voice replicated from an audio sample.

[JsonPropertyName("replicatedVoiceConfig")]
public ReplicatedVoiceConfig? ReplicatedVoiceConfig { get; set; }

Property Value

ReplicatedVoiceConfig

Voice

Name of a custom voice resource to speak with.

[JsonPropertyName("voice")]
public string? Voice { get; set; }

Property Value

string

See Also