1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:42:08 +02:00
tldr/pages/common/tts.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

28 lines
799 B
Markdown

# tts
> Synthesize speech.
> More information: <https://github.com/coqui-ai/TTS#command-line-tts>.
- Run text-to-speech with the default models, writing the output to "tts_output.wav":
`tts --text "{{text}}"`
- List provided models:
`tts --list_models`
- Query info for a model by idx:
`tts --model_info_by_idx {{model_type/model_query_idx}}`
- Query info for a model by name:
`tts --model_info_by_name {{model_type/language/dataset/model_name}}`
- Run a text-to-speech model with its default vocoder model:
`tts --text "{{text}}" --model_name {{model_type/language/dataset/model_name}}`
- 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}}`