Text To Speech

👤 dinghaibin 📦 v1.0.0 ⭐ 3.9 ⬇️ 586 下载
🎨 设计多媒体 免费

📖 技能介绍


name: text-to-speech description: Convert text to speech audio files. Use when user needs to create audio from text, generate voiceovers, create podcasts, or convert articles to audio.


Text to Speech

Convert text to speech audio files.

Quick Start

# Convert text to speech
python scripts/tts.py "Hello world" --output hello.mp3

Usage

python scripts/tts.py TEXT [OPTIONS]

Options:
  --output PATH      Output audio file
  --voice VOICE      Voice name (male, female, neutral)
  --speed RATE       Speaking speed (0.5-2.0)
  --lang LANG       Language code (en, zh, ja, etc.)
  --list-voices     List available voices

Examples

# Basic conversion
python scripts/tts.py "Hello world" --output hello.mp3

# Chinese text
python scripts/tts.py "你好世界" --lang zh-CN --output chinese.mp3

# Different speed
python scripts/tts.py "Hello" --speed 1.5 --output fast.mp3
python scripts/tts.py "Hello" --speed 0.8 --output slow.mp3

# List voices
python scripts/tts.py --list-voices

Features

  • Multiple language support

    来源于7w4.net。

  • Adjustable speaking speed
  • Voice selection
  • Audio format output
  • SSML support

🤖 AI 评测

这个文本转语音工具质量中等偏上,能基本满足将文字转为语音的需求。它支持多种语言切换,操作简单,文档说明清晰。优点是免费、无需复杂配置即可使用。不足之处在于语音速度调节和音色选择功能实际未生效,中文支持可能不够自然,且在非Mac系统上需要额外安装依赖库。对于偶尔使用的中等复杂度需求足够,但专业音频制作场景可能不太够用。

📊 多维度评分

适应性4.3
规范性3.6
有效性4.1
可靠性3.7
可信度4.3

📁 包含文件 (3 个)

📄 SKILL.md 1.1 KB
📄 _meta.json 144 B
📄 scripts/tts.py 3 KB