tts-skill
Multi-engine text-to-speech skill. Supports Qwen3-TTS local voice cloning, VoiceCraft online TTS, and OpenAI TTS.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o tts-skill.zip https://jpskill.com/download/20942.zip && unzip -o tts-skill.zip && rm tts-skill.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/20942.zip -OutFile "$d\tts-skill.zip"; Expand-Archive "$d\tts-skill.zip" -DestinationPath $d -Force; ri "$d\tts-skill.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
tts-skill.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
tts-skillフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 6
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
🎙️ TTS-Skill — マルチエンジン テキスト読み上げ
TTS-Skill は、複数のバックエンドを使用して音声を生成するための単一のエントリポイントを提供し、長時間のジョブに対して一貫した出力命名と進捗フィードバックを提供します。
エンジン
- qwen3-tts: 参照オーディオとトランスクリプトによるローカル音声クローン
- edge-tts: 速度/ピッチ/スタイル制御を備えたオンライン音声
- openai-tts: API を介した OpenAI 音声生成
コマンド構文
/tts-skill [engine] [text] --voice [voice-keyword] [other options]
Python エントリポイントを使用する場合:
python tts-skill.py [engine] [text] --voice [voice-keyword]
テキスト入力
テキストを位置引数として渡すか、--text-file / -f を使用してファイルから読み込みます。
例:
python tts-skill.py qwen3-tts --text-file "input\\text.txt" --voice 寒冰射手
注:
--text-fileは相対パスと絶対パスをサポートします。相対パスは現在の作業ディレクトリから解決されます。- 位置テキストと
--text-fileの両方が指定された場合、--text-fileが優先されます。 - UTF-8 が推奨されます(UTF-8 BOM もサポートされています)。デコードエラーが発生した場合は GBK にフォールバックします。
エンジン スクリプトを直接呼び出すこともできます。
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
ローカル音声アセット (Qwen3-TTS)
クローン音声を追加するには、一致するファイルのペアを assets/ に配置します。
assets/Lei.wav
assets/Lei.txt
サポートされているオーディオ形式:.wav、.mp3、.m4a、.flac。
その後:
python tts-skill.py qwen3-tts "テストテキスト" --voice Lei
出力
--output が指定されていない場合:
- 出力ディレクトリ:
output/ - ファイル名パターン:
YYYYMMDD_HHMMSS_<最初の6文字>.<拡張子>
進捗とタイミング (Qwen3-TTS)
Qwen3-TTS ジョブは、ETA 付きのライブ進捗バーを表示します。完了後、tts-skill.py は以下を出力します。
- 総実行時間
- 総文字数と中国語文字数
- 中国語文字あたりの平均秒数(中国語がない場合は文字あたり)
プロジェクトレイアウト
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
中国語仕様
SKILL.zh-CN.md を参照してください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
🎙️ 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
/tts-skill [engine] [text] --voice [voice-keyword] [other options]
If you use the Python entrypoint:
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:
python tts-skill.py qwen3-tts --text-file "input\\text.txt" --voice 寒冰射手
Notes:
--text-filesupports relative and absolute paths; relative paths are resolved from your current working directory- If both positional text and
--text-fileare provided,--text-filetakes 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:
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/:
assets/Lei.wav
assets/Lei.txt
Supported audio formats: .wav, .mp3, .m4a, .flac.
Then:
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
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.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (2,940 bytes)
- 📎 assets/Lei.txt (41 bytes)
- 📎 assets/寒冰射手.txt (605 bytes)
- 📎 assets/布里茨.txt (344 bytes)
- 📎 assets/赵信.txt (277 bytes)
- 📎 README.md (2,098 bytes)