Vietnamese Text-to-Speech model with Voice Cloning capability, finetuned from
MiraTTS for Vietnamese language.
Vira-TTS is a neural TTS model that can synthesize natural Vietnamese speech from text while cloning the voice characteristics from a reference audio sample.
1from mira.model import MiraTTS
2
3# Model will be downloaded automatically
4mira_tts = MiraTTS('model_pretrained')
5
6# Provide reference audio for voice cloning
7reference_audio = "speaker.wav"
8text = "Xin chào, đây là giọng nói tiếng Việt."
9
10context_tokens = mira_tts.encode_audio(reference_audio)
11audio = mira_tts.generate(text, context_tokens)
12
13# Save output
14import soundfile as sf
15sf.write("output.wav", audio.float().cpu().numpy(), 48000)
1@misc{vira-tts,
2 author = {Dinh Thuan},
3 title = {Vira-TTS: Vietnamese Text-to-Speech with Voice Cloning},
4 year = {2025},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/dolly-vn/Vira-TTS}
7}