Transcribe audio
transcribeConvert wav, mp3, flac, or ogg audio into a timed text transcript or SRT/VTT subtitles locally with Whisper, including automatic language and duration detection.
Instructions
Speech to text from an audio file, with Whisper (whisper-small), locally. Detects the language. Returns the language, the duration and the transcript as one line per segment, each starting with its time ([mm:ss]). With format srt or vtt it returns subtitles instead. Takes roughly a tenth of the recording's length on a desktop CPU; the model (1.5 GB) downloads on first use. For a video, extract its audio to one of the formats below first. The transcript is text, so classify, similarity and rerank take it from there. To save subtitles to a file without returning them, use write_subtitles.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a wav, mp3, flac or ogg file. | |
| format | No | text (default): language, duration and one timed line per segment. srt or vtt: SubRip or WebVTT subtitles. |