Transcribe audio/video to subtitles
transcribeGenerate SRT, VTT, TXT, JSON, or ASS subtitles and text from local audio or video files on your own GPU, with language detection and optional English translation.
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). 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). 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 | |
| accurate | No | ||
| language | No | auto | |
| file_path | Yes | ||
| translate | No | ||
| output_dir | No | ||
| vocabulary | No |