Class ReplicatedVoiceConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Configuration for speaking with a voice replicated from an audio sample.
public class ReplicatedVoiceConfig
- Inheritance
-
ReplicatedVoiceConfig
- Inherited Members
- Extension Methods
Properties
ConsentAudio
Base64-encoded recording of the speaker consenting to replication of their voice.
[JsonPropertyName("consentAudio")]
public string? ConsentAudio { get; set; }
Property Value
MimeType
MIME type of VoiceSampleAudio and ConsentAudio.
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }
Property Value
VoiceConsentSignature
Signature returned by a previous request that already verified consent, so the consent audio need not be resent.
[JsonPropertyName("voiceConsentSignature")]
public VoiceConsentSignature? VoiceConsentSignature { get; set; }
Property Value
VoiceSampleAudio
Base64-encoded audio sample of the voice to replicate.
[JsonPropertyName("voiceSampleAudio")]
public string? VoiceSampleAudio { get; set; }