paki81
作者:paki81更新日 2026-05-11qwen-tts@clawhub_paki81/qwen-tts
音声処理#Text-to-Speech#Audio

AlphaMoatによると、2026-09時点でQwen3-ttsのダウンロード数は4,960、スター数は12で、AIスキル全体5,078件中1,860位、デザイン・メディアでは512件中184位です。

インストール数
486
ダウンロード数
4960
スター数
12
総合順位
#1,860
全体の上位 37% · デザイン・メディアの上位 36%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗15143599-
SkillHub ↗486496012—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

言語と話者の選択、感情や話し方の指示、WAV 出力に対応します。初回は依存関係の導入とモデル取得が必要で、その後は端末でオフライン合成できます。文書は CPU または CUDA による処理を説明しています。 ローカルファイルには個人情報やプロジェクト情報が含まれる場合があります。作業ディレクトリへのアクセスを制限し、処理対象を確認してください。

資料公開日 2026-10-27

できること

  • 設定後はクラウド音声要求なしで用意した文章を音声にする

使う場面

  • ローカルの音声合成や音声メッセージ用の音声が必要なとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

指定した言語と話者でこの文章を落ち着いた口調で読み、WAV ファイルに保存して。

月次の推移

ダウンロード数4960
3321420150812026-03 · ダウンロード数 34422026-05 · ダウンロード数 38752026-07 · ダウンロード数 42182026-08 · ダウンロード数 43612026-09 · ダウンロード数 496026-0326-09
スター数12
911122026-03 · スター数 92026-05 · スター数 122026-07 · スター数 122026-08 · スター数 122026-09 · スター数 1226-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094960—12
2026-084361+3.4%12
2026-074218—12
2026-053875—12
2026-033442—9

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.5 KB・ClawHub v1.0.0
---
name: qwen-tts
description: Local text-to-speech using Qwen3-TTS-12Hz-1.7B-CustomVoice. Use when generating audio from text, creating voice messages, or when TTS is requested. Supports 10 languages including Italian, 9 premium speaker voices, and instruction-based voice control (emotion, tone, style). Alternative to cloud-based TTS services like ElevenLabs. Runs entirely offline after initial model download.
---

# Qwen TTS

Local text-to-speech using Hugging Face's Qwen3-TTS-12Hz-1.7B-CustomVoice model.

## Quick Start
すべて表示(全 167 行)

Generate speech from text:

```bash
scripts/tts.py "Ciao, come va?" -l Italian -o output.wav
```

With voice instruction (emotion/style):

```bash
scripts/tts.py "Sono felice!" -i "Parla con entusiasmo" -l Italian -o happy.wav
```

Different speaker:

```bash
scripts/tts.py "Hello world" -s Ryan -l English -o hello.wav
```

## Installation

**First-time setup** (one-time):

```bash
cd skills/public/qwen-tts
bash scripts/setup.sh
```

This creates a local virtual environment and installs `qwen-tts` package (~500MB).

**Note:** First synthesis downloads ~1.7GB model from Hugging Face automatically.

## Usage

```bash
scripts/tts.py [options] "Text to speak"
```

### Options

- `-o, --output PATH` - Output file path (default: qwen_output.wav)
- `-s, --speaker NAME` - Speaker voice (default: Vivian)
- `-l, --language LANG` - Language (default: Auto)
- `-i, --instruct TEXT` - Voice instruction (emotion, style, tone)
- `--list-speakers` - Show available speakers
- `--model NAME` - Model name (default: CustomVoice 1.7B)

### Examples

**Basic Italian speech:**
```bash
scripts/tts.py "Benvenuto nel futuro del text-to-speech" -l Italian -o welcome.wav
```

**With emotion/instruction:**
```bash
scripts/tts.py "Sono molto felice di vederti!" -i "Parla con entusiasmo e gioia" -l Italian -o happy.wav
```

**Different speaker:**
```bash
scripts/tts.py "Hello, nice to meet you" -s Ryan -l English -o ryan.wav
```

**List available speakers:**
```bash
scripts/tts.py --list-speakers
```

## Available Speakers

The CustomVoice model includes 9 premium voices:

| Speaker | Language | Description |
|---------|----------|-------------|
| Vivian | Chinese | Bright, slightly edgy young female |
| Serena | Chinese | Warm, gentle young female |
| Uncle_Fu | Chinese | Seasoned male, low mellow timbre |
| Dylan | Chinese (Beijing) | Youthful Beijing male, clear |
| Eric | Chinese (Sichuan) | Lively Chengdu male, husky |
| Ryan | English | Dynamic male, rhythmic |
| Aiden | English | Sunny American male |
| Ono_Anna | Japanese | Playful female, light nimble |
| Sohee | Korean | Warm female, rich emotion |

**Recommendation:** Use each speaker's native language for best quality, though all speakers support all 10 languages (Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian).

## Voice Instructions

Use `-i, --instruct` to control emotion, tone, and style:

**Italian examples:**
- `"Parla con entusiasmo"`
- `"Tono serio e professionale"`
- `"Voce calma e rilassante"`
- `"Leggi come un narratore"`

**English examples:**
- `"Speak with excitement"`
- `"Very happy and energetic"`
- `"Calm and soothing voice"`
- `"Read like a narrator"`

## Integration with OpenClaw

The script outputs the audio file path to stdout (last line), making it compatible with OpenClaw's TTS workflow:

```bash
# OpenClaw captures the output path
cd skills/public/qwen-tts
OUTPUT=$(scripts/tts.py "Ciao" -s Vivian -l Italian -o /tmp/audio.wav 2>/dev/null)
# OUTPUT = /tmp/audio.wav
```

## Performance

- **GPU (CUDA):** ~1-3 seconds for short phrases
- **CPU:** ~10-30 seconds for short phrases  
- **Model size:** ~1.7GB (auto-downloads on first run)
- **Venv size:** ~500MB (installed dependencies)

## Troubleshooting

**Setup fails:**
```bash
# Ensure Python 3.10-3.12 is available
python3.12 --version

# Re-run setup
cd skills/public/qwen-tts
rm -rf venv
bash scripts/setup.sh
```

**Model download slow/fails:**
```bash
# Use mirror (China mainland)
export HF_ENDPOINT=https://hf-mirror.com
scripts/tts.py "Test" -o test.wav
```

**Out of memory (GPU):**
The model automatically falls back to CPU if GPU memory insufficient.

**Audio quality issues:**
- Try different speaker: `--list-speakers`
- Add instruction: `-i "Speak clearly and slowly"`
- Check language matches text: `-l Italian` for Italian text

## Model Details

- **Model:** Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice
- **Source:** Hugging Face (https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice)
- **License:** Check model card for current license terms
- **Sample Rate:** 16kHz
- **Output Format:** WAV (uncompressed)

デザイン・メディアの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。