mcpField
S
speech-to-text

speech-to-text

github.com/inference-sh生産性7901.1k 回インストール2 週間前に更新
リポジトリ

speech-to-text について

inference.sh アプリで音声を文字起こしする belt CLI スキルです。複数の Whisper および ElevenLabs モデルに対応し、タイムスタンプ付き出力や英語への翻訳を利用できます。

主な機能

  1. 01複数モデルでの文字起こし
  2. 02タイムスタンプ付き区間
  3. 03音声の英語翻訳
  4. 04検出言語を含む JSON 出力

活用シーン

  1. 01会議録音の文字起こし
  2. 02ポッドキャストのテキスト作成
  3. 03動画字幕の生成
  4. 04音声メモのテキスト化

インストール

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

$npx skills add https://github.com/inference-sh/skills --skill speech-to-text

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

詳細

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

音声テキスト変換

inference.sh CLI で音声をテキストに文字起こしします。

音声テキスト変換

クイックスタート

inference.sh CLI(belt)が必要です。インストール手順

belt login

belt app run infsh/fast-whisper-large-v3 --input '{"audio": "https://audio.mp3"}'

利用可能なモデル

モデルアプリ ID最適な用途
ElevenLabs Scribe v2elevenlabs/stt98%以上の精度、話者識別、90 以上の言語
Fast Whisper V3infsh/fast-whisper-large-v3高速な文字起こし
Whisper V3 Largeinfsh/whisper-v3-large最高精度

使用例

基本的な文字起こし
belt app run infsh/fast-whisper-large-v3 --input '{"audio": "https://meeting.mp3"}'
タイムスタンプ付き
belt app sample infsh/fast-whisper-large-v3 --save input.json

# {
#   "audio": "https://podcast.mp3",
#   "return_timestamps": "sentence"
# }

belt app run infsh/fast-whisper-large-v3 --input input.json
翻訳(英語)
belt app run infsh/whisper-v3-large --input '{
  "audio": "https://french-audio.mp3",
  "task": "translate"
}'
動画から
# Extract audio from video first
belt app run infsh/video-audio-extractor --input '{"video_file": "https://video.mp4"}' > audio.json

# Transcribe the extracted audio
belt app run infsh/fast-whisper-large-v3 --input '{"audio": "<audio-url>"}'

ワークフロー:動画字幕

# 1. Transcribe video audio
belt app run infsh/fast-whisper-large-v3 --input '{
  "audio": "https://video.mp4",
  "return_timestamps": "sentence"
}' > transcript.json

# 2. Pass the transcript segments as captions
belt app run infsh/caption-videos --input '{
  "video_file": "https://video.mp4",
  "segments": [{"start": 0.0, "end": 2.5, "text": "<segments-from-step-1>"}]
}'

対応言語

Whisper は、英語、スペイン語、フランス語、ドイツ語、イタリア語、ポルトガル語、中国語、日本語、韓国語、アラビア語、ヒンディー語、ロシア語など、99 以上の言語に対応しています。

使用例

  • 会議:録音を文字起こしします
  • ポッドキャスト:文字起こしを作成します
  • 字幕:動画の字幕を作成します
  • 音声メモ:検索可能なテキストに変換します
  • インタビュー:調査用に文字起こしします
  • アクセシビリティ:音声コンテンツを利用しやすくします

出力形式

次の内容を含む JSON を返します:

  • text:文字起こし全文
  • segments:タイムスタンプ付きのセグメント(指定した場合)
  • language:検出された言語

関連スキル

# ElevenLabs STT (98%+ accuracy, diarization)
npx skills add inference-sh/skills@elevenlabs-stt

# ElevenLabs TTS (reverse direction)
npx skills add inference-sh/skills@elevenlabs-tts

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# Text-to-speech (reverse direction)
npx skills add inference-sh/skills@text-to-speech

# Video generation (add captions)
npx skills add inference-sh/skills@ai-video-generation

# AI avatars (lipsync with transcripts)
npx skills add inference-sh/skills@ai-avatar-video

すべての音声アプリを表示:belt app list --category audio

ドキュメント

コメント