TTS

Convert written text into speech audio using the z-ai-web-dev-sdk.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Lucmac667/Be-Ballenced-Dashboard --skill tts-lucmac667
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/Lucmac667/Be-Ballenced-Dashboard/tree/main/Be-Ballenced-Dashboard/skills/TTS
Command: npx skills add https://github.com/Lucmac667/Be-Ballenced-Dashboard --skill tts-lucmac667

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk.

What problem does it solve?

Convert written text into natural-sounding speech audio.

Core Features & Use Cases

  • Voice options: multiple voices, adjustable speed, and output formats
  • Backend integration: uses the z-ai-web-dev-sdk to generate speech on the server
  • Accessibility & narration: enables audio narration for articles, announcements, and chatbots
  • Use Case: convert articles or prompts into spoken content for podcasts or accessibility tools

Quick Start

Install the z-ai-web-dev-sdk in your Node.js project, implement a TTS call using the provided example, and run the script to generate an audio file in WAV, MP3, or PCM with your chosen 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 Node.js backend?

You can convert text to speech in a Node.js backend by installing the z-ai-web-dev-sdk and calling the TTS function to generate natural-sounding audio files in WAV, MP3, or PCM formats.

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

Text-to-speech audio generation supports WAV, MP3, and PCM output formats with a 24000 Hz sample rate, allowing you to save generated speech files with adjustable speed and volume controls.

Are there character limits when using z-ai-web-dev-sdk for voice narration?

Yes, the z-ai-web-dev-sdk enforces a 1024-character input limit for text-to-speech processing, meaning longer articles or prompts must be split into smaller chunks before generating audio.

Can I use text-to-speech for chatbots and virtual assistant voice interfaces?

Text-to-speech is suitable for voice-enabled interfaces like chatbots, virtual assistants, and IVR systems, providing natural-sounding spoken content with multiple voice options for backend services.

How do I adjust voice parameters like speed and volume for generated speech?

You can adjust voice parameters by configuring speed and volume controls within the z-ai-web-dev-sdk TTS call, selecting from multiple voices to customize the generated speech output.