LinuxCommandLibrary

tts

Synthesize speech on the command line.

TLDR

Run text-to-speech with the default models, writing the output to "tts_output.wav"

$ tts --text "[text]"
copy


List provided models
$ tts --list_models
copy


Query info for a model by idx
$ tts --model_info_by_idx [model_type/model_query_idx]
copy


Query info for a model by name
$ tts --model_info_by_name [model_type/language/dataset/model_name]
copy


Run a text-to-speech model with its default vocoder model
$ tts --text "[text]" --model_name [model_type/language/dataset/model_name]
copy


Run your own text-to-speech model (using the Griffin-Lim vocoder)
$ tts --text "[text]" --model_path [path/to/model.pth] --config_path [path/to/config.json] --out_path [path/to/file.wav]
copy

Copied to clipboard