Agent skill · Content & Marketing

TTS

Implement text-to-speech (TTS) capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to convert text into natural-sounding speech, create audio content, build voice-enabled applications, or generate spoken audio files. Supports multiple voices, adjustable speed, and various audio formats.

jjyaoaogithub.com/jjyaoaoGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add jjyaoao/HelloAgents --skill TTS --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 20 KB
Bundled scripts: yes
Path: skills/TTS/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,615
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# TTS (Text to Speech) Skill This skill guides the implementation of text-to-speech (TTS) functionality using the z-ai-web-dev-sdk package, enabling conversion of text into natural-sounding speech audio. ## Skills Path **Skill Location**: `{project_path}/skills/TTS` This skill is located at the above path in your project. **Reference Scripts**: Example test scripts are available in the `{Skill Location}/scripts/` directory for quick testing and reference. See `{Skill Location}/scripts/tts.ts` for a working example. ## Overview Text-to-Speech allows you to build applications that generate spoken audio from text input, supporting various voices, speeds, and output formats for diverse use cases. **IMPORTANT**: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code. ## API Limitations and Constraints Before implementing TTS functionality, be aware of these important limitations: ### Input Text Constraints - **Maximum length**: 1024 characters per request - Text exceeding this limit must be split into smaller chunks ### Audio Parameters - **Speed range**: 0.5 to 2.0 - 0.5 = half speed (slower) - 1.0 = normal speed (default) - 2.0 = double speed (faster) - *

What's inside
Steps it walks through
  1. Skills Path
  2. Overview
  3. API Limitations and Constraints
  4. Input Text Constraints
  5. Audio Parameters
  6. Format and Streaming
  7. Best Practice for Long Text
  8. Prerequisites
  9. CLI Usage (For Simple Tasks)
  10. Basic TTS
  11. Different Voices and Speed
  12. Different Output Formats
  13. Streaming Output
  14. CLI Parameters
Ships with 2 files
  • LICENSE.txt
  • tts.ts
Commands it runs
Convert text to speech (default WAV format)
z-ai tts --input "Hello, world" --output ./hello.wav
Using short options
z-ai tts -i "Hello, world" -o ./hello.wav
Use specific voice
z-ai tts -i "Welcome to our service" -o ./welcome.wav --voice tongtong
Adjust speech speed (0.5-2.0)
z-ai tts -i "This is faster speech" -o ./fast.wav --speed 1.5
Slower speech
z-ai tts -i "This is slower speech" -o ./slow.wav --speed 0.8
More from HelloAgents
All skills →
About this skill
What does the TTS skill do?

Implement text-to-speech (TTS) capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to convert text into natural-sounding speech, create audio content, build voice-enabled applications, or generate spoken audio files. Supports multiple voices, adjustable speed, and various audio formats.

How do I install it?

Run `npx skills add jjyaoao/HelloAgents --skill TTS --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jjyaoao/HelloAgents, a repository with 2,615 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going