vits_tts

Run offline text-to-speech with a standalone VITS/Piper model.

Source file

rust-api-examples/examples/vits_tts.rs

How to run

The recommended way is to use the helper script(s) provided in rust-api-examples because they download or point to the required models and test files automatically when needed.

Helper script(s)

run-vits-en.sh

./run-vits-en.sh

run-vits-de.sh

./run-vits-de.sh

Run it directly with Cargo

cargo run --example vits_tts -- --help

Notes

  • The repository currently provides helper scripts for English and German Piper models.