NVIDIARivaTTSOptions
Options & Configuration · AiDotNet.TextToSpeech.ProprietaryAPI
Options for the NVIDIA Riva / Speech NIM text-to-speech client (POST /v1/audio/synthesize).
Inheritance: CloudTtsOptions → NVIDIARivaTTSOptions
For Beginners
Start the TTS NIM container, then point ApiEndpoint at it.
How It Works
Riva runs on your own GPU server (a TTS NIM container serves HTTP on port 9000), so the endpoint defaults to
http://localhost:9000. Defaults: language en-US, the voice Magpie-Multilingual.EN-US.Aria and 22.05 kHz (the Magpie
models’ rate; the service returns 16-bit mono WAV). An API key, when the deployment requires one, is sent as a bearer
token.
Constructors
| Constructor | Summary |
|---|---|
NVIDIARivaTTSOptions() |
Creates the default options. |
NVIDIARivaTTSOptions(NVIDIARivaTTSOptions other) |
Initializes a new instance by copying from another instance. |
Properties
| Property | Summary |
|---|---|
string LanguageCode { get; set; } |
Gets or sets the BCP-47 language code (en-US). |