Serbian StyleTTS2-76M

An independently trained 76M-parameter Serbian TTS model based on StyleTTS2. Inspired by hexgrad's Kokoro, it uses a compact inference pipeline with precomputed, interchangeable voice presets. This release includes nine presets. The runtime accepts Serbian Latin or Cyrillic text and returns mono audio at 24 kHz. It also accepts the model's character-level phoneme codes for pronunciation experiments.

Preset Voice Example
dragana Dragana (recorded voice) WAV
fisherman fisherman WAV
businessman businessman WAV
student student WAV
vendor vendor WAV
librarian librarian WAV
girl girl WAV
instructor instructor WAV
presenter presenter WAV

Run locally

Download the repository, open a terminal in the downloaded directory, and run the following commands with Python 3.11.

python -m pip install -r requirements.txt
python serbian_tts.py --voice dragana --text "Danas je lepo vreme za setnju." --output speech.wav

Add --device cpu to force CPU execution. For CUDA, install a PyTorch build compatible with your GPU. Use --phonemes in place of --text to enter model phoneme codes directly. See vocabulary.json for the inventory.

Training data and voice provenance

The model was trained from scratch on Dragana and eight synthetic voices. Dragana's recordings and transcripts come from the Serbian Common Voice Style TTS Dataset by daremc86, released under CC BY 4.0. I filtered the recordings and normalized and phonemized the transcripts.

I generated eight voice references from text descriptions with Qwen3-TTS VoiceDesign (Apache 2.0), then used Seed-VC to transfer those voices onto Dragana's Serbian recordings.

License

The model weights, voice presets, and original release code are licensed under Apache 2.0. See NOTICE for attribution. Code derived from StyleTTS2 is under its original MIT license.

Acknowledgements

Thanks to hexgrad and the Kokoro team for releasing Kokoro-82M. Their approach to compact inference with precomputed, interchangeable voice presets inspired me to do this release.

Thanks to Aaron (Yinghao) Li and the StyleTTS2 contributors for the architecture and implementation this model builds on.

Downloads last month
48
Safetensors
Model size
75.9M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support