Table of Contents

Class TextToSpeechService

public class TextToSpeechService : CrudServiceBase<ElevenLabsClient>
Inheritance
object
TextToSpeechService

Constructors

TextToSpeechService(ElevenLabsClient)

public TextToSpeechService(ElevenLabsClient client)

Parameters

client ElevenLabsClient

Methods

CreateAsync(TextToSpeechRequest, RESTOptions)

public UniTask<Generated<AudioClip>> CreateAsync(TextToSpeechRequest request, RESTOptions options = null)

Parameters

request TextToSpeechRequest
options RESTOptions

Returns

UniTask<Generated<AudioClip>>

StreamAsync(TextToSpeechRequest, RESTOptions)

public UniTask<IRESTStream<IGenerativeAudioEvent>> StreamAsync(TextToSpeechRequest request, RESTOptions options = null)

Parameters

request TextToSpeechRequest
options RESTOptions

Returns

UniTask<IRESTStream<IGenerativeAudioEvent>>