TTS

Convert text into spoken audio with configurable speed, volume, and wav, mp3, or pcm outputs.

4|1|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/Sspanwar31/saanify-workspace-new- --skill tts-sspanwar31
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/Sspanwar31/saanify-workspace-new-/tree/main/skills/TTS
Command: npx skills add https://github.com/Sspanwar31/saanify-workspace-new- --skill tts-sspanwar31

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

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.

Core Features & Use Cases

  • Multi-voice text-to-speech generation with support for different languages/tones.
  • Adjustable speed and optional volume control for dynamic narration.
  • Output formats including wav, mp3, and pcm for flexible playback and processing.
  • Use cases include accessibility narration, on-demand audio content, IVR prompts, and voice-driven interfaces.

Quick Start

Convert the provided text to speech using the default voice and save it as an audio file.

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 and save it as an mp3 file in a backend service?

You can convert text to speech into an mp3 file using the TTS Skill via the z-ai-web-dev-sdk, which supports wav, mp3, and pcm output formats for backend-safe audio generation and on-demand playback.

Can I adjust the speed and volume for text-to-speech narration?

Yes, you can adjust text-to-speech narration by setting speed between 0.5 and 2.0 and volume up to 10, enabling dynamic control over audio pacing and output levels for voice-enabled applications.

What audio formats are supported for generating spoken audio from text?

The supported audio formats for generating spoken audio from text are wav, mp3, and pcm, providing flexible options for audio playback, processing, and integration into IVR prompts or accessibility tools.

Does the z-ai-web-dev-sdk support multiple voices for text-to-speech conversion?

Yes, the z-ai-web-dev-sdk supports multi-voice text-to-speech conversion with different languages and tones, enabling natural-sounding speech generation tailored for accessibility narration and dynamic content.

Are there input length limits when converting text to natural speech?

Yes, input length limits are enforced when converting text to natural speech to ensure backend-safe usage, maintaining stable performance for voice-enabled apps and dynamic content generation.