usage: tts_cli.py [-h] [-l] [-i FILE] [-t TYPE] [-v VOICE]
TTS Cli
options:
-h, --help show this help message and exit
-l, --list 列出可用的语音
-i, --inputfile, --input-file FILE
要转换的文本文件
-t, --tts-type TYPE TTS 类型(默认:edge)
-v, --voice-type, --voice VOICE
语音名称;使用 -l 查看可用值
常用短参数示例:
python src/tts_cli.py -l
python src/tts_cli.py -i ./tests/test.txt -v "Microsoft Yunjian Online (Natural) - Chinese (Mainland)"- 升级依赖库
- 支持 python=3.13