TTS

Convert text to speech with customizable voice, speed, and output format.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Cao-R/SamrtEmailAssistantAgents --skill tts-cao-r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/Cao-R/SamrtEmailAssistantAgents/tree/main/skills/TTS
Command: npx skills add https://github.com/Cao-R/SamrtEmailAssistantAgents --skill tts-cao-r

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides text-to-speech capabilities to convert written text into natural-sounding spoken audio, enhancing accessibility and communication in various applications.

Core Features & Use Cases

  • Text-to-Speech: Convert any given text into spoken words.
  • Multiple Voices: Utilize various voice types for personalized audio output.
  • Custom Speed and Volume: Adjust the speaking rate and loudness according to user preferences.
  • Output Formats: Save the generated audio in WAV, PCM, or MP3 format.
  • Use Case: For creating audio books, automated announcements, or voice-enabled applications, this Skill can provide natural-sounding voices.

Quick Start

Use the TTS skill to generate an audio file from the text 'Hello, world!' with voice 'tongtong' and save it as 'greeting.wav'.

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 the output as an audio file?

To convert text to speech, you input your text and specify a voice type, speaking speed, and output format like WAV, PCM, or MP3. The generated spoken audio is then saved directly as an audio file for applications like audiobooks.

Can I customize the voice and speaking speed for speech synthesis?

Yes, speech synthesis supports customizable parameters for voice, speaking speed, and volume. You can adjust the speaking rate and loudness according to user preferences to generate personalized audio output.

What audio formats can I export when generating voice from text?

When generating voice from text, you can export the resulting audio in WAV, PCM, or MP3 formats. This allows flexible integration into various multimedia production and voice-enabled applications.

Do I need Python and specific dependencies to use text-to-speech functionality?

Yes, you need Python 3.10 or higher and the z-ai-web-dev-sdk installed and configured to use this text-to-speech functionality. The skill provides both a CLI and SDK for seamless integration into your environment.

What is the best way to integrate text-to-speech into an automated announcement system?

The best way to integrate text-to-speech into automated announcements is using the provided SDK or CLI. You convert your text scripts into natural-sounding spoken words, adjusting the voice and speed to fit the announcement context.

Are there limitations on voice types available for audio conversion?

The skill utilizes various predefined voice types like 'tongtong' for audio conversion. While you can select from multiple available voices and adjust speed or volume, custom voice cloning is not supported within this text-to-speech framework.