AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class VoiceChangerRequest

    Inheritance
    object
    RequestBody
    AudioRequest
    VoiceRequest
    VoiceChangerRequest
    Inherited Members
    VoiceRequest.VoiceId
    VoiceRequest.Voice
    VoiceRequest.EnableLogging
    VoiceRequest.Model
    AudioRequest.OutputFormat
    Namespace: Glitch9.AIDevKit.ElevenLabs
    Assembly: .dll
    Syntax
    public class VoiceChangerRequest : VoiceRequest

    Properties

    Audio

    Required. The audio file which holds the content and emotion that will control the generated speech.

    Declaration
    public byte[] Audio { get; set; }
    Property Value
    Type Description
    byte[]

    InputFormat

    Optional. The format of input audio. Options are ‘pcm_s16le_16’ or ‘other’ For pcm_s16le_16, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform.

    Declaration
    public ElevenLabsInputFormat InputFormat { get; set; }
    Property Value
    Type Description
    ElevenLabsInputFormat

    RemoveBackgroundNoise

    Optional. If set, will remove the background noise from your audio input using our audio isolation model. Only applies to Voice Changer. Defaults to false

    Declaration
    public bool? RemoveBackgroundNoise { get; set; }
    Property Value
    Type Description
    bool?

    Seed

    Optional. If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be integer between 0 and 4294967295.

    Declaration
    public uint? Seed { get; set; }
    Property Value
    Type Description
    uint?

    VoiceSettings

    Optional. Voice settings overriding stored settings for the given voice. They are applied only on the given request. Needs to be send as a JSON encoded string.

    Declaration
    public VoiceSettings VoiceSettings { get; set; }
    Property Value
    Type Description
    VoiceSettings

    Extension Methods

    RequestExtensions.ExecuteAsync(VoiceChangerRequest)
    In this article
    Back to top Generated by DocFX