AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class SpeechService

    Inheritance
    object
    CRUDServiceBase<OpenAI>
    SpeechService
    Namespace: Glitch9.AIDevKit.OpenAI.Services
    Assembly: .dll
    Syntax
    public class SpeechService : CRUDServiceBase<OpenAI>

    Constructors

    SpeechService(OpenAI)

    Declaration
    public SpeechService(OpenAI client)
    Parameters
    Type Name Description
    OpenAI client

    Fields

    kEndpoint

    Declaration
    public const string kEndpoint = "{ver}/audio/speech"
    Field Value
    Type Description
    string

    Methods

    CreateAsync(SpeechRequest)

    Generates audio from the input text.

    Declaration
    public UniTask<GeneratedAudio> CreateAsync(SpeechRequest req)
    Parameters
    Type Name Description
    SpeechRequest req
    Returns
    Type Description
    UniTask<GeneratedAudio>
    In this article
    Back to top Generated by DocFX