AgentSkillsCN

openai-whisper

在本地使用 OpenAI 的 Whisper 模型转录音频文件。

SKILL.md
--- frontmatter
name: openai-whisper
description: Transcribe audio files locally using OpenAI's Whisper model.
metadata: {"openclaw":{"emoji":"🎤","requires":{"bins":["whisper"]},"install":[{"id":"pip","kind":"pip","module":"openai-whisper","bins":["whisper"],"label":"Install whisper (pip)"}]}}

OpenAI Whisper (Local)

Transcribe audio files using the local Whisper model.

Basic Transcription

bash
whisper audio.mp3 --model base --output_format txt

With Language Detection

bash
whisper audio.mp3 --model medium --task transcribe --output_format json

Translation to English

bash
whisper foreign-audio.mp3 --model medium --task translate

Models

ModelSizeQuality
tiny39MBasic
base74MGood
small244MBetter
medium769MGreat
large1550MBest