VaniAgent Hindi TTS
A six-voice Hindi and Hinglish deployment kit from VaniAgent. It packages the original Hima Hindi presets behind VaniAgent actor names and provides CUDA, CPU ONNX, native Linux streaming, and browser runtimes. VaniAgent Voice AI Studio offers voice models, fine-tuning, and dedicated GPU infrastructure in India.
Listen to the six actors
The files below are 24 kHz mono synthetic speech. The short Hindi and Hinglish prompts are shared across actors. The listening gallery plays the CUDA-rendered samples.
| Actor | Original Hima preset | CPU Hinglish | CUDA Hindi | CUDA Hinglish |
|---|---|---|---|---|
| Aarohi | Meera | WAV | WAV | WAV |
| Ira | Sneha | WAV | WAV | WAV |
| Kavya | Nandini | WAV | WAV | WAV |
| Aditya | Siddharth | WAV | WAV | WAV |
| Arjun | Ishaan | WAV | WAV | WAV |
| Rohan | Nikhil | WAV | WAV | WAV |
Downloads and runtime
| Environment | Package and behavior |
|---|---|
| NVIDIA GPU server | CUDA launcher downloads the pinned upstream PyTorch model and requires CUDA. |
| Linux and Windows CPU | ONNX kit downloads the pinned original INT8 graphs and verifies their checksums. |
| Linux live streaming | Full kit includes the native AVX2 build, PCM stream, and reusable worker. |
| Browser | Full kit includes Vani Hindi Studio, a browser-local WebAssembly app. Use the included local server or an HTTPS host that supports cross-origin isolation. |
To render from a CUDA-enabled Linux environment, install a CUDA-enabled build of PyTorch for your NVIDIA driver, then run from the repository root.
python -m pip install -r cuda/requirements-gpu.txt
python cuda/gpu_tts.py --actor Aarohi --text "हाँ जी, बोलिए।" --output hello.wav
Serve on an NVIDIA GPU
Run python cuda/serve_gpu.py from the repository root after installing the CUDA dependencies above. The service keeps the model on CUDA and listens on 127.0.0.1:8791. Call GET /voices to list actors or POST /tts with UTF-8 JSON fields text and voice. A successful response contains a 24 kHz mono WAV. Put authentication and TLS in front of the loopback service if your deployment serves remote clients.
The CUDA HTTP service passed six distinct actor requests on a Kaggle Tesla T4. Median complete loopback response time was 392 ms for the short test sentence. See the HTTP check. The public listening gallery serves recorded samples and allocates no inference hardware.
GPU validation
On a Kaggle NVIDIA Tesla T4 with PyTorch 2.11.0 and CUDA 13.0, the launcher completed 36 CUDA requests across six voices and three prompts. Median time to complete short-reply PCM was 393 ms, and overall median RTF was 0.277. Peak allocated CUDA memory was about 638 MiB. The benchmark used batch size one with the model loaded and includes the synthesis call and CUDA synchronization. See the raw measurements.
CPU performance
On the same Kaggle Xeon at 2.20 GHz, with both runtimes loaded and the six actors tested on short Hindi, longer Hindi, and Hinglish, the native four-thread worker delivered first PCM in a median 351 ms on short replies. Median RTF was 0.750 across 18 requests, with zero simulated playback gaps. Two-thread ONNX delivered complete short-reply PCM in a median 631 ms, with 0.407 RTF across the prompt set. On the tested Windows i5-7200U laptop, one-thread ONNX finished short replies in a median 901 ms. These are local measurements. RTF is generation time divided by audio duration, so lower is faster.
Technical articles
- Hindi and Hinglish text-to-speech with six voices covers runtimes, sample prompts, and audio evaluation.
- Benchmarking Hindi TTS for voice agents explains first audio, playback gaps, and real-time factor using the published measurements.
Model provenance
Built on Prahaladha Hima Hindi, its Hindi ONNX export, and its browser assets. The published kit contains inference wrappers, build files, audio samples, and benchmarks. The wrappers fetch the upstream weights at pinned revisions under the upstream terms. VaniAgent actor names are aliases for the original speaker presets.
This Hub repository hosts files and documentation. Run inference on your own hardware or in the browser.
Model tree for VaniAgent/Vani-Hindi-TTS
Base model
Prahaladha/hima-tts-nano-hi