Skip to content
Back to skills

Tts Skill

ASecurity

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

  • 416 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
ai-agentspythonbashapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill tts-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tts Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tts Skill
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-tts-skill/badge)](https://www.skillsdirectory.com/skills/aiskillstore-tts-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

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

If you use the Python entrypoint:

```bash
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:

```bash
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:

```bash
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/`:

```text
assets/Lei.wav
assets/Lei.txt
```

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

Then:

```bash
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

```text
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](SKILL.zh-CN.md).

Files in this skill

  • INSTALL.md2.7 KB
  • README.md2 KB
  • SKILL.md2.9 KB
  • assets/Lei.txt41 B
  • assets/寒冰射手.txt605 B
  • assets/εΈƒι‡ŒθŒ¨.txt344 B
  • assets/θ΅΅δΏ‘.txt277 B
  • docs/CHANGELOG.md645 B
  • docs/INSTALL.zh-CN.md7.3 KB
  • docs/README.zh-CN.md7.1 KB
  • docs/SKILL.zh-CN.md6.7 KB
  • engines/edge-tts-cli.py10.5 KB
  • engines/edge-tts.config1.3 KB
  • engines/openai-tts-cli.py9.7 KB
  • engines/openai-tts.config1.7 KB
  • engines/qwen3-tts-cli.py18.3 KB
  • engines/qwen3-tts.config1.9 KB
  • input/text.txt27 B
  • skill-report.json13.2 KB
  • tts-skill.py11.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…