Transcribe audio/video to subtitles
transcribeConvert local audio or video files into subtitles and text using your GPU, with automatic language detection and SRT, VTT, TXT, or JSON output.
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. output_dir: folder for the output files; empty = next to the media file. Returns the files written, detected language, device used, and the transcript text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | No | srt,txt | |
| accurate | No | ||
| language | No | auto | |
| file_path | Yes | ||
| output_dir | No |