Nemotron Speech
NVIDIAOfficialCreated by Nemotron Speech TeamDistributed by NVIDIA
- Skill
- Tool integration
- Data and AI
- Apache-2.0
- Medium risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
Nemotron Speech acts as a central command interface for managing NVIDIA's speech AI NIMs. It provides a structured workflow for users to navigate deployment options, whether using cloud-hosted inference via build.nvidia.com or self-hosted Docker containers. The skill handles the routing of tasks across ASR, TTS, and NMT modalities, ensuring users follow the correct procedures for model selection, pipeline configuration, and system readiness checks.
What it does
- Routes users to specific workflows for ASR, TTS, and NMT deployment.
- Provides guidance on self-hosted Docker deployment and cloud-hosted inference.
- Assists with custom model builds using riva-build and riva-deploy.
- Facilitates ASR pipeline tuning including VAD, diarization, and language models.
- Supports TTS customization such as SSML, zero-shot voice cloning, and pronunciation dictionaries.
- Directs users to authoritative documentation for version-specific model and hardware requirements.
When to use it
- When you need to deploy or test NVIDIA Riva/Nemotron Speech NIMs.
- When configuring custom ASR or TTS pipelines for specific accuracy or vocabulary needs.
- When troubleshooting deployment readiness, GPU compatibility, or container health.
- When integrating speech-to-text, text-to-speech, or translation into an application.
Advantages
- Centralizes complex speech AI workflows into a single, navigable interface.
- Ensures adherence to official NVIDIA documentation and best practices.
- Simplifies the transition between cloud-hosted and self-hosted environments.
- Provides clear, step-by-step procedures for custom model deployment.
Usage examples
- “Deploy a Parakeet ASR NIM”
- The agent loads the ASR reference file and guides the user through the self-hosted deployment steps.
- “How do I fix the pronunciation of NIM in Riva TTS?”
- The agent loads the TTS pronunciation reference, suggests IPA candidates, and provides the necessary gRPC snippet.
- “Can my GPU run this?”
- The agent initiates the deployment readiness check workflow to verify system requirements.
- “Translate English to German”
- The agent loads the NMT reference file and walks the user through the translation deployment flow.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/nvidia/nemotron-speech/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip nemotron-speech.zip -d .agents/skills
Documentation by Nemotron Speech Team
Nemotron Speech Skills
Note: "Nemotron Speech" is the public-facing name for what NVIDIA documents today as Riva / Riva NIM. All commands, container images, gRPC APIs, Python imports, and documentation URLs still use "Riva" — the rename is brand-only. Do not rename commands, images, or doc URLs.
Agent: When walking the user through a multi-step workflow, announce each step before presenting it: Step N/M — Step Title (e.g., "Step 1/4 — Deploy the Container").
Purpose
Single entry point for all NVIDIA Nemotron Speech (Riva) NIM workflows: ASR (speech-to-text), TTS (text-to-speech), and NMT (translation). Covers cloud-hosted inference via build.nvidia.com, self-hosted Docker deployment, client-protocol choice for ASR (gRPC, HTTP, WebSocket), custom NeMo model deployment via riva-build, ASR pipeline tuning (VAD, diarization, language models), and the prerequisite Docker / NGC / driver setup.
When to Use This Skill
Use this skill for any Nemotron Speech / Riva NIM task — deployment, testing, custom model build, system requirements check, or model selection across ASR / TTS / NMT modalities.
Workflow
Identify the user's task type, then load the corresponding reference file from references/. The reference files contain the detailed per-workflow content; this SKILL.md is a routing surface. Load only the reference relevant to the task at hand.
Prerequisites
For self-hosted deployment: NVIDIA AI Enterprise (NVAIE) entitlement, then complete the environment setup — NVIDIA drivers, Docker, Container Toolkit, NGC API key, Riva Python client. See
references/setup.md.For cloud-hosted inference:
pip install -U nvidia-riva-clientand a validNVIDIA_API_KEYfrom https://build.nvidia.com.Treat
NVIDIA_API_KEYandNGC_API_KEYas secrets: never print, paste, commit, or log real key values. Prefer--password-stdinfor Docker login and store persistent keys in a credential manager or achmod 600env file rather than world-readable shell startup files.For self-hosted Docker model caching: host directories mounted at
/opt/nim/.cachemust be writable by the container user (the NIM container runs asnvs:1000internally), not just the host user. Runsudo chown 1000:1000 $LOCAL_NIM_CACHEafter creating the directory so the container can write to it. Avoid world-writable modes — they let any local user replace cached model artifacts. Also avoid-u "$(id -u):$(id -g)"on the docker run —/opt/nim/workspaceinside the container isn't writable to arbitrary UIDs. If you seeI/O error Permission denied (os error 13)during model download, the host directory ownership is the issue.
Instructions
Match the user's task to one reference file and load only that file; the references are detailed, so progressive disclosure keeps context tight.
Route setup requests for drivers, Docker, Container Toolkit, and NGC to
references/setup.md.Route GPU compatibility, deployment readiness, and container health checks to
references/deployment-readiness-checks.md.Route model choice across ASR, TTS, and NMT to
references/model-selection.md.Route ASR deployment or inference for Parakeet, Canary, Whisper, and Nemotron ASR Streaming to
references/asr.md.Route custom-trained NeMo ASR deployment (
.nemo→ RMIR → NIM) toreferences/asr-custom.md.Route ASR pipeline configuration for VAD, diarization, language models, and chunk size to
references/pipelines.md.Route TTS deployment or inference for Magpie to
references/tts.md.Route custom or fine-tuned TTS model deployment (
.nemo→ RMIR → NIM) toreferences/tts-custom.md.Route TTS synthesis pipeline configuration — SSML, zero-shot voice cloning, applying an existing pronunciation dictionary, audio encoding, sample rate,
custom_configurationkeys — toreferences/tts-pipelines.md. (For discovering and constructing the pronunciation itself, usetts-pronunciation.md.)Route TTS pronunciation discovery — finding, testing, and applying IPA pronunciations for specific words or phrases — to
references/tts-pronunciation.md.Route NMT deployment or inference for Riva Translate, language pairs, and DNT tags to
references/nmt.md.
Source of truth
For per-release detail — current model catalog, container IDs, function IDs, voice lists, VRAM minimums, per-model feature support — fetch or open the canonical NVIDIA doc rather than relying on text in this SKILL.md or the references. Each reference file includes its own routing table to the relevant doc pages.
Top-level landing pages:
Examples
"Deploy a Parakeet ASR NIM" → load references/asr.md, follow Option B (self-hosted), Steps 1–4.
"Synthesize speech with Magpie" → load references/tts.md, follow Option A (cloud) or Option B (self-hosted).
"Translate English to German" → load references/nmt.md, follow the 4-step flow.
"Convert my fine-tuned .nemo to a NIM" → load references/asr-custom.md for the 4-phase pipeline and references/pipelines.md for build-time config.
"Deploy a custom fine-tuned TTS voice as a NIM" → load references/tts-custom.md for the 4-phase pipeline.
"Use zero-shot voice cloning with Magpie" → load references/tts-pipelines.md.
"Add SSML emphasis tags to my TTS request" → load references/tts-pipelines.md.
"'NVIDIA' sounds wrong in my Magpie TTS output — suggest a few IPA options to test" → load references/tts-pronunciation.md, generate IPA candidates, synthesize variants, then output all three delivery formats.
"How do I fix the pronunciation of 'NIM' in Riva TTS with a custom_dictionary in gRPC Python?" → load references/tts-pronunciation.md, propose IPA for 'NIM', show wire format and gRPC snippet.
"Can my GPU run this?" → load references/deployment-readiness-checks.md and run the 6-step system check.
"Which Riva model should I use?" → load references/model-selection.md, apply the decision framework, then fetch the support matrix for the specific current model name.
Naming & Terminology
Skill brand: Nemotron Speech (public-facing name).
Internal naming preserved: commands (
riva-build,riva-deploy,riva_streaming_asr_client), Python client (riva.client), gRPC namespace (nvidia.riva.asr.*), container registry (nvcr.io/nim/nvidia/*), and all NVIDIA documentation URLs still use "Riva". Do not rename these in code, commands, or docs.
Troubleshooting
For task-specific runtime or modality issues, use the relevant reference file (references/<task>.md). Cross-cutting readiness checks:
Container does not become ready →
references/deployment-readiness-checks.md(system check + health check table)Health check fails →
references/deployment-readiness-checks.mddocker pullfromnvcr.ioreturns 403 →references/setup.md(Step 5 — Docker login)Wrong base image / model architecture mismatch →
references/asr-custom.md(Phase 2 base image)VRAM / GPU compatibility →
references/deployment-readiness-checks.md, then verify on the support matrix
Limitations
x86_64 architecture only — WSL2 on Windows requires Podman and supports a subset of NIMs (see
references/setup.md)Self-hosted deployment requires an NVIDIA AI Enterprise license
Cloud-hosted inference requires an active
NVIDIA_API_KEYand internet accessPublic skill branding is "Nemotron Speech"; commands, container images, Python imports (
riva.client), gRPC services (nvidia.riva.*), and NVIDIA documentation URLs still use "Riva" — follow official docs and catalogs for naming, do not rename these in commands or code
Next Steps
Verify hardware compatibility:
references/deployment-readiness-checks.mdSet up the environment:
references/setup.mdPick a model:
references/model-selection.mdDeploy:
references/asr.md,references/tts.md, orreferences/nmt.md
Files
- ATTRIBUTION.mdAdded by AutoGineer917 B
- BENCHMARK.md10.7 KiB
- LICENSELicence file added by AutoGineer11.2 KiB
- SKILL.md11.7 KiB
- evals/EVAL.md1.2 KiB
- evals/evals.json17.3 KiB
- references/asr-custom.md14.6 KiB
- references/asr.md26.4 KiB
- references/deployment-readiness-checks.md7.8 KiB
- references/model-selection.md19.2 KiB
- references/nmt.md15.5 KiB
- references/pipelines.md16.3 KiB
- references/setup.md7.2 KiB
- references/tts-custom.md14.1 KiB
- references/tts-pipelines.md21.5 KiB
- references/tts-pronunciation.md13.3 KiB
- references/tts.md17.1 KiB
- scripts/main.pyScript13.3 KiB
- skill-card.md4.1 KiB
- skill.oms.sig7.5 KiB
references/tts.md
Riva TTS NIM
Two modes: cloud-hosted (no GPU, uses build.nvidia.com) or self-hosted (your own GPU + Docker).
Agent: When walking the user through a multi-step workflow, announce each step before presenting it: Step N/M — Step Title (e.g., "Step 1/4 — Deploy the Container").
Source of truth. This skill describes deployment mechanics, which are stable across releases. For anything that varies per release — model catalog, container IDs, function IDs, voice lists, supported languages, feature support per model, VRAM minimums — fetch or open the canonical doc page and answer from that, not from this skill's text. See Looking up current information below.
Purpose
Deploy and run NVIDIA Riva TTS (text-to-speech) NIMs for speech synthesis. Supports cloud-hosted inference via build.nvidia.com (no GPU required) and self-hosted deployment. Covers offline synthesis, streaming, and Helm deployment.
Looking up current information
This skill is orientation, not catalog. When a question depends on data that changes per release, fetch or open the relevant page and answer from that page:
| Question type | Fetch this page |
|---|---|
Current models, container IDs, NIM_TAGS_SELECTOR profiles, available voices, supported languages, VRAM minimums | https://docs.nvidia.com/nim/speech/latest/reference/support-matrix/tts.html |
| Function IDs for cloud (build.nvidia.com) inference | https://api.nvcf.nvidia.com/v2/nvcf/functions (auth with NVIDIA_API_KEY; filter by name and status=="ACTIVE"). For human browsing only: https://build.nvidia.com/<org>/<model>/api (JS-rendered, not suitable for non-browser fetch tools). |
Request-time feature support per model — SSML, custom dictionaries, custom_configuration keys | https://docs.nvidia.com/nim/speech/latest/tts/customization.html |
| Voices and emotional styles | https://docs.nvidia.com/nim/speech/latest/tts/voices.html |
gRPC proto contract — SynthesizeSpeechRequest, SynthesizeSpeechResponse, voice metadata fields | https://docs.nvidia.com/nim/speech/latest/reference/api-references/tts/protos.html |
| Realtime WebSocket API — OpenAI-realtime-compatible TTS sessions | https://docs.nvidia.com/nim/speech/latest/reference/api-references/tts/realtime-tts.html |
| GPU / VRAM / driver minimums, OS prerequisites | https://docs.nvidia.com/nim/speech/latest/get-started/prerequisites.html |
| Latency / throughput benchmarks per model and GPU | https://docs.nvidia.com/nim/speech/latest/reference/performances/tts/performance.html |
Do not infer from this skill's text: which models exist, which voices they expose, which languages are supported, what NIM_TAGS_SELECTOR values are valid, or what VRAM is required. The docs are the contract.
Naming caveat. The same model can appear under different slugs across NVIDIA's catalogs: support-matrix label (e.g., "Magpie TTS Multilingual"),
CONTAINER_ID, NVCF function name (ai-magpie-tts-multilingual), and build.nvidia.com URL slug. Do not assume they match — cross-reference each from its own catalog. The NVCF Functions API is the only catalog you can hit programmatically; use it to resolve function-ids at runtime rather than hardcoding.
Workflow
Choose Option A (cloud) for quick testing without a GPU, or Option B (self-hosted) for production. Self-hosted follows a 4-step process: deploy container → verify health → list voices → synthesize speech.
Prerequisites
Complete
setup.mdbefore self-hosted deployment: NVIDIA Container Toolkit,NGC_API_KEYexported, Docker logged in tonvcr.ioCloud-hosted inference:
pip install -U nvidia-riva-clientand a validNVIDIA_API_KEYNot sure which TTS model to use? Run
model-selection.mdfirst
Instructions
For cloud synthesis: install nvidia-riva-client, set NVIDIA_API_KEY, fetch the model's function-id from its build.nvidia.com API page, and run talk.py against grpc.nvcf.nvidia.com:443 with --use-ssl.
For self-hosted: fetch the current CONTAINER_ID and NIM_TAGS_SELECTOR from the support matrix, then follow Steps 1–4 below.
For runtime feature questions (voice list, SSML, streaming format): fetch or open the customization page from the routing table above before answering — feature support is per-model and changes per release.
Option A — Cloud-Hosted Inference (build.nvidia.com)
Setup: pip install -U nvidia-riva-client, then clone https://github.com/nvidia-riva/python-clients and cd into it.
Auth: Set NVIDIA_API_KEY — either a build.nvidia.com personal key, or an NGC personal key with the Cloud Functions scope enabled (the same NGC key you use for docker login nvcr.io). Most users export the same value to both NVIDIA_API_KEY and NGC_API_KEY.
Server: grpc.nvcf.nvidia.com:443 — always pass --use-ssl.
Function ID lookup (JSON, scriptable, no hardcoding):
NVCF_FUNCTIONS_JSON=$(mktemp)
trap 'rm -f "$NVCF_FUNCTIONS_JSON"' EXIT
curl -fsS -H "Authorization: Bearer $NVIDIA_API_KEY" \
--output "$NVCF_FUNCTIONS_JSON" \
"https://api.nvcf.nvidia.com/v2/nvcf/functions?visibility=public,authorized"
python3 - "$NVCF_FUNCTIONS_JSON" <<'PY'
import json
import re
import sys
pat = re.compile(r'magpie|tts', re.I)
with open(sys.argv[1], encoding="utf-8") as response:
functions = json.load(response).get('functions', [])
for f in functions:
if f.get('status') == 'ACTIVE' and pat.search(f.get('name','')):
print(f['id'], f['name'])
PYPick the id of the function whose name matches your model.
Function IDs and versionId rotate per release — never hardcode them; always resolve fresh via this API.
For interactive browsing only: https://build.nvidia.com/<org>/<model>/api. That page is JS-rendered and not suitable for non-browser fetch tools.
Synthesize speech:
python python-clients/scripts/tts/talk.py \
--server grpc.nvcf.nvidia.com:443 --use-ssl \
--metadata function-id "<FUNCTION_ID>" \
--metadata authorization "Bearer $NVIDIA_API_KEY" \
--language-code <LANG_CODE> \
--text "Hello from NVIDIA TTS." \
--voice "<VOICE_NAME>" \
--output audio.wavSecurity note:
$NVIDIA_API_KEYpassed as a command-line argument is visible in process listings and shell history. Prefix the command with a space (HISTCONTROL=ignorespace) or store the key in a file withchmod 600and reference it at runtime.
List available voices: add --list-voices (drop --text, --voice, --output).
Option B — Self-Hosted TTS NIM Deployment
For TTS self-hosting, use the TTS support matrix to confirm the voice-capable model, deployment profile, and current GPU requirement before Step 1.
Step 1 — Deploy the Container
Fetch the current CONTAINER_ID and NIM_TAGS_SELECTOR for your chosen model from the support matrix.
export CONTAINER_ID=<container-id-from-support-matrix>
export NIM_TAGS_SELECTOR="<selector-from-support-matrix>"
export LOCAL_NIM_CACHE=~/.cache/nim
mkdir -p $LOCAL_NIM_CACHE
sudo chown 1000:1000 $LOCAL_NIM_CACHE
docker run -it --rm --name=$CONTAINER_ID \
--runtime=nvidia \
--gpus '"device=0"' \
--shm-size=8GB \
-e NGC_API_KEY \
-e NIM_TAGS_SELECTOR \
-e NIM_HTTP_API_PORT=9000 \
-e NIM_GRPC_API_PORT=50051 \
-p 9000:9000 \
-p 50051:50051 \
-v $LOCAL_NIM_CACHE:/opt/nim/.cache \
nvcr.io/nim/nvidia/$CONTAINER_ID:latestFor a specific batch size, append it to NIM_TAGS_SELECTOR: name=<model>,batch_size=32.
Security note:
NGC_API_KEYpassed via-e NGC_API_KEYinherits from the shell environment. For production, use Docker secrets or a secrets manager.
Step 2 — Verify Readiness
If you started the container yourself, the HTTP probe is enough:
curl -fsS http://localhost:9000/v1/health/ready # expect {"status":"ready"}If a container was already running when you arrived (shared dev box, mystery process), the HTTP check is not sufficient — a host-mapped gRPC port can route to a container with nothing bound inside, and connections silently drop mid-RPC. Confirm a TTS model is actually being served with this inline probe (needs only pip install nvidia-riva-client):
python3 - <<'PY'
import sys, riva.client
from riva.client.proto.riva_tts_pb2 import RivaSynthesisConfigRequest
auth = riva.client.Auth(uri="0.0.0.0:50051")
try:
cfg = riva.client.SpeechSynthesisService(auth).stub.GetRivaSynthesisConfig(
RivaSynthesisConfigRequest(), metadata=auth.get_auth_metadata())
except Exception as e:
print(f"UNHEALTHY: {e}"); sys.exit(2)
if not cfg.model_config:
print("UNHEALTHY: server responded but exposes no TTS models"); sys.exit(2)
print(f"OK: {len(cfg.model_config)} model(s)")
for m in cfg.model_config:
voices = m.parameters.get("voice_name", "")
langs = m.parameters.get("language_code", "")
print(f" - {m.model_name} [{langs}] voices={voices}")
PYAn empty model list or UNAVAILABLE: Socket closed means the server is not actually running TTS — restart the NIM rather than continuing.
Step 3 — List Available Voices
Voice names and pattern conventions vary per model — always discover at runtime:
gRPC:
python3 python-clients/scripts/tts/talk.py \
--server 0.0.0.0:50051 \
--list-voicesHTTP:
curl -sS http://localhost:9000/v1/audio/list_voices | python3 -m json.toolUse the voice names returned by the running NIM rather than memorized strings — they may change between model versions.
Step 4 — Run Speech Synthesis
Quick path — inline (no separate scripts, no upstream coupling)
This recipe uses only the nvidia-riva-client pip package — no python-clients clone, no docker exec, no vendored scripts. It travels with this SKILL.md, so any update to the skill includes the latest recipe.
Cloud — discover function-id, then synthesize:
NVCF_FUNCTIONS_JSON=$(mktemp)
trap 'rm -f "$NVCF_FUNCTIONS_JSON"' EXIT
curl -fsS -H "Authorization: Bearer $NVIDIA_API_KEY" \
--output "$NVCF_FUNCTIONS_JSON" \
"https://api.nvcf.nvidia.com/v2/nvcf/functions?visibility=public,authorized"
FID=$(python3 - "$NVCF_FUNCTIONS_JSON" <<'PY'
import json
import sys
with open(sys.argv[1], encoding="utf-8") as response:
functions = json.load(response).get('functions', [])
for f in functions:
if f.get('status') == 'ACTIVE' and f.get('name','').removeprefix('ai-') == 'magpie-tts-multilingual':
print(f['id']); break
PY
)
test -n "$FID" || { echo "No matching active NVCF function found" >&2; exit 1; }
# Replace VOICE with a value returned by --list-voices.
TEXT="Hello from NVIDIA TTS." OUT=out.wav SERVER=grpc.nvcf.nvidia.com:443 \
VOICE="<voice-name-from-list-voices>" FID=$FID python3 - <<'PY'
import os, wave, riva.client
server = os.environ["SERVER"]
is_cloud = "nvcf" in server
md = None
if is_cloud:
md = [["function-id", os.environ["FID"]],
["authorization", f"Bearer {os.environ['NVIDIA_API_KEY']}"]]
auth = riva.client.Auth(uri=server, use_ssl=is_cloud, metadata_args=md)
tts = riva.client.SpeechSynthesisService(auth)
sr = 44100
resp = tts.synthesize(
text=os.environ["TEXT"],
voice_name=os.environ["VOICE"],
language_code="en-US",
encoding=riva.client.AudioEncoding.LINEAR_PCM,
sample_rate_hz=sr,
)
with wave.open(os.environ["OUT"], "wb") as w:
w.setnchannels(1); w.setsampwidth(2); w.setframerate(sr)
w.writeframes(resp.audio)
print(f"wrote {os.environ['OUT']} ({len(resp.audio)} bytes @ {sr} Hz)")
PYSelf-hosted: drop FID=... and set SERVER=0.0.0.0:50051 — the heredoc auto-skips the cloud metadata. To discover voices, see Step 3's probe output or use the list_voices HTTP endpoint.
Alternative — upstream python-clients CLI
https://github.com/nvidia-riva/python-clients ships canonical talk.py and realtime_tts_client.py. Useful for richer CLI flags or interactive exploration:
PY_CLIENTS=~/.cache/riva-skills/python-clients
[ -d "$PY_CLIENTS" ] || git clone --depth 1 https://github.com/nvidia-riva/python-clients "$PY_CLIENTS"
python3 "$PY_CLIENTS/scripts/tts/talk.py" \
--server grpc.nvcf.nvidia.com:443 --use-ssl \
--metadata function-id "$FID" \
--metadata authorization "Bearer $NVIDIA_API_KEY" \
--text "Hello." --voice "<voice-name-from-list-voices>" \
--output out.wavNote.
python-clientstags are stale (last tag isr2.19.0while pip ships much newer) — always usemain, whichgit clone --depth 1pulls by default. Ifmainbriefly outpaces your installednvidia-riva-clientand a script fails withImportError, fall back to the inline Quick path above (it depends only on the pip package).
Offline Synthesis (Full Audio in One Response)
gRPC:
python3 python-clients/scripts/tts/talk.py \
--server 0.0.0.0:50051 \
--language-code <LANG_CODE> \
--text "Deploy and run speech synthesis with NVIDIA TTS NIM." \
--voice <VOICE_NAME> \
--output output.wavHTTP:
curl -sS http://localhost:9000/v1/audio/synthesize --fail-with-body \
-F language=<LANG_CODE> \
-F text="Deploy and run speech synthesis with NVIDIA TTS NIM." \
-F voice=<VOICE_NAME> \
--output output.wavStreaming Synthesis (Lower Latency, Audio Chunks)
gRPC:
python3 python-clients/scripts/tts/talk.py \
--server 0.0.0.0:50051 \
--language-code <LANG_CODE> \
--text "..." \
--voice <VOICE_NAME> \
--stream \
--output output.wavHTTP (returns raw LPCM, not WAV — wrap with sox):
curl -sS http://localhost:9000/v1/audio/synthesize_online --fail-with-body \
-F language=<LANG_CODE> \
-F text="..." \
-F voice=<VOICE_NAME> \
-F sample_rate_hz=22050 \
--output output.raw
sox -b 16 -e signed -c 1 -r 22050 output.raw output.wavWebSocket / Realtime API
For OpenAI-realtime-compatible WebSocket TTS sessions, the realtime API has its own request / response shape and custom_configuration keys. Fetch the realtime API reference cited in the routing table for current event names, payload schemas, and supported keys.
python3 python-clients/scripts/tts/realtime_tts_client.py \
--server localhost:9000 \
--language-code <LANG_CODE> \
--text "..." \
--voice <VOICE_NAME> \
--output output.wavHelm Deployment (Kubernetes)
# custom-values.yaml
image:
repository: nvcr.io/nim/nvidia/<container-id>
pullPolicy: IfNotPresent
tag: latest
nim:
ngcAPISecret: ngc-api
imagePullSecrets:
- name: ngc-secret
envVars:
NIM_TAGS_SELECTOR: "<selector-from-support-matrix>"helm install riva-tts <chart> -f custom-values.yamlKey Parameters for talk.py
| Parameter | Description | Default |
|---|---|---|
--server | gRPC endpoint | 0.0.0.0:50051 |
--text | Text to synthesize | — |
--voice | Voice name (discover via --list-voices) | First available |
--language-code | Language code (e.g., en-US) | en-US |
--output / -o | Output WAV file | output.wav |
--stream | Enable streaming | false |
--sample-rate-hz | Output sample rate | 44100 |
--list-voices | List voices then exit | — |
For the full flag list (and any per-model behavior), see the customization page or run talk.py --help.
Examples
Cloud synthesis (replace <FUNCTION_ID> and <VOICE_NAME> with values fetched from the model's build.nvidia.com page and --list-voices):
python python-clients/scripts/tts/talk.py \
--server grpc.nvcf.nvidia.com:443 --use-ssl \
--metadata function-id "<FUNCTION_ID>" \
--metadata authorization "Bearer $NVIDIA_API_KEY" \
--text "Hello from NVIDIA TTS." \
--voice "<VOICE_NAME>" \
--output audio.wavSelf-hosted offline synthesis:
python3 python-clients/scripts/tts/talk.py \
--server 0.0.0.0:50051 \
--text "Deploy speech synthesis with NVIDIA TTS NIM." \
--voice <VOICE_NAME> \
--output output.wavRuntime feature lookup — agent flow: When a user asks "does Magpie support SSML?" or "what voices are available for English?", the agent should:
Fetch or open the customization page (or the support matrix for voice lists)
Answer based on the fetched content
Do not answer feature/voice questions from this skill's text alone.
Troubleshooting
gRPC 4 MB limit — if synthesized audio exceeds 4 MB, switch to
--streamor use the WebSocket client.HTTP streaming returns raw LPCM — not a WAV file; use
soxto convert.Voice name not recognized — voice strings are case-sensitive and per-model. Always run
--list-voicesagainst the running NIM rather than copying from documentation.Function-id rejected by cloud — fetch the model's current API page on build.nvidia.com; function IDs rotate.
Limitations
x86_64 architecture only — ARM is not supported
Self-hosted deployment requires an NVIDIA AI Enterprise license
Cloud-hosted inference requires an active
NVIDIA_API_KEYand internet accessgRPC responses are limited to 4 MB — long synthesis requests must use streaming or be chunked
HTTP streaming returns raw LPCM (not WAV) — requires client-side wrapping
Voice names are case-sensitive
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an API key, Needs Python
Security
What our scanner noticed· Medium risk
- Large base64-encoded blobs
- Instructions that use the network
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Nemotron Speech Team
- Publisher
- NVIDIA (Official)
- Distributed by
- NVIDIA
- Source
- NVIDIA/skills · skills/nemotron-speech · commit fce3cca
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE-APACHE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Nemotron Speech Team or NVIDIA.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download nemotron-speech.zip