Replicated Voice Config
@Serializable
The configuration for the replicated voice to use.
Constructors
Link copied to clipboard
constructor(mimeType: String? = null, voiceSampleAudio: ByteArray? = null, consentAudio: ByteArray? = null, voiceConsentSignature: VoiceConsentSignature? = null)
Properties
Link copied to clipboard
Recorded consent verifying ownership of the voice. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate.
Link copied to clipboard
Signature of a previously verified consent audio. This should be populated with a signature generated by the server for a previous request containing the consent_audio field. When provided, the signature is verified instead of the consent_audio field to reduce latency. Requests will fail if the signature is invalid or expired.
Link copied to clipboard
The sample of the custom voice.