About NVIDIA TTS NIM Microservice#
The NVIDIA Text-to-Speech (TTS) NIM microservice synthesizes natural-sounding speech from text. It packages pre-trained NeMo models with the full NVIDIA inference stack into self-contained containers that handle model download, optimization, and serving.
The NVIDIA TTS NIM microservice supports two synthesis modes:
Offline: Generates the complete audio and returns it in a single response. Simpler to use, but subject to a 4 MB gRPC message size limit.
Streaming: Returns audio in chunks as they are generated. Provides lower time-to-first-audio and handles arbitrarily long text.
Available Models#
Model |
Languages |
Modes |
Key Capability |
|---|---|---|---|
Magpie TTS Multilingual |
English, Spanish, French, German, Mandarin, Vietnamese, Italian, Hindi, Japanese, Korean, Arabic, Portuguese |
Streaming + Offline |
Multi-voice, multi-language synthesis |
Magpie TTS Zeroshot |
English, Spanish, French, German, Mandarin, Vietnamese, Italian, Hindi, Japanese, Arabic, Portuguese, Korean |
Streaming + Offline |
Multilingual voice cloning from a reference audio sample |
Chatterbox TTS Multilingual |
23 languages incl. Arabic, English, Spanish, French, German, Hindi, Japanese, Korean, Mandarin, Portuguese, Russian |
Streaming + Offline |
Emotion exaggeration |
Note
Magpie TTS Zeroshot requires access approval. Request access through this form.
For GPU requirements and all model profiles, refer to the TTS support matrix.
Key Capabilities#
Voice Selection and Emotional Styles#
Each TTS model includes multiple voices organized by language and locale. The Magpie Multilingual model provides voices with optional emotional style variants, such as Magpie-Multilingual.EN-US.Aria.Angry and Magpie-Multilingual.FR-FR.Pascal.Calm. Refer to Voices and Emotional Styles for the naming convention and available emotions.
Voice Cloning#
The Magpie TTS Zeroshot model clones a voice from a short reference audio recording (3–10 seconds, 16-bit mono WAV at 22.05 kHz or higher). Refer to Voice Cloning for audio prompt preparation, quality tuning, and examples.
Batch Synthesis#
The WebSocket realtime client supports synthesizing speech from text files and processing multiple lines in parallel for higher throughput. Refer to Batch Synthesis for details.
SSML Customization#
The TTS NIM microservice supports a subset of Speech Synthesis Markup Language (SSML) for controlling phoneme pronunciation. Refer to Customizing TTS Models for details and examples.
Custom Pronunciation#
Define a text-based dictionary that maps words to IPA phonetic representations. The TTS model applies these custom pronunciations during synthesis. Refer to Phoneme Support for supported phonemes.
Audio Watermarking#
Every clip that Magpie TTS and Chatterbox TTS synthesize carries an inaudible Perth watermark that identifies the audio as machine-generated. Both model families use the same scheme. The watermark is applied in offline and streaming modes alike, for every language, and for audio produced by zero-shot voice cloning.
Watermarking is always on. No request field, environment variable, or model profile disables it. The two model families differ in how they behave if the watermarker cannot be initialized: a Magpie model fails to load rather than serve unmarked audio, while Chatterbox logs Perth watermarker init failed and continues without the watermark. If you depend on the watermark being present, check the startup log and score a clip with the detector shown below.
To check whether a clip carries the watermark, score the audio with Resemble AI’s perth detector:
import numpy as np, perth, soundfile as sf
audio, rate = sf.read("output.wav", dtype="float32", always_2d=True)
detector = perth.PerthImplicitWatermarker()
score = float(np.mean(detector.get_watermark(audio.mean(axis=1), sample_rate=rate, round=False)))
print(score)
The score runs from 0 to 1. Synthesized audio scores at or above 0.5; an unmarked recording scores below it.
Next Steps#
TTS Tutorial: Deploy your first TTS NIM and synthesize speech step by step.
Deploy and Run TTS NIM: Docker and Helm deployment with inference examples for all models and APIs.
Voices and Emotional Styles: Voice naming convention, speakers, and emotional variants.
Voice Cloning: Clone a voice from a reference audio recording.
Batch Synthesis: Synthesize from text files with parallel processing.
Customizing TTS Models: SSML tags and custom pronunciation dictionaries.
Deploying Custom Models as NIM: Convert, build, and deploy a custom NeMo TTS model as a NIM.
Phoneme Support: Supported IPA phonemes for English.
TTS Support Matrix: GPU requirements and model profiles.