# Send Qwen3-tts to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "qwen-tts",
    "name": "Qwen3-tts",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/paki81/qwen-tts",
    "canonicalUrl": "https://clawhub.ai/paki81/qwen-tts",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/qwen-tts",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qwen-tts",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "MAC_SERVER.md",
      "README.md",
      "SKILL.md",
      "VOICEDESIGN.md",
      "scripts/server.py",
      "scripts/setup.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/qwen-tts"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/qwen-tts",
    "downloadUrl": "https://openagent3.xyz/downloads/qwen-tts",
    "agentUrl": "https://openagent3.xyz/skills/qwen-tts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/qwen-tts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/qwen-tts/agent.md"
  }
}
```
## Documentation

### Qwen TTS

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

### Quick Start

Generate speech from text:

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

With voice instruction (emotion/style):

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

Different speaker:

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

### Installation

First-time setup (one-time):

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

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:

scripts/tts.py "Benvenuto nel futuro del text-to-speech" -l Italian -o welcome.wav

With emotion/instruction:

scripts/tts.py "Sono molto felice di vederti!" -i "Parla con entusiasmo e gioia" -l Italian -o happy.wav

Different speaker:

scripts/tts.py "Hello, nice to meet you" -s Ryan -l English -o ryan.wav

List available speakers:

scripts/tts.py --list-speakers

### Available Speakers

The CustomVoice model includes 9 premium voices:

SpeakerLanguageDescriptionVivianChineseBright, slightly edgy young femaleSerenaChineseWarm, gentle young femaleUncle_FuChineseSeasoned male, low mellow timbreDylanChinese (Beijing)Youthful Beijing male, clearEricChinese (Sichuan)Lively Chengdu male, huskyRyanEnglishDynamic male, rhythmicAidenEnglishSunny American maleOno_AnnaJapanesePlayful female, light nimbleSoheeKoreanWarm 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:

# 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:

# 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:

# 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)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: paki81
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/qwen-tts)
- [Send to Agent page](https://openagent3.xyz/skills/qwen-tts/agent)
- [JSON manifest](https://openagent3.xyz/skills/qwen-tts/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/qwen-tts/agent.md)
- [Download page](https://openagent3.xyz/downloads/qwen-tts)