跳到正文
TakoAPI
返回技能列表

zai-tts

由 al-one 提供

Git & GitHub
156下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Receives the text to convert

  2. 2

    Selects a voice (e.g., system_002 for Chloe)

  3. 3

    Runs uvx zai-tts -t "<text>" -o /tmp/output.wav --voice system_002

  4. 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 或你在用的任意编程智能体里。

链接