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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "transcribe_and_add_subtitles"
}
}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 |