| Method | Returns | Since | Description | |
|---|---|---|---|---|
| dvr_script | ||||
| ▶ | dvr_script.scriptapp( | Resolve | Connect to running Resolve instance | |
v21.1: Built-in Python 3.14 —
import DaVinciResolveScript works out of the box for Script Menu and Console scripts (no env vars needed).External scripts: System Python ≥ 3.6 still needs RESOLVE_SCRIPT_API + RESOLVE_SCRIPT_LIB env vars (Windows) or PYTHONPATH (Mac/Linux). Studio required for external scripting since v19. UIManager: Studio only since v19. Lua: lists = {[1]=v1, [2]=v2}, dicts = {[k1]=v1, [k2]=v2}. Python: native list/dict. Type stubs: DaVinciResolveScript.pyi in Developer/Scripting folder has all method signatures. | ||||
| Resolve | ||||
| Resolve.DisableBackgroundTasksForCurrentResolveSession() | None | 21.0 | Disables all background tasks for session | |
| Resolve.Fusion() | Fusion | Access Fusion scripting object | ||
| ▶ | Resolve.GetCurrentPage() | string | "media", "photo", "cut", "edit", "fusion", "color", "fairlight", "deliver" or None | |
| ||||
| Resolve.GetKeyframeMode() | int | 0=ALL, 1=COLOR, 2=SIZING | ||
| Resolve.GetProductName() | string | "DaVinci Resolve" or "DaVinci Resolve Studio" | ||
| ▶ | Resolve.GetUserPreferencesPresetList() | [names] | 21.0.3 | User preferences preset CRUD |
Also: LoadUserPreferencesPreset(name), SaveUserPreferencesPreset(name), DeleteUserPreferencesPreset(name), ImportUserPreferencesPreset(path, name), ExportUserPreferencesPreset(name, path) | ||||
| Resolve.GetVersion() | [fields] | [major, minor, patch, build, suffix] | ||
| Resolve.GetVersionString() | string | "major.minor.patch[suffix].build" | ||
| ▶ | Resolve.ImportRenderPreset( | bool | 18.6 | Import render preset from file |
Also: ExportRenderPreset(name, path), GetBurnInPresetList() → [names], DeleteBurnInPreset(name), ImportBurnInPreset(path), ExportBurnInPreset(name, path) | ||||
| ▶ | Resolve.LoadLayoutPreset( | bool | Load UI layout preset | |
Also: GetLayoutPresetList() → [names], SaveLayoutPreset(name), UpdateLayoutPreset(name), DeleteLayoutPreset(name), ExportLayoutPreset(name, path), ImportLayoutPreset(path, name) | ||||
| Resolve.OpenPage( | bool | Switch to page | ||
| Resolve.Quit() | bool | Quit Resolve. (v21.0.4 docs: None, v21.1 .pyi: bool) | ||
| Resolve.SetKeyframeMode( | bool | Set keyframe mode | ||
| Resolve.IsStudio() | bool | 21.1 | True if Studio edition | |
| Resolve.SetHighPriority( | bool | 21.1 | Set process priority | |
| Resolve.GetCurrentProject() / | varies | 21.1 | Convenience accessors (shortcut for PM chain) | |
| ▶ | Resolve.GetKeyboardPresetList() / | [names] / bool | 21.1 | Keyboard presets CRUD |
Same CRUD pattern for: UserPreferences, LayoutPresets, BurnInPresets (Resolve-level), ProjectSettingsPresets (Project-level). | ||||
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Resolve | ||||
| Resolve.GetProjectManager() | ProjectManager | Access the project manager | ||
| ▶ | Resolve.ValidateDCTL( | str|None / bool | 21.1 | Validate DCTL source (None=OK, str=error). Encrypt DCTL file. |
| ||||
| PM | ||||
| ▶ | PM.ArchiveProject( | bool | Archive with optional src media, cache, proxy | |
| ||||
| PM.CloseProject( | bool | Close without saving | ||
| ▶ | PM.CreateCloudProject( | Project | 18.6.4 | Create cloud project |
|
cloudSettings keys: | ||||
| PM.CreateFolder( | bool | DB folder management | ||
| ▶ | PM.CreateProject( | Project | Create project. Optional mediaPath since 20.2.2. | |
| ||||
| PM.DeleteProject( | bool | Delete project (must not be loaded) | ||
| ▶ | PM.ExportProject( | bool | Export project as .drp | |
| ||||
| ▶ | PM.GetCurrentDatabase() / | {dbInfo} / [{dbInfo}] | Database connection info | |
| ||||
| PM.GetCurrentFolder() / | string / bool | Current folder / open by name | ||
| PM.GetCurrentProject() | Project | Currently loaded project | ||
| PM.GetFolderListInCurrentFolder() | [names] | Folders in current DB folder | ||
| PM.GetProjectAttributesInCurrentFolder() | {name: {attrs}} | 21.0.4 | Project attributes: lastModifiedDate, creationDate, notes, liveCollaborationMode | |
| PM.GetProjectLastModifiedTime( | int | 21.1 | Unix timestamp of last modification | |
| PM.GetProjectListInCurrentFolder() | [names] | Projects in current DB folder | ||
| PM.GotoRootFolder() / | bool | Navigate DB folders | ||
| PM.ImportCloudProject( | bool | 18.6.4 | Import cloud project from file | |
| PM.ImportProject( | bool | Import .drp project file | ||
| PM.LoadCloudProject( | Project | 19.1 | Load cloud project | |
| PM.LoadProject( | Project | Load project by name | ||
| PM.RestoreCloudProject( | bool | 18.6.4 | Restore cloud project from folder | |
| PM.RestoreProject( | bool | Restore from backup | ||
| PM.SaveProject() | bool | Save current project | ||
| Project | ||||
| Project.AddColorGroup( | ColorGroup / bool | 19.0 | Manage color groups | |
| Project.ApplyFairlightPresetToCurrentTimeline( | bool | 20.2.2 | Apply Fairlight preset | |
| ▶ | Project.GetProjectSettingsPresetList() / | [presets] / bool | 21.1 | Project settings presets |
Full CRUD: Save/Set/Update/Export/Import/Delete + List. Replaces deprecated GetPresetList/SetPreset. | ||||
| Project.ExportCurrentFrameAsStill( | bool | 18.5 | Export current frame (must end in valid format) | |
| Project.GetColorGroupsList() | [ColorGroups] | 19.0 | All color groups | |
| Project.GetCurrentTimeline() / | Timeline / bool | Active timeline (Set changes UI!) | ||
| Project.GetGallery() | Gallery | 17.3 | Access Gallery object | |
| Project.GetName() / | string / bool | Project name (must be unique) | ||
| Project.GetPresetList() / | [presets] / bool | → / | ||
| ▶ | Project.GetSettings() / | {ProjectSettings} / bool | 21.1 | Project settings (canonical) |
Exception: SetSetting('superScale', 2, sharpness, noiseReduction) for '2x Enhanced' is NOT deprecated — it has no SetSettings() equivalent. All values are strings unless noted. Source: v21.1 .pyi.
Timeline (22) Image Processing (7) Color Science (51) Video Monitor & Deck (33) HDR (7) Super Scale (5) Performance (13) Limits (10) Audio, Node & Other (10) | ||||
| ▶ | Project.GetSetting( | string / bool | → | |
BUG: SetSetting('useCustomSettings','1') overwrites settings with defaults. | ||||
| Project.GetTimelineByIndex( | Timeline | Timeline by index (1-based) | ||
| Project.GetTimelineCount() | int | Number of timelines | ||
| Project.GetUniqueId() | string | Unique project identifier | ||
| Project.InsertAudioToCurrentTrackAtPlayhead( | bool | 18.1 | Spot audio at playhead (Fairlight) | |
| Project.LoadBurnInPreset( | bool | Load data burn-in preset | ||
| Project.RefreshLUTList() | bool | Refresh LUT discovery | ||
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Resolve | ||||
| Resolve.GetMediaStorage() | MediaStorage | Access MediaStorage for file system browsing and import | ||
| Project | ||||
| Project.GetMediaPool() | MediaPool | Access MediaPool | ||
| MediaStorage | ||||
| MediaStorage.AddClipMattesToMediaPool( | bool | Add mattes to clip. stereoEye optional ("left"/"right" for stereo) | ||
| ▶ | MediaStorage.AddItemListToMediaPool( | [MediaPoolItems] | Import or create SubClips | |
Only way to create SubClips via API. Key "media" takes file path string, not MPI object. GetSourceEndFrame() returns end+1. Christoph Schmid | ||||
| MediaStorage.AddItemListToMediaPool( | [MediaPoolItems] | → | ||
| MediaStorage.AddTimelineMattesToMediaPool( | [MediaPoolItems] | Add timeline mattes to current folder | ||
| ▶ | MediaStorage.StartCloneMedia( | bool | 21.1 | Clone tool. Also: GetCloneStatus(), SetCloneToolSettings() |
| ||||
| MediaStorage.GetMountedVolumeList() | [paths] | Mounted volumes | ||
| MediaStorage.GetSubFolderList( | [paths] | Browse file system | ||
| MediaStorage.RevealInStorage( | bool | Show in Media Storage | ||
| MediaPool | ||||
| MediaPool.AddSubFolder( | Folder | Create subfolder | ||
| ▶ | MediaPool.AutoSyncAudio( | bool | 19.1 | Sync audio by waveform or timecode |
syncMode: resolve.AUDIO_SYNC_WAVEFORM / _TIMECODE / _IN / _OUT / _MARKER | ||||
| MediaPool.CreateStereoClip( | MediaPoolItem | 18.6.4 | Create stereo 3D clip | |
| ▶ | MediaPool.CreateMulticamClip( | [MediaPoolItems] | 21.1 | Create multicam clip from angles |
|
MulticamOptions:
Related API → · · | ||||
| MediaPool.DeleteClips( | bool | Delete clips from pool | ||
| MediaPool.DeleteFolders( | bool | Delete subfolders | ||
| MediaPool.DeleteTimelines( | bool | Delete timelines | ||
| MediaPool.ExportMetadata( | bool | Export as CSV (all clips if none specified) | ||
| MediaPool.GetClipMatteList( | [paths] / bool | Clip matte management | ||
| MediaPool.GetCurrentFolder() / | Folder / bool | Current folder | ||
| ▶ | MediaPool.GetRootFolder() | Folder | Root folder | |
| ||||
| MediaPool.GetSelectedClips() / | [items] / bool | 19.02 | Selection in Media Pool | |
| MediaPool.GetTimelineMatteList( | [items] | Timeline mattes in folder | ||
| MediaPool.GetUniqueId() | string | Unique ID for the media pool | ||
| MediaPool.ImportFolderFromFile( | bool | 18.5 | Import DRB folder. Optional sourceClipsPath for relinking. | |
| ▶ | MediaPool.ImportMedia( | [MediaPoolItems] | Import files or image sequences (canonical) | |
| ||||
| ▶ | MediaPool.ImportMedia( | [MediaPoolItems] | → | |
| ||||
| MediaPool.MoveClips( | bool | Move clips to folder | ||
| MediaPool.MoveFolders( | bool | Move folders | ||
| MediaPool.RefreshFolders() | bool | Refresh in collaboration mode | ||
| MediaPool.RelinkClips( | bool | Relink media to new path | ||
| MediaPool.UnlinkClips( | bool | Unlink media from clips | ||
| Folder | ||||
| Folder.Export( | bool | Export folder as DRB | ||
| Folder.GetClipList() / | [items] / [folders] / string | Folder contents | ||
| Folder.GetIsFolderStale() | bool | Stale in collaboration mode | ||
| Folder.GetUniqueId() | string | Unique folder ID | ||
| Folder.TranscribeAudio() / | bool | 18.5 | Batch transcribe folder contents | |
| MediaPoolItem | ||||
| MediaPoolItem.AddFlag( | bool / [colors] / bool | Flags ("All" clears all) | ||
| MediaPoolItem.AddMarker( | bool / {markers} / bool | Media Pool item markers (same API as Timeline markers) | ||
| MediaPoolItem.GetMarkerCustomData( | string / bool | MPI marker custom data / delete first match | ||
| ▶ | MediaPoolItem.GetAudioMapping() | json string | 19.0 | Audio channel mapping |
Only track_mapping is processed by SetAudioMapping — other keys are read-only. SetAudioMapping may redefine the audio track structure. TI.SetSourceAudioChannelMapping requires exactly one track in track_mapping.
Timeline-item mapping → | ||||
| MediaPoolItem.SetAudioMapping( | bool | 21.1 | Set MPI audio mapping. Input is JSON string. May redefine track structure. | |
| MediaPoolItem.GetClipColor() / | string / bool / bool | Clip color | ||
| ▶ | MediaPoolItem.GetClipProperty() CANON v21.1 | {properties} | All clip properties as dict (canonical) | |
| ||||
| ▶ | MediaPoolItem.GetClipProperty( | string | → | |
WARNING: "Type" key is localized (translated to Resolve UI language). Use "Format" for logic instead. | ||||
| MediaPoolItem.GetMarkInOut() / | {marks} / bool / bool | 19.1 | Mark In/Out. type: "video", "audio", "all" | |
| MediaPoolItem.GetMediaId() / | string | Unique identifiers | ||
| ▶ | MediaPoolItem.GetMetadata() / | {metadata} / bool | Standard metadata (canonical) | |
BMD recommendation (Shrinivas Ramani): fill metadata manually in UI first, then call GetMetadata() with no args to discover all valid keys and value types for SetMetadata(). | ||||
| ▶ | MediaPoolItem.GetMetadata( | string / bool | → | |
| ||||
| MediaPoolItem.GetName() / | string / bool | 20.2 | Clip name (SetName since 20.2) | |
| MediaPoolItem.GetThirdPartyMetadata() / | {metadata} / bool | Custom metadata (canonical) | ||
| MediaPoolItem.SetThirdPartyMetadata( | bool | 19.02 | → | |
| MediaPoolItem.GetTimeline() | Timeline / None | 21.0.4 | Returns Timeline if MP item is a timeline clip | |
| MediaPoolItem.LinkFullResolutionMedia( | bool | 20b3 | Link full res media | |
| MediaPoolItem.LinkProxyMedia( | bool | Proxy media management | ||
| MediaPoolItem.MonitorGrowingFile() | bool | 20b4 | Monitor file during recording/ingest | |
| MediaPoolItem.ReplaceClip( | bool | 20b3 | Replace underlying media | |
| MediaPoolItem.SetClipProperty( | bool | Set clip property (limited · · ) | ||
| MediaPoolItem.TranscribeAudio() / | bool | 18.5 | Transcribe/clear on clip level | |
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| MediaPool | ||||
| MediaPool.CreateEmptyTimeline( | Timeline | Create empty timeline | ||
| ▶ | MediaPool.CreateTimelineFromClips( | Timeline | Create timeline with clips (canonical) | |
| ||||
| ▶ | MediaPool.CreateTimelineFromClips( | Timeline | → | |
| ||||
| ▶ | MediaPool.ImportTimelineFromFile( | Timeline | Import AAF/EDL/XML/FCPXML/DRT/ADL/OTIO | |
| ||||
| Timeline | ||||
| ▶ | Timeline.AddTrack( | bool | 18.5 | Add track. Audio: "mono"/"stereo"/"5.1"/"7.1"/"adaptive1-36" |
| ||||
| Timeline.ConvertTimelineToStereo() | bool | 18.6.4 | Convert to stereo 3D | |
| Timeline.CreateCompoundClip( | TimelineItem | Compound clip from items | ||
| Timeline.CreateFusionClip( | TimelineItem | Fusion clip from items | ||
| Timeline.DeleteTrack( | bool | 18.5 | Delete track | |
| Timeline.DuplicateTimeline( | Timeline | Duplicate timeline | ||
| ▶ | Timeline.Export( | bool | Export EDL/XML/AAF/FCPXML/OTIO/DRT/ALE/CDL | |
exportType: EXPORT_AAF, EXPORT_DRT, EXPORT_EDL, EXPORT_FCP_7_XML, EXPORT_FCPXML_1_8 / _1_9 / _1_10, EXPORT_HDR_10_PROFILE_A / _B, EXPORT_TEXT_CSV, EXPORT_TEXT_TAB, EXPORT_DOLBY_VISION_VER_2_9 / _4_0 / _5_1, EXPORT_OTIO, EXPORT_ALE, EXPORT_ALE_CDL | ||||
| Timeline.GetCurrentVideoItem() | TimelineItem | Current video item under playhead | ||
| Timeline.GetMarkInOut() / | {marks} / bool | 19.1 | Mark In/Out. type: "video", "audio", "all" (default) | |
| Timeline.GetMediaPoolItem() | MediaPoolItem | 19.1 | MP entry for this timeline | |
| Timeline.GetName() / | string / bool | Timeline name (unique) | ||
| ▶ | Timeline.GetSettings() / | {TimelineSettings} / bool | 21.1 | Timeline settings (canonical) |
Returns project settings when useCustomSettings is '0'. All values are strings unless noted. Source: v21.1 .pyi (69 keys).
Custom Settings Flags (5) Timeline (14) Video Monitor (12) Color Science (19) HDR & DRT (19) | ||||
| ▶ | Timeline.GetSetting( | string / bool | 17 | → |
All values returned as strings, not native types. Compare with == "1", not == True. | ||||
| Timeline.GetStartFrame() / | int | Frame range | ||
| Timeline.GetStartTimecode() / | string / bool | 18.0 | Start TC | |
| Timeline.GetTrackCount( | int | "video", "audio", "subtitle" | ||
| Timeline.GetTrackName( | string / bool | Track name (1-based) | ||
| Timeline.GetTrackSubType( | string | Audio format: "mono", "stereo", "5.1", etc. | ||
| Timeline.GetUniqueId() | string | Unique ID | ||
| ▶ | Timeline.ImportIntoTimeline( | bool | Import AAF into existing timeline | |
| ||||
| Timeline.SetTrackEnable( | bool | 18.5 | Enable/disable track | |
| Timeline.SetTrackLock( | bool | 18.5 | Lock/unlock track | |
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| MediaPool | ||||
| ▶ | MediaPool.AppendToTimeline( | [TimelineItems] | Add clips with precise placement | |
Subframe precision since v19.02. Placement fails on overlap. Use recordFrame with current playhead position (TC→frame conversion needed). Source: Christoph Schmid | ||||
| MediaPool.AppendToTimeline( | [TimelineItems] | → | ||
| Timeline | ||||
| ▶ | Timeline.AddMarker( | bool | Add timeline marker | |
16 marker colors: Blue, Cyan, Green, Yellow, Red, Pink, Purple, Fuchsia, Rose, Lavender, Sky, Mint, Lemon, Sand, Cocoa, Cream BUG: Keywords silently lost. No EditMarker() — must delete+recreate. AddMarker forces switch to Edit page (except from Color page, where markers aren't redrawn). | ||||
| Timeline.DeleteClips( | bool | 18.5 | Delete clips. ripple=True for ripple delete. | |
| Timeline.DeleteMarkersByColor( | bool | Delete markers ("All" for all colors) | ||
| Timeline.GetCurrentTimecode() / | string / bool | Playhead position | ||
| ▶ | Timeline.GetItemListInTrack( | [TimelineItems] | All clips on track (1-based) | |
| ||||
| Timeline.GetMarkerByCustomData( | {info} / bool | Custom data on markers | ||
| Timeline.GetMarkerCustomData( | string / bool | Read custom data at frame / delete first match | ||
| Timeline.GetMarkers() | {markers} | All markers as dict {frame: {info}} | ||
| Timeline.GetSelectedClips() | [TimelineItems] | 21.0.4 | Selected timeline items (README: GetSelectedClips) | |
| Timeline.InsertFusionCompositionIntoTimeline() | TimelineItem | Empty Fusion comp at playhead | ||
| Timeline.InsertFusionGeneratorIntoTimeline( | TimelineItem | Fusion generator at playhead | ||
| Timeline.InsertFusionTitleIntoTimeline( | TimelineItem | Fusion title at playhead | ||
| Timeline.InsertGeneratorIntoTimeline( | TimelineItem | Insert at playhead with default duration | ||
| Timeline.InsertOFXGeneratorIntoTimeline( | TimelineItem | OFX generator at playhead | ||
| Timeline.InsertTitleIntoTimeline( | TimelineItem | Title at playhead | ||
| Timeline.SetClipsLinked( | bool | 18.5 | Link/unlink clips | |
| TimelineItem | ||||
| ▶ | TimelineItem.AddTransition( | TimelineItem|None | 21.1 | Add transition to clip edge. Returns transition item or None. |
TransitionOptions: | ||||
| TimelineItem.AddFlag( | bool / [colors] / bool | Timeline clip flags | ||
| TimelineItem.AddMarker( | varies | Clip-level markers (same API pattern as Timeline) | ||
| TimelineItem.GetMarkerCustomData( | string / bool | Clip marker custom data / delete first match | ||
| ▶ | TimelineItem.AddTake( | bool | Take selector management | |
| ||||
| TimelineItem.GetClipColor() / | string / bool / bool | Clip color on timeline | ||
| TimelineItem.GetClipEnabled() / | bool | 18.5 | Enable/disable clip | |
| ▶ | TimelineItem.GetFades() / | FadeInfo / bool | 21.1 | Fade handles in frames |
FadeInfo: FadeIn: int (frames) · FadeOut: int (frames) | ||||
| TimelineItem.GetLeftOffset( | int|float | Handle extents. subframePrecision=True returns float. | ||
| TimelineItem.GetLinkedItems() | [TimelineItems] | 19.0 | Linked clips | |
| TimelineItem.GetMediaPoolItem() | MediaPoolItem | 19.1 | Source clip in Media Pool | |
| TimelineItem.GetName() / | string / bool | 20.2 | Clip name on timeline | |
| ▶ | TimelineItem.GetSourceStartFrame() / | int | 19.02 | Source media frame range in timeline clip |
BUG: Off-by-one error reported. GetSourceEndFrame() may return end+1. Verify against UI values. | ||||
| TimelineItem.GetSourceStartTime() / | float | 19.02 | Source time positions (subframe precision) | |
| ▶ | TimelineItem.GetStart( | int|float | Timeline frame positions. subframePrecision=True returns float. | |
| ||||
| TimelineItem.GetTrackTypeAndIndex() | [type, idx] | 19.0 | Which track this clip is on | |
| TimelineItem.GetUniqueId() | string | Unique timeline item ID | ||
| TimelineItem.GetType() | str | 21.1 | Returns clip type string | |
| TimelineItem.FlattenMulticam( | bool | 21.1 | Flatten multicam. resolve.FLATTEN_MULTICAM_* · | |
| Timeline | ||||
| ▶ | Timeline.GetOutputBlanking() / | OutputBlanking / bool | 21.1 | Timeline output blanking |
OutputBlanking: Top: int (px) · Bottom: int (px) · Left: int (px) · Right: int (px) | ||||
| TimelineItem | ||||
| TimelineItem.GetOutputBlanking() / | OutputBlanking / bool | 21.1 | Clip-level output blanking | |
| TimelineItem.SetUseTimelineForOutputBlanking( | bool | 21.1 | Use timeline blanking for this clip | |
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| TimelineItem | ||||
| ▶ | TimelineItem.GetProperties() / | {TimelineItemProperties} / bool | 21.1 | All clip properties (canonical) |
SetProperties() is atomic — all keys are validated before any are applied. Either all succeed or none do. Keys marked [Active Timeline Only] only work when the item is on the current timeline.
Transform (TransformEnabled: bool) Crop (CroppingEnabled: bool) Dynamic Zoom (DynamicZoomEnabled: bool) Composite (CompositeEnabled: bool) Lens Correction (LensCorrectionEnabled: bool) Retime & Scaling (RetimeAndScalingEnabled: bool) Audio NEW v21.1 Audio AI [Active Timeline Only] NEW v21.1 | ||||
| ▶ | TimelineItem.GetProperty( | varies / bool | 17.4 | → |
AnchorPointX/Y wrong with resolution mismatch.
Transform: Pan, Tilt, ZoomX/Y, ZoomGang, RotationAngle, AnchorPointX/Y, Pitch, Yaw, FlipX/Y | ||||
| TimelineItem.UpdateSidecar() | bool | 18.0 | Update BRAW/R3D sidecar | |
| TimelineItem.GetStereoConvergenceValues() | {offset: value} | Stereo 3D convergence keyframes | ||
| TimelineItem.GetStereoLeftFloatingWindowParams() | {offset: {L,R,T,B}} | Left eye floating window keyframes | ||
| TimelineItem.GetStereoRightFloatingWindowParams() | {offset: {L,R,T,B}} | Right eye floating window keyframes | ||
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| TimelineItem | ||||
| ▶ | TimelineItem.SetSpeed( | bool / SpeedOptions | 21.1 | Speed change |
SpeedOptions: Keyframes not supported via API. Speed ramps must be set in UI. | ||||
| TimelineItem.SetProperties( | bool | 21.1 | Retime algorithm via Inspector properties · | |
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Resolve | ||||
| Resolve.ValidateDCTL( | str|None / bool | 21.1 | DCTL validation/encryption · | |
| Timeline | ||||
| Timeline.GetCurrentClipThumbnailImage() | {thumbnail} | RGB base64 thumbnail (Color page only) | ||
| Timeline.GetNodeGraph() | Graph | 19.0 | Timeline-level node graph | |
| ▶ | Timeline.GrabStill() / | GalleryStill / [stills] | source: 1=First frame, 2=Middle frame | |
BUG: ExportStills fails if "Timelines" album is selected - switch album first. GrabStill returns False during auto-backup or modal dialogs. | ||||
| TimelineItem | ||||
| ▶ | TimelineItem.AddVersion( | bool | 17.4 | Add color version. type: 0=local, 1=remote |
| ||||
| TimelineItem.CopyGrades( | bool | Copy current layer grade to targets | ||
| TimelineItem.ExportLUT( | bool | 19.0 | Export as .cube/.vlt | |
| TimelineItem.GetColorGroup() / | ColorGroup / bool / bool | 19.0 | Color group assignment | |
| ▶ | TimelineItem.GetNodeGraph( | Graph | 19.0 | Node graph object. layerIdx optional (0=first). |
| ||||
| TimelineItem.ResetAllNodeColors() | bool | Reset node colors in active version | ||
| ▶ | TimelineItem.SetCDL( | bool | Apply CDL. No GetCDL() counterpart. | |
GetCDL() does NOT exist. Workaround: export timeline as CDL. Requested by ChristyKail. | ||||
| Gallery | ||||
| Gallery.CreateGalleryStillAlbum() / | GalleryStillAlbum | 18.6 | Create album | |
| Gallery.GetAlbumName( | string / bool | 17.3 | Album name | |
| Gallery.GetCurrentStillAlbum() / | GalleryStillAlbum / bool | 17.3 | Active album | |
| Gallery.GetGalleryPowerGradeAlbums() | [GalleryStillAlbum] | 17.3 | All PowerGrade albums | |
| Gallery.GetGalleryStillAlbums() | [GalleryStillAlbum] | 17.3 | All Still albums | |
| GalleryStillAlbum | ||||
| GalleryStillAlbum.DeleteStills( | bool | 18.6 | Delete stills from album | |
| ▶ | GalleryStillAlbum.ExportStills( | bool | 18.6 | Export stills to folder |
| ||||
| GalleryStillAlbum.GetLabel( | string / bool | 17.3 | Still label | |
| GalleryStillAlbum.GetStills() | [GalleryStill] | 17.3 | All stills in album | |
| GalleryStillAlbum.ImportStills( | bool | 18.6 | Import stills (True if at least one succeeds) | |
| Graph | ||||
| Graph.ApplyArriCdlLut() | bool | 18.5 | Apply ARRI CDL and LUT | |
| Graph.ApplyGradeFromDRX( | bool | 19.1 | mode: 0=No KF, 1=Source TC, 2=Start Frames | |
| ▶ | Graph.GetLUT( | string / bool | 17.4.6 | LUT on node. Returns relative path. |
Node-LUT-Slot only. DCTLs via OFX invisible. | ||||
| Graph.GetNodeCacheMode( | int / bool | 19.1 | -1=Auto, 0=Disabled, 1=Enabled | |
| Graph.GetNodeLabel( | string | 18.5 | Node label (1-based) | |
| Graph.GetNumNodes() | int | 17.4.6 | Number of nodes | |
| Graph.GetToolsInNode( | [strings] | 19.0 | Tools used in node | |
| Graph.ResetAllGrades() | bool | 19.1 | Reset all grades | |
| Graph.SetNodeEnabled( | bool | 19.0 | Enable/disable node | |
| ColorGroup | ||||
| ColorGroup.GetClipsInTimeline( | [TimelineItems] | 19.0 | Clips in this group (optional tl arg) | |
| ColorGroup.GetName() / | string / bool | 19.0 | Color group name | |
| ColorGroup.GetPreClipNodeGraph() / | Graph | 19.0 | Group pre/post graphs | |
Note: Mixer (faders, EQ, dynamics, bus routing, automation, plugins) is completely closed.
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Resolve | ||||
| ▶ | Resolve.GetFairlightPresets() | [names] | 20.2.2 | List Fairlight presets |
| ||||
| Project | ||||
| Project.InsertAudioToCurrentTrackAtPlayhead( | bool | 18.1 | Spot audio (Fairlight page, samples) | |
| Timeline | ||||
| ▶ | Timeline.GetVoiceIsolationState( | {state} / bool | 20.1 | Voice isolation per track |
| ||||
| TimelineItem | ||||
| ▶ | TimelineItem.GetSourceAudioChannelMapping() / | json string / bool | 19.01 / 21.1 | Source audio channel mapping. Set requires exactly 1 track. |
SetSourceAudioChannelMapping() requires exactly one track in track_mapping.
Media-pool mapping → | ||||
| TimelineItem.GetVoiceIsolationState() / | {state} / bool | 20.1 | Voice isolation per clip. amount: 0-100 | |
| Timeline | ||||
| ▶ | Timeline.NormalizeAudioLevel( | bool | 21.1 | Audio normalization on selected items |
NormalizeAudioOptions: | ||||
| ▶ | Timeline.AutoAlignClips( | bool | 21.1 | Auto-align selected clips on timeline |
AutoAlignOptions: Related API → | ||||
Internal node graph NOT readable/modifiable. Only comp-level CRUD.
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Timeline | ||||
| Timeline.InsertFusionCompositionIntoTimeline() | TimelineItem | Empty comp at playhead | ||
| Timeline.InsertFusionGeneratorIntoTimeline( | TimelineItem | At playhead, default duration | ||
| Timeline.InsertFusionTitleIntoTimeline( | TimelineItem | At playhead, default duration | ||
| TimelineItem | ||||
| TimelineItem.AddFusionComp() | FusionComp | 18.0 | Create Fusion comp on clip | |
| TimelineItem.DeleteFusionCompByName( | bool | 18.0 | Delete comp | |
| TimelineItem.ExportFusionComp( | bool | 18.0 | Export comp to file | |
| ▶ | TimelineItem.GetFusionCompByIndex( | FusionComp | 18.0 | Comp by index |
GetToolList(False, "TypeName") is faster than filtering all tools. Works from Edit page — no need to switch to Fusion. comp.Lock()/Unlock() = Fusion equivalent of PreventUIRefresh. comp:MapPath("comp:/") = comp file directory. | ||||
| TimelineItem.GetFusionCompByName( | FusionComp | 18.0 | Comp by name | |
| TimelineItem.GetFusionCompCount() | int | 18.0 | Number of comps | |
| TimelineItem.GetFusionCompNameList() | [names] | 18.0 | All comp names | |
| TimelineItem.ImportFusionComp( | FusionComp | 18.0 | Import .comp file | |
| TimelineItem.LoadFusionCompByName( | FusionComp | 18.0 | Load specific comp | |
| TimelineItem.RenameFusionCompByName( | bool | 18.0 | Rename comp | |
Some return "indicator of success" only (True/False), not results.
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Project | ||||
| ▶ | Project.GenerateSpeech( | MediaPoolItem | 21.0 | AI Text-to-Voice. Returns generated audio clip. |
BMD reference conflict: README documents (settings, timecode), .pyi defines (settings) only. Speed: -10.0 to 10.0, Pitch: -2.0 to 2.0, Variation: 0.0 to 1.0. Verify timecode parameter in runtime. | ||||
| Project.ResetIntellisearchAnalysis() | bool | 21.0 | Clear IntelliSearch analysis data | |
| Folder | ||||
| Folder.AnalyzeForIntellisearch( | bool | 21.0 | Batch IntelliSearch on folder | |
| Folder.AnalyzeForSlate( | bool | 21.0 | Batch Slate ID on folder | |
| Folder.PerformAudioClassification() / | bool | 21.0 | Batch classify folder audio | |
| Folder.RemoveMotionBlur( | [[MPI, MPI]...] | 21.0 | Batch deblur. Returns original→new pairs. | |
| MediaPoolItem | ||||
| MediaPoolItem.AnalyzeForIntellisearch( | bool | 21.0 | IntelliSearch analysis. Requires Extras download. | |
| MediaPoolItem.AnalyzeForSlate( | bool | 21.0 | Slate ID. markerColor: resolve.MARKER_BLUE etc. | |
| MediaPoolItem.PerformAudioClassification() / | bool | 21.0 | Classify audio: Dialog/Music/FX/Ambience | |
| ▶ | MediaPoolItem.RemoveMotionBlur( | MediaPoolItem | 21.0 | AI deblur. Returns new clip. |
| ||||
| Timeline | ||||
| Timeline.AnalyzeDolbyVision( | bool | 19b5 | Dolby Vision analysis. (v21.0.4: defaults [], NONE; v21.1 .pyi: no defaults) | |
| Timeline.AutoAlignClips( | bool | 21.1 | Auto-align by waveform or timecode · | |
| Timeline.DetectSceneCuts() | bool | 18.5 | Scene cut detection | |
| TimelineItem | ||||
| ▶ | TimelineItem.PerformMulticamSmartSwitch( | bool | 21.1 | AI multicam smart switch |
|
SmartSwitchSettings: Full workflow → | ||||
| TimelineItem.CreateMagicMask( | bool | 18.5 | mode: "F"=forward, "B"=backward, "BI"=bidirection | |
| TimelineItem.RegenerateMagicMask() | bool | 18.5 | Regenerate existing mask | |
| TimelineItem.SmartReframe() | bool | 18.5 | AI reframe for aspect ratio | |
| TimelineItem.Stabilize() | bool | 18.5 | Stabilization | |
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Folder | ||||
| Folder.TranscribeAudio( | bool | 18.5 | Batch transcribe. Speaker detection (21.0), nested clip (21.1) | |
| MediaPoolItem | ||||
| MediaPoolItem.TranscribeAudio( | bool | 18.5 | Transcribe clip. Speaker (21.0), nested clip (21.1) | |
| Timeline | ||||
| ▶ | Timeline.CreateSubtitlesFromAudio( | bool | 18.5 | Generate subtitles from audio |
Languages: AUTO_CAPTION_AUTO, _DANISH, _DUTCH, _ENGLISH, _FINNISH, _FRENCH, _GERMAN, _HINDI, _INDONESIAN, _ITALIAN, _JAPANESE, _KOREAN, _MALAY, _MANDARIN_SIMPLIFIED, _MANDARIN_TRADITIONAL, _NORWEGIAN, _POLISH, _PORTUGUESE, _ROMANIAN, _RUSSIAN, _SPANISH, _SWEDISH, _TAMIL, _THAI, _TURKISH, _VIETNAMESE | ||||
| MediaPoolItem | ||||
| ▶ | MediaPoolItem.GetTranscription( | Transcription | 21.1 | Structured transcription data |
Transcription: segments: [TranscriptionSegment] · duration: float | ||||
| Method | Returns | Since | Description | |
|---|---|---|---|---|
| Project | ||||
| ▶ | Project.AddRenderJob() | string (jobId) | Add job with current settings | |
Must use SetCurrentTimeline() first (changes UI state!). No GetRenderSettings() or SetRenderTimeline(). | ||||
| Project.DeleteRenderJob( | bool | Remove jobs from queue | ||
| ▶ | Project.GetAudioRenderFormats() / | {name:ext} / {desc:codec} | 21.1 | Query available audio formats and codecs |
v21.1 verified via .pyi type stubs. SetCurrentRenderFormatAndCodec() does NOT work for audio — use SetRenderSettings() with AudioFormat/AudioCodec keys instead. Christoph Schmid | ||||
| Project.GetCurrentRenderFormatAndCodec() / | {f, c} / bool | Current format+codec | ||
| Project.GetCurrentRenderMode() / | int / bool | 0=Individual, 1=Single clip | ||
| Project.GetQuickExportRenderPresets() / | [names] / {status} | 19.1 | Quick Export (BUG: no custom presets) | |
| Project.GetRenderCodecs( | {desc: name} | Codecs for format | ||
| Project.GetRenderFormats() | {format: ext} | Available formats | ||
| Project.GetRenderJobList() | [jobs] | All queued jobs | ||
| Project.GetRenderJobStatus( | {status} | Status and completion % | ||
| Project.GetRenderPresetList() / | [presets] / bool | Manage render presets | ||
| Project.UpdateRenderPreset( | bool | 21.1 | Update existing render preset with current settings | |
| Project.SetQuickExportEnabledForRenderPreset( | bool | 21.1 | Enable/disable quick export for preset | |
| Project.GetRenderResolutions( | [{W, H}] | Available resolutions | ||
| Project.IsRenderingInProgress() | bool | Check render state | ||
| Project.SaveAsNewRenderPreset( | bool | Create/delete presets | ||
| ▶ | Project.SetRenderSettings( | bool | Set render parameters | |
All supported keys: No GetRenderSettings(). Must SetCurrentTimeline() first (changes UI). No SetRenderTimeline(). | ||||
| Project.StartRendering( | bool / None | Start by jobIds or all. isInteractiveMode optional. | ||
| TimelineItem | ||||
| TimelineItem.GetIsColorOutputCacheEnabled() / | bool / bool | 19.1 | Color cache control | |
| TimelineItem.GetIsFusionOutputCacheEnabled() / | str / bool | 19.1 | Fusion cache. Get returns str (auto/on/off state) | |
| TimelineItem.LoadBurnInPreset( | bool | Per-clip burn-in | ||
✔ = from community wishlist. Full changelog: BMD Forum
✓ v21.1 signatures verified from DaVinciResolveScript.pyi (1 Sep 2026). README.md and CHANGELOG.md also available.
⚠ Python → Studio only
SetClipProperty('Input Sizing Preset') returns True but doesn't apply. SetClipProperty('Reel Name') always False. SetSetting('useCustomSettings','1') overwrites defaults.
Keywords silently dropped on read/write. Internal attribute exists.
GetSourceEndFrame() returns end+1. Must subtract 1 for correct SubClip range. API: math.round(time)/FPS vs. Resolve: math.floor(time+0.00099)/FPS.
Mismatch mode not queryable.
RenderWithQuickExport() + GetQuickExportRenderPresets() skip custom presets.
SetInput() reports success, no visible change. Text color/size work.
API calls silently fail when Resolve shows a dialog (Project Settings, modal windows). Most API functions also fail while a UIManager modal window is open.
UI refreshes on every loop iteration. SetClipProperty() is dramatically faster on Deliver page (no source viewer).
GetSetting("timelineFrameRate") returns integer (e.g. "23") instead of float ("23.976") when OS uses comma as decimal separator. Workaround: lookup table mapping floor values to actual rates.
Project auto-backup during script execution causes API calls to fail. No way to postpone or lock. Workaround: .
Adding markers via API switches Resolve to Edit page automatically, except from Color page (where markers aren't redrawn). Workaround: save page with GetCurrentPage(), force OpenPage("edit"), restore after.
Returns True but doesn't apply if source viewer shows the clip's first frame. Workaround: switch to Deliver page before setting.
Returns translated strings based on Resolve language setting. Use GetClipProperty("Format") instead (empty string = timeline/compound, not media file).
Returns clips in non-deterministic order, not matching user sort. Folders also unsorted. Custom sort required.
From the Wishlist thread. 31 items delivered since April 2026.
API returns False/None without explanation.
4 years, 3 threads, 25+ votes. Exists in Fusion.
Exists in Fusion. Since 2022.
Lightweight event alternative. One integer per scope.
Delete+Ripple exists. Transitions added. Core edit ops still missing.
Bus architecture invisible.
Mixer completely closed.
Node graph structure yes, parameter values no.
Plugins invisible. DCTLs via OFX not by GetLUT.
No GetRenderSettings, GetCurrentRenderPreset, SetRenderTimeline.
GetName reads, SetName fails. No CreateSubtitleItem.
Source frame at timeline pos for retimed clips.
IDs on all objects, no reverse lookup.
Must delete+recreate, losing annotations.
Get exists (21.0.4), Set missing.
Stored queries on metadata that can already be set.
No events. Scripts must poll. Major architecture change.
Generators/titles at playhead only, no position/duration.
Can't duplicate clips. Retimes not reproducible.
Must change project settings as workaround.
Stream Deck integration needs UI state read.
ms = resolve.GetMediaStorage()
subs = ms.AddItemListToMediaPool([{"media":"/path/clip.mov", "startFrame":100, "endFrame":500}])for t in range(1, tl.GetTrackCount("video")+1):
for clip in tl.GetItemListInTrack("video", t):
for l in range(8):
g = clip.GetNodeGraph(l)
if not g: break
for n in range(1, g.GetNumNodes()+1):
if g.GetLUT(n)==old: g.SetLUT(n, new)
project.RefreshLUTList()scale = min(tl_w/src_w, tl_h/src_h)
new_x = float(old_x) * ((src_w*scale)/tl_w)
# Mismatch mode NOT queryable!Lock all timelines → move playhead → simulate Ctrl+B via AHK → unlock. Blocks computer. Fires in wrong app if tabbed.
orig = project.GetSetting("timelineResolutionWidth")
project.SetSetting("timelineResolutionWidth", "1920")
tl = media_pool.CreateEmptyTimeline("My TL")
project.SetSetting("timelineResolutionWidth", orig)
# FRAGILE: crash = corrupted settings./DaVinciResolve -nogui # API works, no UI# Utility folder = available on all pages in Workspace > Scripts
# Windows (user): %AppData%\Blackmagic Design\DaVinci Resolve\Support\Fusion\Scripts\Utility
# Windows (all): %ProgramData%\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Utility
# macOS (user): ~/Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Utility
# macOS (all): /Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Utility
# Linux (user): ~/.local/share/DaVinciResolve/Fusion/Scripts/Utility
# Linux (all): /opt/resolve/Fusion/Scripts/Utility
# Page-specific subfolders also available. Menu may be slow to update on Windows.# Retry loop when API calls fail during auto-backup
result = api_call()
start = bmd.gettime()
while not result and bmd.gettime() - start < 30:
script.sleep(500) # FFI: ffi.C.Sleep(ms) Win / ffi.C.poll(nil,0,ms) Unix
result = api_call()
# Also: bmd.wait(seconds) for simple Lua delaysinitial_page = resolve.GetCurrentPage()
resolve.OpenPage("deliver") # no source viewer = faster + avoids Start TC bug
for clip in clips:
clip.SetClipProperty("Start TC", tc)
resolve.OpenPage(initial_page)# Change marker color/name/note: must delete and recreate
m = timeline.GetMarkers() # {frame: {color, name, note, duration, customData}}
frames = sorted(m.keys()) # GetMarkers() returns unordered dict!
for f in frames:
timeline.DeleteMarkerAtFrame(f)
timeline.AddMarker(f, new_color, m[f]["name"], m[f]["note"], m[f]["duration"], m[f]["customData"])
# WARNING: Keywords are lost — API does not transport them# Timeline markers: frames relative to 0, add GetStartFrame() for absolute TC
abs_frame = marker_frame + timeline.GetStartFrame()
# Clip markers: frames relative to source media
# Visible range: GetLeftOffset() to GetLeftOffset()+GetDuration()-1
# Absolute timeline position of visible clip marker:
abs_frame = clip.GetStart() + (source_frame - clip.GetLeftOffset())ExportStills() fails if "Timelines" album is selected. Workaround: switch to another album first, then back.
# Survives script and Resolve restarts
fusion.SetData("MyTool.recent_paths", json.dumps(paths))
data = fusion.GetData("MyTool.recent_paths")
# Alternative (Lua file-based): bmd.writefile(path, data) / bmd.readfile(path)for ci in range(1, item.GetFusionCompCount()+1):
comp = item.GetFusionCompByIndex(ci)
for node in comp.GetToolList(False).values():
if node.GetAttrs().get('TOOLS_RegID') == 'TextPlus':
text = str(node.StyledText[1]) # read
node.StyledText = "new text" # write
comp.StartUndo("label"); # ... comp.EndUndo()1. Manually fill metadata in UI → 2. Call GetMetadata() with no args → returns all valid keys + types → 3. Use those keys for SetMetadata(). API docs don't list all valid keys; this empirical approach is the recommended way.
# GetSetting("timelineFrameRate") may return "23" instead of "23.976"
DR_FRAMERATES = {16:16, 18:18, 23:23.976, 24:24, 25:25, 29:29.97,
30:30, 47:47.952, 48:48, 50:50, 59:59.94, 60:60, 72:72,
95:95.904, 96:96, 100:100, 119:119.88, 120:120}
fps = DR_FRAMERATES.get(float(fps_str), float(fps_str))# 29.97 DF TC → frame number:
totalMin = 60 * h + m
frame = 108000*h + 1800*m + 30*s + f - 2*(totalMin - totalMin // 10)
# Frame number → 29.97 DF TC:
D = frame // 17982
M = frame % 17982
frame += 18*D + 2*((M - 2) // 1798) # special-case M=0,1
f = frame % 30
s = (frame // 30) % 60
m = ((frame // 30) // 60) % 60
h = (((frame // 30) // 60) // 60) % 24
# Frame ↔ real time: timeInSec = frameNumber / 29.97
# 108 frames/hour drift: DF drops 2 frames/min except every 10th min
# Separator: ; or , = drop frame, : or . = non-drop
RelinkClips() and ReplaceClip() return values cannot be fully trusted. Always re-read GetClipProperty("File Path") afterwards to verify the relink actually took effect.
bmd.wait(seconds) # simple sleep (Lua only)
bmd.gettime() # high-resolution timer (seconds)
bmd.readfile(path) # read file → Lua table
bmd.writefile(path, table) # write Lua table → file
bmd.fileexists(path) # check if file exists
bmd.readdir(path_pattern) # directory listing with glob
bmd.UIDispatcher(ui) # create event dispatcher for UIManager
iif(cond, true_val, false_val) # inline ternary (Fusion global)
splitpath(path) # → dir, file (Fusion global)
json = require("dkjson") # JSON encode/decode (built into Resolve)
# Also available: FFI libraries in Resolve install:
lib = ffi.load(fu:MapPath("FusionLibs:") .. "avutil*.dll") # Windows
# macOS/Linux: "FusionLibs:../" prefix. libavutil, libavcodec, libavformat bundled.# Lua (Fusion built-in):
path = fusion:RequestFile("/start/dir", "default.txt", {
FReqB_Saving = true,
FReqS_Filter = "CSV (*.csv)|SRT (*.srt)"
})
# Python: RequestDir for folder picker
folder = fusion.RequestDir("/start/dir")ui = fu.UIManager # or app.UIManager (Lua)
disp = bmd.UIDispatcher(ui) # Lua: bmd.UIDispatcher(app.UIManager)
win = disp:AddDialog({ID="myWin", WindowTitle="Title",
WindowModality="ApplicationModal",
WindowFlags={Window=true, CustomizeWindowHint=true, # Windows
WindowCloseButtonHint=true}, # macOS: {Dialog=true}
FixedSize={400, 300},
ui:VGroup{ ui:Button{ID="btn", Text="Go"} }
})
items = win:GetItems()
# Events + main loop:
win.On.btn.Clicked = function(ev) disp:ExitLoop("result") end
win.On.myWin.Close = function(ev) disp:ExitLoop() end
# Escape key = 16777216
win:Show()
result = disp:RunLoop() # blocks until ExitLoop(value)
win:Hide()
# Key widgets: Tree, ComboBox, SpinBox, CheckBox, Label, Button, LineEdit, TextEdit
# Tree: item:SetData(col,"DisplayRole",val) for sortable numbers
# ComboBox: :AddItems(list), :InsertSeparator(idx), .CurrentText
# Progress: ui:QueueEvent(win,"Update",{data}) + disp:StepLoop()
Andrew Hazelden UIManager Examples — comprehensive reference for all Qt widgets
These functions returned {dict} and are replaced by [list]-returning versions. The old names still work but are deprecated.
| PM.GetProjectsInCurrentFolder() | → |
| PM.GetFoldersInCurrentFolder() | → |
| Project.GetPresets() / GetPresetList() | → |
| Project.SetPreset(name) | → |
| Project.GetRenderJobs() | → |
| Project.GetRenderPresets() | → |
| MS.GetMountedVolumes() | → |
| MS.GetSubFolders(path) / GetFiles(path) | → |
| MS.AddItemsToMediaPool(...) | → |
| Folder.GetClips() / GetSubFolders() | → |
| MPI.GetFlags() | → |
| TL.GetItemsInTrack(type, idx) | → |
| TI.GetFusionCompNames() | → |
| TI.GetFlags() / GetVersionNames(type) | → / |
| TI.GetNumNodes() | → |
| TI.SetLUT(idx, path) / GetLUT(idx) | → |
| TI.GetNodeLabel(idx) | → |
These functions are no longer supported and will not work. Use the listed replacements.
| Project.StartRendering(idx1, idx2, ...) / ([idxs]) | → |
| Project.DeleteRenderJobByIndex(idx) | → |
| Project.GetRenderJobStatus(idx) | → |
| videoMonitorUseRec601For422SDI | → |
| perfProxyMediaOn | → |
Six principles from the community discussion and verified script patterns.
Every Set needs a Get.
API calls should not change UI state.
UniqueIds need reverse lookup.
Expose values as Resolve knows them.
API return values cannot be fully trusted. Always re-read state after Set/Relink operations. SetClipProperty() returns True even when it fails silently.
Metadata, property, and setting keys are not fully documented. The official BMD recommendation: fill values manually in UI, then call the Get function with no arguments to discover all valid keys and value types.
Scripting API Wishlist · Creating Scripts (roger.magnusson) · X-Raym Gist · Undo Stack (25+ votes)
Native MCP Server (v21.1) · davinci-resolve-mcp · StoryToolkitAI · FrameDeck Studio · X-Raym Scripts
UIManager Examples (Andrew Hazelden / Reactor) — comprehensive Python + Lua examples for all Qt widgets via fusion.UIManager
DVR Timeline Version Manager (grafsimeon) · EXIF Metadata Tool (deric) · TextPlusStyleCopier (Tetsuya Hayashida)