A sofa against a plain wall. A beat later the wall is a rooftop at dusk, the person on the sofa and the camera's slow push untouched. That's the clip above, and it's close to what "codex davinci resolve" searches are actually asking: can a terminal coding agent make Resolve do that?
What Codex can reach inside Resolve today
DaVinci Resolve ships a real Python/Lua scripting API, deeper access than most editors expose. Point the Codex CLI at it and you get a genuinely useful tool: it can draft a script that adds a clip, nudges a cut point, or kicks off a render, because writing code against a documented API plays to exactly what a coding agent is built for.
What that script can't do is see. Codex CLI has no way to look inside Resolve's window, check that the edit it just pushed landed where it meant to, or notice a clip is one frame off. Community MCP servers that wrap Resolve's scripting API close part of that gap, letting Codex call Resolve functions as tools instead of hand-writing script files, but they're built by third parties, not Resolve or OpenAI, so check what calls and permissions a given one actually exposes before trusting it with a real project. Either way, it's still Codex operating Resolve from outside.
The three things a finished edit needs
- Seeing the shot, not guessing from a filename or a script's own assumptions about what's in frame.
- Acting on the real timeline, placing and trimming clips in the project itself, not in a file a script hopes applies cleanly.
- Generating or fixing a shot and placing the result back, instead of leaving a rendered file for you to drag onto a track.
A script that calls Resolve's API from a terminal can be well written and still miss all three, because nothing in that loop reads the result back.
The route that gives Codex a real timeline
Shoty is a desktop video editor (Mac and Windows) with an agent chat built in. Pick ChatGPT · my subscription in the model picker and Shoty runs the official Codex CLI on your machine, signed in with your own OpenAI account, with no fee from Shoty for the agent.
- Each turn, Shoty opens a local MCP server and hands Codex tools: look at a frame, read and update the timeline, generate a shot, export. Every call shows up in the chat.
- The timeline is a text format (
.shoty), so Codex reads and edits a structure the way it reads and edits code, rather than calling Resolve's scripting API one function at a time. - When the cut is done, Shoty exports it as EDL, FCPXML or OpenTimelineIO, the formats DaVinci Resolve, Premiere Pro and Final Cut Pro all open for the finish.
Codex never touches Resolve directly in this flow. It edits a project Resolve can later import, which sidesteps the scripting API for the part Codex is doing.
1. Hand Codex the part it's actually good at
Write a batch of clean, numbered filenames for these clips so the project reads in order, then cut the dead air out of the first five minutes.
2. Name what must not change on a VFX fix
Replace the wall behind the sofa in shot 2 with a rooftop at dusk. Keep the person, their pose and the camera's push exactly as they are.
3. Export for Resolve
Export this project as an EDL for DaVinci Resolve.
If you still want to script inside Resolve after the import, for something like Resolve FX automation or a Fusion node setup, its Python/Lua API is there and separate from this workflow.
Where this still needs you
- Judging the cut. Codex can draft and execute fast; which beat lands is still an editor's call, and the Shoty timeline is always open to trim by hand.
- Approving generated shots. Anything sent to a video model costs credits, so set the run mode to review if you want to sign off before it renders.
- Resolve-native work. Magic Mask, the Fusion page, and anything that needs Resolve Studio stay exactly where they are; Shoty hands off a timeline, it doesn't replace Resolve's own tools.
Download the free Shoty editor and pick ChatGPT (Codex CLI) from the model picker. For the Claude Code version of the same setup, see Claude Code DaVinci Resolve, or for Premiere Pro, Codex Premiere Pro.