Whisperのロゴ

Whisper

コミュニティ
AlexAI-MCP
whisper

音声認識と文字起こしに使うOpenAI Whisperです。ローカル推論、複数のモデルサイズ、言語検出、字幕生成に対応しています。

概要

公開者AlexAI-MCP
リポジトリhermes-CCC
スキル名whisper
スター
134
フォーク
22
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    AlexAI-MCPがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Whisper」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/whisper
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git /tmp/hermes-CCC
mkdir -p .claude/skills
cp -r /tmp/hermes-CCC/skills/whisper .claude/skills/whisper
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWhisperを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にWhisperを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Whisperは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Whisper

Purpose

  • Use this skill for local speech-to-text transcription and subtitle generation.
  • Prefer it when privacy, offline processing, or batch audio workflows matter.
  • Whisper works well for meetings, podcasts, interviews, voice notes, and extracted video audio.
  • It supports multilingual transcription and language detection.

Install

  • Standard Whisper package:
bash
pip install openai-whisper
  • Faster inference alternative:
bash
pip install faster-whisper
  • faster-whisper is often the better default for production batch jobs because it is typically faster at similar accuracy.

Command Line Usage

  • Basic CLI transcription:
bash
whisper audio.mp3 --model medium --language en
  • Use GPU explicitly:
bash
whisper audio.mp3 --model medium --language en --device cuda
  • Generate subtitles in SRT format:
bash
whisper audio.mp3 --model medium --language en --output_format srt
  • The CLI is a good fit for one-off transcription, shell scripts, and media preprocessing jobs.

Python API

python
import whisper

model = whisper.load_model("medium")
result = model.transcribe("audio.mp3")

print(result["text"])
print(result["language"])
print(result["segments"][:2])
  • Standard load pattern:
  • import whisper
  • model = whisper.load_model('medium')

What transcribe() Returns

  • text: the full transcript

  • segments: timestamped segment-level outputs

  • language: detected or selected language code

  • Example shape:

python
{
    "text": "Full transcript text",
    "language": "en",
    "segments": [
        {"id": 0, "start": 0.0, "end": 4.5, "text": "Hello everyone"},
    ],
}

Model Sizes

  • tiny

  • base

  • small

  • medium

  • large-v3

  • The tradeoff is simple:

  • smaller models are faster and cheaper

  • larger models are slower but more accurate

Model Selection Guidance

  • tiny: fast experiments and low-resource CPU runs
  • base: simple automation on clean audio
  • small: balanced for lightweight production tasks
  • medium: common quality default for serious transcription
  • large-v3: best accuracy when latency and VRAM are acceptable

Language Selection

  • Set the language when you know it:
bash
whisper audio.mp3 --model medium --language en
  • Explicit language hints usually improve speed and stability.
  • If the language is unknown, let the model detect it.

Language Detection

  • Whisper can estimate the spoken language from audio features.
  • Example pattern:
python
import whisper

model = whisper.load_model("medium")
audio = whisper.load_audio("audio.mp3")
audio = whisper.pad_or_trim(audio)
mel = whisper.log_mel_spectrogram(audio).to(model.device)

_, probs = model.detect_language(mel)
language = max(probs, key=probs.get)
print(language)
  • model.detect_language(audio) is the key workflow concept, though in practice you pass the processed spectrogram tensor.

Subtitle Generation

  • Generate .srt subtitles from the CLI:
bash
whisper audio.mp3 --model medium --language en --output_format srt
  • Subtitle outputs are useful for:
  • video captions
  • podcast transcripts
  • lecture indexing
  • searchable archives

Batch Processing Multiple Files

  • Simple shell loop:
bash
Get-ChildItem *.mp3 | ForEach-Object {
  whisper $_.FullName --model medium --language en --output_format srt
}
  • Python batch example:
python
from pathlib import Path

import whisper

model = whisper.load_model("medium")

for path in Path("audio").glob("*.mp3"):
    result = model.transcribe(str(path))
    out_path = path.with_suffix(".txt")
    out_path.write_text(result["text"], encoding="utf-8")
  • Batch processing is a common pattern for meeting folders, call archives, and downloaded media collections.

GPU vs CPU

  • GPU example from the CLI:
bash
whisper audio.mp3 --model medium --device cuda
  • GPU is strongly preferred for:

  • medium

  • large-v3

  • multi-file batch jobs

  • CPU is acceptable for:

  • tiny

  • base

  • occasional short clips

Common Use Cases

  • YouTube audio transcription after extracting audio from video
  • meeting notes from Zoom or Teams recordings
  • podcast transcription for search and republishing
  • lecture indexing and subtitle generation
  • multilingual voice note transcription

faster-whisper

  • Install with:
bash
pip install faster-whisper
  • It is often around 4x faster while maintaining comparable accuracy.
  • It is a strong choice for MLOps pipelines where throughput matters.

faster-whisper Example

python
from faster_whisper import WhisperModel

model = WhisperModel("medium", device="cuda", compute_type="float16")
segments, info = model.transcribe("audio.mp3", beam_size=5)

print(info.language, info.language_probability)

for segment in segments:
    print(f"[{segment.start:.2f} -> {segment.end:.2f}] {segment.text}")
  • faster-whisper is particularly useful for server-side or queue-based transcription systems.

Output Management

  • Save plain text for downstream NLP.
  • Save SRT for subtitles and media players.
  • Save structured segments for search, speaker labeling pipelines, or analytics.

Segment-Level Workflows

  • Segment timestamps make it easy to:
  • jump to precise moments in media
  • chunk transcripts for embeddings
  • build searchable meeting or lecture interfaces
  • align captions with edited video

Quality Tips

  • Use the cleanest source audio available.
  • Downmix weird multi-channel recordings if channels are corrupted or imbalanced.
  • Remove long leading silence when possible.
  • Pick a larger model for noisy audio, accents, or technical vocabulary.

Common Failure Modes

  • Slow runtime:

  • switch to faster-whisper

  • move from CPU to GPU

  • use a smaller model

  • Bad language choice:

  • set --language en or another known language explicitly

  • inspect the detected language before large batch runs

  • Poor transcript quality:

  • upgrade from base or small to medium or large-v3

  • improve the source audio

  • split very long recordings into manageable chunks

  • Memory issues:

  • use a smaller model

  • run on GPU with enough VRAM

  • use faster-whisper with a suitable compute type

Recommended Workflow

  • Start with medium for general English transcription.
  • Move to large-v3 when quality matters more than speed.
  • Use faster-whisper for production batch jobs.
  • Save both transcript text and structured segments.

When To Use This Skill

  • You need local transcription rather than a hosted ASR API.
  • You want subtitle files for recorded media.
  • You need multilingual speech recognition with no cloud dependency.
  • You are building meeting, media, or archival transcription pipelines.

Quick Reference

  • Install: pip install openai-whisper
  • Faster option: pip install faster-whisper
  • CLI: whisper audio.mp3 --model medium --language en
  • GPU: --device cuda
  • SRT subtitles: --output_format srt
  • Python load: model = whisper.load_model("medium")
  • Result fields: text, segments, language

よくある質問

AIスキル「Whisper」では何ができますか?

音声認識と文字起こしに使うOpenAI Whisperです。ローカル推論、複数のモデルサイズ、言語検出、字幕生成に対応しています。

TypingMindでWhisperを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Whisperはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWhisperをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/whisperを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Whisperを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Whisperで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWhisperを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Whisper」は無料ですか?

はい。AlexAI-MCPがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇