generate_speech
Convert text into speech audio and add it to a DaVinci Resolve timeline at a specified timecode using AI speech generation.
Instructions
Generate speech audio from text using DaVinci Resolve's AI Speech Generator.
Creates an audio MediaPoolItem from the given text and, when add_to_timeline is True, places it on the current timeline at the given timecode. Requires Resolve Studio with the 'AI Speech Generator' package installed via the Extras Download Manager.
Args: text_input: The text to synthesize into speech. timecode: Timeline timecode (HH:MM:SS:FF) to place the clip when add_to_timeline is True. voice_model: Voice model name (e.g. 'Female 1', 'Male 1', 'Custom Voice'). custom_voice_file: Full path to a custom voice file (used with 'Custom Voice'). speed: Speech speed. variation: Speech variation. pitch: Speech pitch. generation_id: Generation ID. filename: Output filename for the generated audio. add_to_timeline: Whether to add the generated clip to the current timeline. audio_track: Audio track index to place the clip on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | No | ||
| speed | No | ||
| filename | No | ||
| timecode | Yes | ||
| variation | No | ||
| text_input | Yes | ||
| audio_track | No | ||
| voice_model | No | ||
| generation_id | No | ||
| add_to_timeline | No | ||
| custom_voice_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |