zai-tts
由 al-one 提供
Git & GitHub简介
Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text.
描述
该技能的功能
Converts text or text files to speech audio using the GLM-TTS service via `uvx zai-tts`. Supports three built-in voices and custom cloned voices, with adjustable speed and volume. Output is saved as a WAV file.
Custom voice cloning support lets you use your own voice profiles, which most CLI TTS tools don't offer.
何时使用
- Listening to long articles during a commute
- Converting meeting notes to audio for hands-free review
- Reading code documentation aloud while away from the screen
- Generating narration from written drafts for a podcast
- Accessibility playback for users who prefer audio over reading
示例工作流
User asks: Read this paragraph aloud
- 1
Receives the text to convert
- 2
Selects a voice (e.g., system_002 for Chloe)
- 3
Runs
uvx zai-tts -t "<text>" -o /tmp/output.wav --voice system_002 - 4
Returns or plays the generated WAV file
A WAV audio file containing the spoken text
前置要求
- Account on audio.z.ai
- ZAI_AUDIO_USERID: retrieved from audio.z.ai localStorage via browser DevTools console
- ZAI_AUDIO_TOKEN: retrieved from audio.z.ai localStorage via browser DevTools console
- uvx (uv toolchain): install via brew or pip
安装
clawhub install al-one/zai-tts运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。