Search Results for

    Show / Hide Table of Contents

    Class SpeechGenerationOptions

    Inheritance
    object
    SpeechGenerationOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class SpeechGenerationOptions

    Properties

    | Edit this page View Source

    SpeechAudioFormat

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

    Declaration
    [JsonProperty("format")]
    public AudioEncoding? SpeechAudioFormat { get; set; }
    Property Value
    Type Description
    AudioEncoding?
    | Edit this page View Source

    VoiceId

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

    Declaration
    [JsonProperty("voice")]
    public string VoiceId { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation