ai-voice-cloning について
inference.sh の belt コマンドラインから複数のテキスト読み上げモデルを使うスキルです。ナレーションや会話、長文音声の作成に向けて、声や速度、感情表現を調整できます。
主な機能
- 01複数のテキスト読み上げモデルの実行
- 02声の選択と速度調整
- 03感情と話し方の制御
- 04長文の分割処理
- 05音声と動画のワークフロー連携
活用シーン
- 01動画ナレーションや広告音声の作成
- 02オーディオブックやポッドキャストの生成
- 03講座ナレーションやアクセシビリティ音声の制作
- 04電話システムのメッセージ作成
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ magentosh/ superpowers --skill ai-voice-cloningインストール後、Claude Code で/ai-voice-cloningを入力して読み込まれたか確認します。
詳細
belt CLI スキルをインストール:
npx skills add belt-sh/cli
AI 音声生成
inference.sh CLI を使って自然な AI 音声を生成します。

クイックスタート
inference.sh CLI(
belt)が必要です。インストール手順
belt login
# Generate speech
belt app run infsh/kokoro-tts --input '{
"prompt": "Hello! This is an AI-generated voice that sounds natural and engaging.",
"voice": "af_sarah"
}'
利用可能なモデル
| モデル | アプリ ID | 最適な用途 |
|---|---|---|
| Inworld TTS-2 | inworld/text-to-speech-2 | 100 以上の言語、感情・非言語表現の制御、読み上げモード |
| Inworld TTS 1.5 Max | inworld/text-to-speech-1-5-max | 低レイテンシ(<200ms)、15 言語 |
| Inworld TTS 1.5 Mini | inworld/text-to-speech-1-5-mini | 超低レイテンシ(約 120ms)、15 言語、リアルタイム |
| ElevenLabs TTS | elevenlabs/tts | 高品質、22 種類以上の音声、32 言語 |
| ElevenLabs Voice Changer | elevenlabs/voice-changer | 既存の音声録音を変換 |
| Kokoro TTS | infsh/kokoro-tts | 自然な音声、複数の音声 |
| DIA | infsh/dia-tts | 会話調、表現豊か |
| Chatterbox | infsh/chatterbox | カジュアル、エンターテインメント |
| Higgs | infsh/higgs-tts | プロフェッショナルなナレーション |
| VibeVoice | infsh/vibevoice | 豊かな感情表現 |
Kokoro 音声ライブラリ
アメリカ英語
| 音声 ID | 性別 | スタイル |
|---|---|---|
af_sarah | 女性 | 温かみがあり、親しみやすい |
af_nicole | 女性 | プロフェッショナル |
af_sky | 女性 | 若々しい |
am_michael | 男性 | 威厳がある |
am_adam | 男性 | 会話調 |
am_echo | 男性 | 明瞭でニュートラル |
イギリス英語
| 音声 ID | 性別 | スタイル |
|---|---|---|
bf_emma | 女性 | 洗練された |
bf_isabella | 女性 | 温かみがある |
bm_george | 男性 | クラシック |
bm_lewis | 男性 | モダン |
Inworld TTS — キャラクターと感情を表現する音声
Inworld TTS-2 は、キャラクター音声、ゲーム、表現豊かな音声向けに特化して設計されています。感情、非言語表現、読み上げ方を制御するには、本文中に [brackets] を使います。
# Expressive character voice with emotion steering
belt app run inworld/text-to-speech-2 --input '{
"text": "[excited] Oh wow, you actually found the ancient artifact! [gasp] I cannot believe it... [whisper] We need to keep this between us.",
"voice_id": "Sarah",
"delivery_mode": "CREATIVE"
}'
# Calm narrator with stable delivery
belt app run inworld/text-to-speech-2 --input '{
"text": "The sun set behind the mountains, casting long shadows across the valley. A new chapter was about to begin.",
"voice_id": "Sarah",
"delivery_mode": "STABLE"
}'
読み上げモード: STABLE(一貫性があり、ナレーション向け)、BALANCED(自然、デフォルト)、CREATIVE(表現豊かで、キャラクター向け)
制御例: [laugh]、[sigh]、[whisper]、[excited]、[sad]、[angry]、[pause]、[gasp]
組み込み音声(15 言語で 271 種類以上):Sarah、Alex、Ashley、Dennis、Hana、Blake、Luna、Clive など。すべての音声はInworld TTS Playgroundで確認できます。
リアルタイム/会話型 AI 向け低レイテンシ
# Ultra-fast response for chatbots & game NPCs (~120ms)
belt app run inworld/text-to-speech-1-5-mini --input '{
"text": "Welcome, traveler. What brings you to our village?",
"voice_id": "Clive",
"speaking_rate": 0.9
}'
音声生成の例
プロフェッショナルなナレーション
belt app run infsh/kokoro-tts --input '{
"prompt": "Welcome to our quarterly earnings call. Today we will discuss the financial performance and strategic initiatives for the past quarter.",
"voice": "am_michael",
"speed": 1.0
}'
会話調
belt app run infsh/dia-tts --input '{
"text": "Hey, so I was thinking about that project we discussed. What if we tried a different approach?",
"voice": "conversational"
}'
オーディオブックのナレーション
belt app run infsh/kokoro-tts --input '{
"prompt": "Chapter One. The morning mist hung low over the valley as Sarah made her way down the winding path. She had been walking for hours.",
"voice": "bf_emma",
"speed": 0.9
}'
動画のナレーション
belt app run infsh/kokoro-tts --input '{
"prompt": "Introducing the next generation of productivity. Work smarter, not harder.",
"voice": "af_nicole",
"speed": 1.1
}'
ポッドキャストのホスト
belt app run infsh/kokoro-tts --input '{
"prompt": "Welcome back to Tech Talk! Im your host, and today we are diving deep into the world of artificial intelligence.",
"voice": "am_adam"
}'
複数の音声による会話
# Generate dialogue between two speakers
# Speaker 1
belt app run infsh/kokoro-tts --input '{
"prompt": "Have you seen the latest AI developments? Its incredible how fast things are moving.",
"voice": "am_michael"
}' > speaker1.json
# Speaker 2
belt app run infsh/kokoro-tts --input '{
"prompt": "I know, right? Just last week I tried that new image generator and was blown away.",
"voice": "af_sarah"
}' > speaker2.json
# Merge conversation
belt app run infsh/media-merger --input '{
"audio_files": ["<speaker1-url>", "<speaker2-url>"],
"crossfade_ms": 300
}'
長文コンテンツ
チャンク処理
5000 文字を超えるコンテンツは、チャンクに分割します。
# Process long text in chunks
TEXT="Your very long text here..."
# Split and generate
# Chunk 1
belt app run infsh/kokoro-tts --input '{
"prompt": "<chunk-1>",
"voice": "bf_emma"
}' > chunk1.json
# Chunk 2
belt app run infsh/kokoro-tts --input '{
"prompt": "<chunk-2>",
"voice": "bf_emma"
}' > chunk2.json
# Merge chunks
belt app run infsh/media-merger --input '{
"audio_files": ["<chunk1-url>", "<chunk2-url>"],
"crossfade_ms": 100
}'
音声と動画のワークフロー
動画にナレーションを追加する
# 1. Generate voiceover
belt app run infsh/kokoro-tts --input '{
"prompt": "This stunning footage shows the beauty of nature in its purest form.",
"voice": "am_michael"
}' > voiceover.json
# 2. Merge with video
belt app run infsh/media-merger --input '{
"video_url": "https://your-video.mp4",
"audio_url": "<voiceover-url>"
}'
トーキングヘッド動画を作成する
# 1. Generate speech
belt app run infsh/kokoro-tts --input '{
"prompt": "Hi, Im excited to share some updates with you today.",
"voice": "af_sarah"
}' > speech.json
# 2. Animate with avatar
belt app run bytedance/omnihuman-1-5 --input '{
"image_url": "https://portrait.jpg",
"audio_url": "<speech-url>"
}'
速度とペース
| 速度 | 効果 | 用途 |
|---|---|---|
| 0.8 | ゆっくり、落ち着いた | オーディオブック、瞑想 |
| 0.9 | ややゆっくり | 教育、チュートリアル |
| 1.0 | 標準 | 一般用途 |
| 1.1 | やや速い | コマーシャル、活気のある表現 |
| 1.2 | 速い | 短いアナウンス |
# Slow narration
belt app run infsh/kokoro-tts --input '{
"prompt": "Take a deep breath. Let yourself relax.",
"voice": "bf_emma",
"speed": 0.8
}'
ペース調整の句読点
句読点を使って、話すリズムを調整します。
| 句読点 | 効果 |
|---|---|
ピリオド . | 長めの間 |
カンマ , | 短い間 |
... | 長い間 |
! | 強調 |
? | 疑問のイントネーション |
- | 短い区切り |
belt app run infsh/kokoro-tts --input '{
"prompt": "Wait... Did you hear that? Something is coming. Something big!",
"voice": "am_adam"
}'
ベストプラクティス
- 内容に合わせて声の雰囲気を調整する - ビジネスにはプロフェッショナルな声、ソーシャル向けにはカジュアルな声を使います
- 句読点を使う - 句点や読点で話すテンポを調整します
- 文を短くする - 生成しやすく、より自然に聞こえます
- さまざまな声を試す - 同じテキストでも、声によって聞こえ方が変わります
- 速度を調整する - 少し遅めのほうが自然に聞こえることがよくあります
- 長いコンテンツを分割する - 一貫性を保つため、いくつかのチャンクに分けて処理します
使用例
- ナレーション - 動画のナレーション、コマーシャル
- オーディオブック - 書籍全編のナレーション
- ポッドキャスト - AI のホストやゲスト
- E ラーニング - コースのナレーション
- アクセシビリティ - スクリーンリーダー向けコンテンツ
- IVR - 電話システムのメッセージ
- コンテンツのローカライズ - 翻訳と音声化
関連スキル
# ElevenLabs TTS (premium, 22+ voices)
npx skills add inference-sh/skills@elevenlabs-tts
# ElevenLabs voice changer (transform recordings)
npx skills add inference-sh/skills@elevenlabs-voice-changer
# All TTS models
npx skills add inference-sh/skills@text-to-speech
# Podcast creation
npx skills add inference-sh/skills@ai-podcast-creation
# AI avatars
npx skills add inference-sh/skills@ai-avatar-video
# Video generation
npx skills add inference-sh/skills@ai-video-generation
# Full platform skill
npx skills add inference-sh/skills@infsh-cli
オーディオアプリを閲覧:belt app list --category audio
コメント
Markdown 対応