mcpField
L
local-whisper

local-whisper

github.com/thinkfleetaiクリエイティブ・メディア0295 回インストール36 週間前に更新
リポジトリ

local-whisper について

local-whisper は OpenAI's Whisper を使うローカル音声文字起こしスキルです。モデルのダウンロード後はオフラインで動作し、モデルサイズやタイムスタンプ、JSON 出力を選べます。

主な機能

  1. 01モデル取得後のオフライン文字起こし
  2. 02Whisper モデルサイズの選択
  3. 03言語の自動検出または指定
  4. 04単語タイムスタンプと JSON 出力

活用シーン

  1. 01音声ファイルのローカル文字起こし
  2. 02タイムスタンプ付き文字起こしの生成
  3. 03小さいモデルで処理を高速化

インストール

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

$npx skills add https://github.com/thinkfleetai/thinkfleet-engine --skill local-whisper

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

詳細

ローカル Whisper STT

OpenAI の Whisper を使用したローカル音声文字起こしです。初回のモデルダウンロード後は完全にオフラインで動作します。

使用方法

# Basic
~/.thinkfleetbot/skills/local-whisper/scripts/local-whisper audio.wav

# Better model
~/.thinkfleetbot/skills/local-whisper/scripts/local-whisper audio.wav --model turbo

# With timestamps
~/.thinkfleetbot/skills/local-whisper/scripts/local-whisper audio.wav --timestamps --json

モデル

モデルサイズ備考
tiny39M最速
base74Mデフォルト
small244Mバランスが良好
turbo809M速度と品質が最高
large-v31.5GB精度が最大

オプション

  • --model/-m — モデルサイズ(デフォルト:base)
  • --language/-l — 言語コード(省略時は自動検出)
  • --timestamps/-t — 単語ごとのタイムスタンプを含める
  • --json/-j — JSON 出力
  • --quiet/-q — 進行状況の表示を抑制

セットアップ

.venv/ にある uv 管理の仮想環境を使用します。再インストールするには:

cd ~/.thinkfleetbot/skills/local-whisper
uv venv .venv --python 3.12
uv pip install --python .venv/bin/python click openai-whisper torch --index-url https://download.pytorch.org/whl/cpu

コメント