tts-skill

star 360

Multi-engine text-to-speech skill. Supports Qwen3-TTS local voice cloning, VoiceCraft online TTS, and OpenAI TTS.

aiskillstore By aiskillstore schedule Updated 1/29/2026

name: tts-skill description: Multi-engine text-to-speech skill. Supports Qwen3-TTS local voice cloning, VoiceCraft online TTS, and OpenAI TTS.

๐ŸŽ™๏ธ TTS-Skill โ€” Multi-Engine Text-to-Speech

TTS-Skill provides a single entrypoint for generating speech using multiple backends, with consistent output naming and progress feedback for long-running jobs.

Engines

  • qwen3-tts: local voice cloning with a reference audio + transcript
  • edge-tts: online voices with speed/pitch/style controls
  • openai-tts: OpenAI speech generation via API

Command Syntax

/tts-skill [engine] [text] --voice [voice-keyword] [other options]

If you use the Python entrypoint:

python tts-skill.py [engine] [text] --voice [voice-keyword]

Text Input

Pass text as a positional argument, or use --text-file / -f to read from a file.

Example:

python tts-skill.py qwen3-tts --text-file "input\\text.txt" --voice ๅฏ’ๅ†ฐๅฐ„ๆ‰‹

Notes:

  • --text-file supports relative and absolute paths; relative paths are resolved from your current working directory
  • If both positional text and --text-file are provided, --text-file takes priority
  • UTF-8 is recommended (UTF-8 BOM is supported); on decode error it falls back to GBK

You can also call engine scripts directly:

python engines/qwen3-tts-cli.py --text-file "input\\text.txt" --voice ๅฏ’ๅ†ฐๅฐ„ๆ‰‹
python engines/edge-tts-cli.py --text-file "input\\text.txt" --voice xiaoxiao
python engines/openai-tts-cli.py --text-file "input\\text.txt" --voice alloy

Local Voice Assets (Qwen3-TTS)

To add a clone voice, put a matching pair of files in assets/:

assets/Lei.wav
assets/Lei.txt

Supported audio formats: .wav, .mp3, .m4a, .flac.

Then:

python tts-skill.py qwen3-tts "ๆต‹่ฏ•ๆ–‡ๆœฌ" --voice Lei

Output

If --output is not provided:

  • Output directory: output/
  • Filename pattern: YYYYMMDD_HHMMSS_<first-6-chars>.<ext>

Progress & Timing (Qwen3-TTS)

Qwen3-TTS jobs print a live progress bar with ETA. After completion, tts-skill.py prints:

  • total runtime
  • total chars and Chinese chars
  • average seconds per Chinese character (or per char if no Chinese)

Project Layout

tts-skill/
โ”œโ”€โ”€ .trae/
โ”‚   โ””โ”€โ”€ plans/
โ”œโ”€โ”€ assets/
โ”‚   โ”œโ”€โ”€ Lei.txt
โ”‚   โ”œโ”€โ”€ ๅฏ’ๅ†ฐๅฐ„ๆ‰‹.txt
โ”‚   โ”œโ”€โ”€ ๅธƒ้‡Œ่Œจ.txt
โ”‚   โ””โ”€โ”€ ่ตตไฟก.txt
โ”œโ”€โ”€ engines/
โ”‚   โ”œโ”€โ”€ edge-tts-cli.py
โ”‚   โ”œโ”€โ”€ edge-tts.config
โ”‚   โ”œโ”€โ”€ openai-tts-cli.py
โ”‚   โ”œโ”€โ”€ openai-tts.config
โ”‚   โ”œโ”€โ”€ qwen3-tts-cli.py
โ”‚   โ””โ”€โ”€ qwen3-tts.config
โ”œโ”€โ”€ input/
โ”‚   โ””โ”€โ”€ text.txt
โ”œโ”€โ”€ output/
โ”œโ”€โ”€ tts-skill.py
โ”œโ”€โ”€ INSTALL.md
โ”œโ”€โ”€ INSTALL.zh-CN.md
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ README.zh-CN.md
โ”œโ”€โ”€ SKILL.md
โ””โ”€โ”€ SKILL.zh-CN.md

Chinese Spec

See SKILL.zh-CN.md.

Install via CLI
npx skills add https://github.com/aiskillstore/marketplace --skill tts-skill
Repository Details
star Stars 360
call_split Forks 29
navigation Branch main
article Path SKILL.md
More from Creator
aiskillstore
aiskillstore Explore all skills →