transcribe_and_add_subtitles
Transcribe audio from a file using local Whisper models and automatically add subtitle markers to the DaVinci Resolve timeline. Supports long files through automatic chunking.
Instructions
Transcribe audio locally with mlx-whisper and add subtitle markers to the timeline. Long files are auto-chunked so this works on any length.
Parameters:
file_path: Absolute path to the audio/video file to transcribe
model: Whisper model size ("tiny", "base", "small", "medium", "large", "turbo")
language: Language code (e.g. "en", "fr"). None = auto-detect.
initial_prompt: Optional text to guide recognition vocabulary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| model | No | turbo | |
| language | No | ||
| initial_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |