AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class TextToSpeechService

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

    Constructors

    TextToSpeechService(ElevenLabs)

    Declaration
    public TextToSpeechService(ElevenLabs client)
    Parameters
    Type Name Description
    ElevenLabs client

    Methods

    CreateAsync(SpeechRequest)

    Declaration
    public UniTask<GeneratedAudio> CreateAsync(SpeechRequest request)
    Parameters
    Type Name Description
    SpeechRequest request
    Returns
    Type Description
    UniTask<GeneratedAudio>

    StreamAsync(SpeechRequest, StreamAudioPlayer)

    Declaration
    public UniTask StreamAsync(SpeechRequest request, StreamAudioPlayer streamAudioPlayer)
    Parameters
    Type Name Description
    SpeechRequest request
    StreamAudioPlayer streamAudioPlayer
    Returns
    Type Description
    UniTask
    In this article
    Back to top Generated by DocFX