zai-tts
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZai-TTS
Zai-TTS
Generate high-quality text-to-speech audio using GLM-TTS service via the command.
Before using this skill, you need to configure the environment variables and ,
which can be obtained by login and executing in the console via F12 Developer Tools.
uvx zai-ttsZAI_AUDIO_USERIDZAI_AUDIO_TOKENaudio.z.ailocalStorage['auth-storage']通过命令调用GLM-TTS服务生成高质量的文本转语音音频。
使用该功能前,你需要配置环境变量和,
可通过登录,按下F12打开开发者工具,在控制台执行获取。
uvx zai-ttsZAI_AUDIO_USERIDZAI_AUDIO_TOKENaudio.z.ailocalStorage['auth-storage']Usage
使用方法
shell
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wavshell
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wavChanging speed, volume
调整语速、音量
shell
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wav --speed 1.5
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wav --speed 1.5 --volume 2shell
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wav --speed 1.5
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wav --speed 1.5 --volume 2Changing the voice
更换语音
shell
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wav --voice system_002shell
uvx zai-tts -t "{msg}" -o {tempdir}/{filename}.wav --voice system_002Available voices
可用语音列表
system_001system_002system_003Retrieve all available voices using shell commands:
shell
uvx zai-tts -lIf you want to use custom voices, please complete voice cloning on the website first.
audio.z.aisystem_001system_002system_003通过以下Shell命令获取所有可用语音:
shell
uvx zai-tts -l若要使用自定义语音,请先在网站完成语音克隆。
audio.z.ai