AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class TextToSpeechOptions

    Inheritance
    object
    GenerativeOptions
    TextToSpeechOptions
    Implements
    IGENOptions
    Inherited Members
    GenerativeOptions.Api
    GenerativeOptions.ModelId
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    [Serializable]
    public class TextToSpeechOptions : GenerativeOptions, IGENOptions

    Fields

    SpeechAudioFormat

    Parameters for audio output. Required when audio output is requested with modalities: ["audio"].

    Declaration
    public SerializableNullable<AudioEncoding> SpeechAudioFormat
    Field Value
    Type Description
    SerializableNullable<AudioEncoding>

    VoiceId

    The voice the model uses to respond. Supported voices are alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, and shimmer.

    Declaration
    public string VoiceId
    Field Value
    Type Description
    string

    Implements

    IGENOptions
    In this article
    Back to top Generated by DocFX