一键导入
tts
Convert text to speech using the tts CLI. Use when the user asks to read text aloud, generate audio, speak something, or convert text to speech.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert text to speech using the tts CLI. Use when the user asks to read text aloud, generate audio, speak something, or convert text to speech.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | tts |
| description | Convert text to speech using the tts CLI. Use when the user asks to read text aloud, generate audio, speak something, or convert text to speech. |
You have access to the tts CLI for text-to-speech with voice cloning, powered by Qwen3-TTS running locally.
When the user asks you to speak, read aloud, or generate audio from text, use the tts CLI via the Bash tool.
Speak text aloud (with streaming playback):
tts say "Text to speak"
Save to a WAV file:
tts say "Text to speak" --save output.wav --no-play
Speak and save simultaneously:
tts say "Text to speak" --save output.wav
Generate audio file (no playback):
tts generate "Text to speak" -o output.wav
| Flag | Description |
|---|---|
-v, --voice NAME | Use a specific cloned voice |
-l, --language CODE | Language code (default: en, also: zh, ja, ko, etc.) |
-m, --model SIZE | Model: 1.7B (quality) or 0.6B (speed) |
-i, --instruct TEXT | Speaking style instruction (e.g., "Speak slowly and calmly") |
-s, --save PATH | Save audio to WAV file |
--no-play | Don't play audio, only save |
--no-stream | Disable streaming (generate all then play) |
--seed INT | Random seed for reproducibility |
-f, --file PATH | Read text from file instead of argument |
tts voice list # List available voices
tts voice add recording.wav --text "transcript" --voice myvoice # Add a voice
tts voice default myvoice # Set default voice
tts voice info myvoice # Show voice details
echo "Hello world" | tts say
tts say for quick playback. Use tts generate only when the user explicitly wants a file without playback.--instruct "Speak at a moderate, natural pace" by default for a comfortable listening speed. Adjust the instruct text based on context:
"Speak clearly and at a normal pace""Speak at a slightly slower, clear pace for easy listening""Speak quickly", "Speak very slowly")"Speak slowly and calmly", "Speak quickly with excitement")tts say --file <path> or pipe the content.--instruct when the user describes a tone or speaking style (e.g., "read this excitedly", "speak in a calm voice").--language appropriately (zh for Chinese, ja for Japanese, ko for Korean, etc.)..wav format and suggest a descriptive filename based on the content.