What problem does it solve?
This Skill enables backend applications to convert text into natural-sounding speech using the z-ai-web-dev-sdk, enabling accessible content creation and dynamic audio generation.
Core Features & Use Cases
- Text-to-speech generation with multiple voices and adjustable speed and output formats.
- Suitable for accessibility tools, voice-enabled apps, e-learning narration, and media content production.
- Example task: generate a narration audio file from article text for a podcast or online course.
Quick Start
Install the SDK in your backend project, create a ZAI instance, call zai.audio.tts.create with input text, then save the resulting audio buffer to a file (e.g., output.wav). See the tts.ts sample script in the skill's scripts directory for a ready-to-run example.