Project.generate_speech#
- Project.generate_speech(speech_generation_settings: SpeechGenerationSettings | dict, timecode: str) MediaPoolItem[source]#
Generates an audio MediaPoolItem from the given speech generation settings.
Adds the generated clip to the timeline at
timecodewhen the settings’AddToTimelineis True. Studio-only (requires the AI Speech Generator Extras download); returns the API’s result unwrapped if requirements are not met.- Parameters:
- Returns:
The newly generated audio MediaPoolItem.
- Return type:
MediaPoolItem
- Raises:
APIVersionError – If Resolve version < 21.0.2
- Version:
Added in DaVinci Resolve 21.0.2