NVIDIARivaTTS<T>
Models & Types · AiDotNet.TextToSpeech.ProprietaryAPI
A client of an NVIDIA Riva / Speech NIM text-to-speech server’s HTTP API.
Inheritance: CloudTtsClientBase<T> → NVIDIARivaTTS<T>
For Beginners
new NVIDIARivaTTS<float>(new NVIDIARivaTTSOptions { ApiEndpoint = "http://gpu-box:9000" }) .Synthesize("Hello") returns the spoken audio.
How It Works
Sends POST {endpoint}/v1/audio/synthesize as multipart form data with the fields text,
language, voice and sample_rate_hz; the response is a 16-bit mono WAV file.
Constructors
| Constructor | Summary |
|---|---|
NVIDIARivaTTS(NVIDIARivaTTSOptions options, HttpClient httpClient) |
Creates the client; a supplied HttpClient is used as is and not disposed. |
Properties
| Property | Summary |
|---|---|
string ProviderName { get; } |