text-to-speech

Convert input text into speech using Edge TTS with script parsing.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/2670044605/agent-skills-hub --skill text-to-speech-2670044605
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-to-speech
Source: https://github.com/2670044605/agent-skills-hub/tree/main/skills/registry/upstream/wlzh-skills/text-to-speech
Command: npx skills add https://github.com/2670044605/agent-skills-hub --skill text-to-speech-2670044605

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires edge-tts, and includes scripts (resource) components.

What problem does it solve?

将文本转换为高质量语音,简化播客脚本转语音、情绪标记处理和后处理的工作流程。

Core Features & Use Cases

  • 脚本解析:自动移除时间戳、背景音乐注释、舞台指示和 Markdown 加粗标记,保留实际朗读文本
  • 多声音支持:18 种中文声音,覆盖男声与女声选项,支持自定义声音
  • 情绪标记/SSML:通过配置实现情绪处理和 SSML 支持
  • 后处理集成:可选调用 voice-changer.skill 进行变声处理
  • 高度可配置性:通过配置文件控制声音、速率、音调、音量和输出格式

Quick Start

将文本文件作为输入运行脚本以生成音频输出。

Frequently Asked Questions about text-to-speech

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a podcast script to speech using Edge TTS?

To convert a podcast script to speech, input the text file into the Edge TTS script. The synthesis process automatically parses the script, removing timestamps and background music annotations, and outputs natural-sounding audio.

Does edge-tts support Chinese voice options for text-to-speech?

Yes, edge-tts supports Chinese voice options with 18 distinct male and female voices. You can select and configure these specific voice outputs to read your text naturally.

Can I control the rate, pitch, and volume when converting text to speech?

Yes, you can control the rate, pitch, and volume when converting text to speech. The synthesis process provides a configuration file to adjust these audio parameters alongside the voice selection.

How does script parsing handle background music annotations and markdown formatting?

Script parsing automatically removes background music annotations, stage directions, and Markdown bold tags from the input. It retains only the actual read-aloud text to ensure clean speech synthesis.

What is the best way to apply voice changing post-processing after text-to-speech synthesis?

The best way to apply voice changing post-processing is to optionally call voice-changer.skill after synthesis. This integrated workflow takes the generated audio and applies additional voice modifications.

Do I need SSML to process emotional markers in text-to-speech?

You do not strictly need SSML to process emotional markers, but the workflow is SSML-ready. It handles emotional markers through configuration, allowing flexible processing during text-to-speech synthesis.