subtitle_generate
Generate subtitles from timeline audio using Resolve Studio or an AI provider, then import the resulting SRT. Choose engine, language, and line settings to caption a timeline.
Instructions
Generate subtitles from the timeline audio. engine 'resolve' uses Resolve Studio's CreateSubtitlesFromAudio; engine 'provider' transcribes a rendered/source audio file with the configured AI provider and imports the SRT.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "subtitle_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| engine | No | resolve | |
| language | No | resolve: e.g. english, spanish (AUTO_CAPTION_* constant). provider: ISO code like en | |
| timeline | No | Timeline name or id (default: current timeline) | |
| audioPath | No | provider engine: audio/video file to transcribe | |
| gapFrames | No | ||
| charsPerLine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |