WellSaidLabs<T>

Models & Types · AiDotNet.TextToSpeech.ProprietaryAPI

A client of the WellSaid Labs text-to-speech API.

Inheritance: CloudTtsClientBase<T> → WellSaidLabs<T>

For Beginners

new WellSaidLabs<float>(new WellSaidLabsOptions { ApiKey = "…" }).Synthesize("Hello") returns the spoken audio.

How It Works

Sends POST https://api.wellsaidlabs.com/v1/tts/stream with the X-Api-Key header, Accept: audio/mpeg and { text, speaker_id[, model] }; the response is MP3, decoded by Mp3Decoder, mixed to mono and resampled to the requested rate when needed.

Constructors

Constructor Summary
WellSaidLabs(WellSaidLabsOptions options, HttpClient httpClient) Creates the client; a supplied HttpClient is used as is and not disposed.

Properties

Property Summary
string ProviderName { get; }