Usage guide
Setup, environment variables, and Python/JavaScript/Go usage examples.
NvidiaTTS
Text-to-speech with NVIDIA Riva Magpie voices hosted on NVIDIA’s cloud. Good for natural multilingual voices over a low-latency gRPC stream. Authenticates with NVIDIA_API_KEY from your environment, or an explicitapi_key.
Fields
NVIDIA cloud function ID of the hosted voice model to call. Defaults to ‘877104f7-e885-42b9-8de8-f6e4c6303969’.
Riva voice to speak with, e.g. “Magpie-Multilingual.EN-US.Aria”. Defaults to ‘Magpie-Multilingual.EN-US.Aria’.
BCP-47 language code of the text, e.g. “en-US”. Should match the voice. Defaults to ‘en-US’.