TTS

Generate speech from text via the z-ai-web-dev-sdk with configurable voices, speeds, and formats.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/mattismyname3011/school-council-election --skill tts-mattismyname3011
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/mattismyname3011/school-council-election/tree/main/skills/TTS
Command: npx skills add https://github.com/mattismyname3011/school-council-election --skill tts-mattismyname3011

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables turning written text into natural-sounding speech for applications like voice assistants, accessibility tools, and narrated content, reducing the need for manual voice recording and localization.

Core Features & Use Cases

  • Multi-voice TTS: Generate speech using a variety of voices to fit characters and contexts.
  • Configurable Speech: Adjust speed and volume; choose output formats (wav, mp3, pcm) and optional streaming.
  • Real-world Use: Narrate e-learning modules, generate audio for articles, or power dynamic IVR responses.

Quick Start

Use the TTS skill to convert the text "Hello world" to speech and save it as output.wav using the default voice and speed.

Frequently Asked Questions about TTS

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert text to speech in a backend API route?

To convert text to speech in a backend API route, you can automate generation from text input using various voices, speeds, and output formats like WAV, MP3, or PCM. This targets microservices and batch processing scenarios directly.

What audio formats and sample rates are supported for text-to-speech generation?

Text-to-speech generation supports WAV, MP3, and PCM output formats with a 24000 Hz sample rate. You can also configure speech speed ranging from 0.5 to 2.0 and volume from 0 to 10.

Can I use streaming for text-to-speech audio output?

Streaming text-to-speech audio output is available as an optional feature, but it has specific streaming limitations. It is designed strictly for backend-only usage within your API routes or microservices architecture.

What is the maximum character limit for text-to-speech input?

The maximum character limit for text-to-speech input is 1024 characters per request. This constraint ensures reliable processing for applications like voice assistants, accessibility tools, and narrated content generation.

Does this text-to-speech SDK support multiple voices for dynamic IVR responses?

Yes, the text-to-speech SDK supports multi-voice generation, allowing you to select different voices to fit characters and contexts. This enables real-world uses like powering dynamic IVR responses and narrating e-learning modules.