mcpField
A
ai-voice-cloning

ai-voice-cloning

github.com/qu-skillsクリエイティブ・メディア443 回インストール12 週間前に更新
リポジトリ

ai-voice-cloning について

ai-voice-cloning は、belt コマンドラインから複数のテキスト読み上げモデルを使って音声を生成するスキルです。音声の選択、速度調整、感情表現の制御に対応し、ナレーション、会話、動画の吹き替えに使えます。

主な機能

  1. 01belt から複数の TTS モデルを実行
  2. 02声の選択と読み上げ速度の調整
  3. 03Inworld TTS の感情と話し方の制御
  4. 04複数の声による会話の生成
  5. 05長文の分割処理
  6. 06生成音声を動画ワークフローで利用

活用シーン

  1. 01動画ナレーションや広告音声の作成
  2. 02オーディオブックや学習教材の読み上げ
  3. 03ポッドキャストの司会音声や会話の生成
  4. 04アクセシビリティや IVR 向け音声の作成

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/qu-skills/superpowers --skill ai-voice-cloning

インストール後、Claude Code で/ai-voice-cloningを入力して読み込まれたか確認します。

詳細

belt CLI スキルをインストール: npx skills add belt-sh/cli

AI 音声生成

inference.sh CLI を使って自然な AI 音声を生成します。

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-2inworld/text-to-speech-2100 以上の言語、感情・非言語表現の制御、読み上げモード
Inworld TTS 1.5 Maxinworld/text-to-speech-1-5-max低レイテンシ(<200ms)、15 言語
Inworld TTS 1.5 Miniinworld/text-to-speech-1-5-mini超低レイテンシ(約 120ms)、15 言語、リアルタイム
ElevenLabs TTSelevenlabs/tts高品質、22 種類以上の音声、32 言語
ElevenLabs Voice Changerelevenlabs/voice-changer既存の音声録音を変換
Kokoro TTSinfsh/kokoro-tts自然な音声、複数の音声
DIAinfsh/dia-tts会話調、表現豊か
Chatterboxinfsh/chatterboxカジュアル、エンターテインメント
Higgsinfsh/higgs-ttsプロフェッショナルなナレーション
VibeVoiceinfsh/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"
}'

ベストプラクティス

  1. 内容に合わせて声の雰囲気を調整する - ビジネスにはプロフェッショナルな声、ソーシャル向けにはカジュアルな声を使います
  2. 句読点を使う - 句点や読点で話すテンポを調整します
  3. 文を短くする - 生成しやすく、より自然に聞こえます
  4. さまざまな声を試す - 同じテキストでも、声によって聞こえ方が変わります
  5. 速度を調整する - 少し遅めのほうが自然に聞こえることがよくあります
  6. 長いコンテンツを分割する - 一貫性を保つため、いくつかのチャンクに分けて処理します

使用例

  • ナレーション - 動画のナレーション、コマーシャル
  • オーディオブック - 書籍全編のナレーション
  • ポッドキャスト - 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

コメント