Transcribe audio/video to subtitles
transcribeConverts local audio or video files into SRT/VTT subtitles and plain text, with language detection, custom vocabulary, and optional translation for offline use.
Instructions
Transcribe a local audio or video file into subtitles / text.
file_path: absolute path to the media file (mp4, mkv, mov, mp3, wav, m4a, ...). language: ISO code such as en, th, ja, es, hi — or "auto" to detect. accurate: slower, fewest errors (large-v3 with beam search, or the best fine-tune for Thai / Hindi). formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight). Keep json: it is what convert_subtitles reads to re-wrap or re-export later without transcribing again. output_dir: folder for the output files; empty = next to the media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe" (whisper initial prompt); empty = none. translate: true = write the transcript translated to English (uses large-v3; slower than turbo). translate_to: a language code (th, ja, es, ...) = also write NAME..srt, translated by the LLM running on the user's computer (Ollama, LM Studio, llama-server). Empty = no translation. Without a local LLM the transcription is still returned, with a note; you can then translate the text yourself. Returns the files written, detected language, device used, and the transcript text.
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": {
"file_path": "<file_path>"
},
"name": "transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | No | srt,txt,json | |
| accurate | No | ||
| language | No | auto | |
| file_path | Yes | ||
| translate | No | ||
| output_dir | No | ||
| vocabulary | No | ||
| translate_to | No |