qwen-voice
Use when cloud Qwen speech features are needed through DashScope, especially for ASR transcription of user audio, Telegram voice-note TTS, or reusable clone-voice workflows that local-only TTS does not cover.
How do I install this agent skill?
npx skills add https://github.com/ada20204/qwen-voice --skill qwen-voiceIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides voice-to-text (ASR) and text-to-voice (TTS) capabilities using Alibaba Cloud's Qwen models via the DashScope API. It handles audio processing safely with ffmpeg and manages its own dependencies in a virtual environment. No security issues were detected.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerwarn
11/11 files flagged
What does this agent skill do?
qwen-voice
Use DashScope-backed Qwen speech scripts for cloud ASR, cloud TTS, and optional voice cloning.
Use this skill for the right cases
- Prefer this skill when local-whisper or local-qwen-tts is not the right fit.
- Use it for cloud ASR on audio files.
- Use it for cloud TTS voices or clone profiles.
- Expect network/API dependency and possible cost.
Config
Expect DASHSCOPE_API_KEY in one of:
~/.config/qwen-voice/.env<repo>/.qwen-voice/.env
If missing, stop and report missing auth instead of guessing.
Scripts
# ASR
python3 "$SKILL_DIR/scripts/qwen_asr.py" --in /path/to/audio.ogg
python3 "$SKILL_DIR/scripts/qwen_asr.py" --in /path/to/audio.ogg --timestamps --chunk-sec 3
# preset voice TTS
python3 "$SKILL_DIR/scripts/qwen_tts.py" --text '你好,我是 Pi。' --voice Cherry --out /tmp/out.ogg
# create clone profile
python3 "$SKILL_DIR/scripts/qwen_voice_clone.py" --in ./voice_sample.ogg --name george --out "$SKILL_DIR/work/qwen-voice/george.voice.json"
# synthesize with clone profile
python3 "$SKILL_DIR/scripts/qwen_tts.py" --text '你好,我是 George。' --voice-profile "$SKILL_DIR/work/qwen-voice/george.voice.json" --out /tmp/out.ogg
Operational notes
- Output
.oggis suitable for Telegram voice notes. - Timestamp mode is chunk-based, not true word alignment.
- Scripts create work files and venv inside
$SKILL_DIR/work/(not the project's cwd). - Prefer sending larger batched requests over many tiny API calls when possible.
Failure rules
- If API key is missing: report auth missing.
- If audio conversion fails: check ffmpeg/input format first.
- If clone creation fails: separate clone-profile failure from normal preset-voice TTS.
- If ASR works but timestamps are messy: report they are coarse chunk timestamps, not exact word timings.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/ada20204/qwen-voice/qwen-voice">View qwen-voice on skillZs</a>