TTS

Convert text into speech with configurable voices, formats, and streaming.

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/nidhalboumaiza-0/PFA_2026_E-Sante --skill tts-nidhalboumaiza-0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/nidhalboumaiza-0/PFA_2026_E-Sante/tree/main/admin-e-sante/skills/TTS
Command: npx skills add https://github.com/nidhalboumaiza-0/PFA_2026_E-Sante --skill tts-nidhalboumaiza-0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The TTS Skill enables developers to convert written text into natural-sounding speech for applications, content creation, and accessibility needs, reducing manual narration effort.

Core Features & Use Cases

  • Voice options with adjustable speed and volume to tailor narration for different audiences.
  • Output formats including wav, mp3, and pcm, with streaming support when needed.
  • Use cases include dynamic content narration, learning apps, and accessibility tools that require audio rendering.

Quick Start

Use the TTS skill to generate audio by creating a ZAI instance and calling zai.audio.tts.create with input text, a chosen voice, and desired speed and format. For example, generate a WAV file from a short sentence and save it to disk.

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 application?

To convert text to speech in a backend service, you can use this Skill to generate natural-sounding audio by calling the audio generation API with input text, a chosen voice, and desired speed parameters.

What audio formats can I generate using text-to-speech?

Text-to-speech generation supports multiple audio output formats including WAV, MP3, and PCM, with additional streaming options available for continuous audio generation workflows.

Can I adjust the voice speed and volume for generated speech?

Yes, you can adjust both voice speed and volume when generating speech, allowing you to tailor the narration output for different audiences and application requirements.

Does this text-to-speech solution support streaming audio output?

Yes, the text-to-speech solution supports streaming options, enabling real-time audio delivery alongside standard file-based output formats for batch generation workflows.

Are there input length limits when generating natural speech from text?

Yes, the text-to-speech generation enforces input length and sample rate constraints to ensure optimal performance and natural speech quality across different voice options.