zai-tts
par al-one
Git & GitHubRésumé
Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text.
Description
Ce que fait ce skill
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.
Quand l'utiliser
- 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
Exemple de workflow
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
Prérequis
- 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
Installation
clawhub install al-one/zai-ttsExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.