Auto-caption a video
auto_captionTranscribe a video and burn captions into it as a single job, producing an SRT file for corrections. Optionally translate foreign speech to English.
Instructions
Transcribe a video and burn the captions in, as one job.
Chains transcription, SRT generation and caption burning so you do not have to orchestrate three jobs. The generated SRT is kept alongside the video, so you can correct the text and re-burn it with burn_captions if Whisper mishears something.
Set translate_to_english to caption foreign-language speech in English.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| encode | No | ||
| options | No | ||
| srt_path | No | Where to keep the generated SRT; defaults to the job directory. | |
| max_lines | No | ||
| input_path | Yes | Video file to caption. | |
| output_path | No | Captioned video destination. | |
| max_chars_per_line | No | Wrap captions to this width. | |
| translate_to_english | No | Translate the speech to English before captioning. |
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. |