transcribe_to_file
Convert audio to text and export as subtitle or text files using Whisper models. Specify output format (SRT, VTT, TXT) and language for accurate transcription.
Instructions
[EXPERIMENTAL] Transcribe audio and export to a subtitle or text file. Requires separate setup — see installation guide.
ALWAYS tell the user where the file will be saved BEFORE starting. If user doesn't specify a path, call get_default_export_folder to get a real path. NEVER guess paths like /home/user/... — always use absolute Windows paths like C:\Users\Name\Documents\transcript.srt
Runs in BACKGROUND — returns a job_id immediately. Use check_transcription_status to monitor progress.
Args: path: Absolute path for the output file (e.g. "C:/Users/You/Documents/transcript.srt") format: Output format - "srt", "vtt", or "txt" model_size: Whisper model - "tiny", "base", "small", "medium", "large-v3" language: ISO language code or None for auto-detect
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | srt | |
| model_size | No | small | |
| language | No |