mcpField
S
speech-to-text

speech-to-text

github.com/magentosh生産性442 回インストール12 週間前に更新
リポジトリ

speech-to-text について

inference.sh のモデルで音声を文字起こしする belt コマンドラインスキルです。会議やポッドキャスト、インタビュー、字幕制作向けに、タイムスタンプや英語への翻訳、動画音声の処理に対応します。

主な機能

  1. 01Whisper と ElevenLabs モデルでの文字起こし
  2. 02タイムスタンプ付きセグメントの指定
  3. 03英語への翻訳
  4. 04Whisper の 99 以上の言語に対応
  5. 05動画音声の文字起こしワークフロー

活用シーン

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

インストール

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

$npx skills add https://github.com/magentosh/superpowers --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_url": "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_url": "https://meeting.mp3"}'
タイムスタンプ付き
belt app sample infsh/fast-whisper-large-v3 --save input.json

# {
#   "audio_url": "https://podcast.mp3",
#   "timestamps": true
# }

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

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

ワークフロー:動画字幕

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

# 2. Use transcript for captions
belt app run infsh/caption-videos --input '{
  "video_url": "https://video.mp4",
  "captions": "<transcript-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

ドキュメント

コメント