Transcribe audio
transcribe_audioTranscribe speech from audio or video files into timed segments using Whisper. Generate SRT subtitle files and word-level timestamps for accurate captions.
Instructions
Transcribe speech in an audio or video file using Whisper.
Returns timed segments and, if word_timestamps is set, per-word timings. The spoken language is auto-detected unless you name one. Pass srt_path to have the transcript written straight out as a subtitle file.
This can take a while — roughly real-time on CPU with the 'base' model, and several times that with 'large-v3' — so poll job_status. The first run with a given model also downloads its weights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| srt_path | No | Also write the transcript as an SRT file at this path. | |
| input_path | Yes | Audio or video file to transcribe. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| job_id | Yes | ||
| status | No | queued | |
| message | No | Job queued. Poll job_status for progress, then job_result. |