Nathan Hodgson
Library
Setup guidesBeginner4 min readUpdated

Edit Videos in ChatGPT with the Codex Remotion Plugin

Install the official Remotion plugin in Codex, then caption a raw clip and cut its silences.

OpenAI's Codex has had a plugin marketplace since March 2026, and Remotion published an official plugin for it in April. Installing that plugin gives Codex a set of Remotion video skills, so you can point it at a raw clip and ask for captions and a cleaner cut. This guide covers the install, a first editing prompt and the checks worth doing before you export.

One thing to set expectations on first. Remotion builds videos as code, so what you get back is an editable Remotion project rather than a finished file that appears the second you drop a clip in. That surprises people, and it is also the reason you can keep changing the edit afterwards.

Install the plugin

1. Open the ChatGPT desktop app and switch to Codex. Go to the Plugins tab and search for Remotion.

2. Start a new project, then type the activation keyword below into the prompt and accept the Remotion plugin when Codex suggests it. Menu wording moves around between releases, so check the official page if what you see does not match.

Prompt
$remotion

Remotion: official Codex plugin instructions

OpenAI: Codex plugins

3. Remotion projects run on Node.js, so have it installed before you start. If you would rather scaffold the project yourself and open Codex inside it, the command below creates a blank one. Put a copy of your clip in the project's public folder and keep the original somewhere safe.

Terminal
npx create-video --yes --blank my-edit
cd my-edit
npm install
npm run dev

Ask for the first edit

Give Codex the real filename, then paste the prompt below.

Prompt
Use the Remotion plugin to edit public/my-clip.mp4. Transcribe my own audio and add on-screen captions from that transcript. Find the silences with FFmpeg and trim those gaps out. Animate the two or three most important points with restrained on-screen text. Build this as an editable Remotion composition and open the preview before rendering anything. List the cuts you made with timecodes so I can check them.

Swap my-clip.mp4 for your filename. If your clip already has captions burned in, say so in the prompt, otherwise you end up with two caption layers stacked on top of each other.

What the plugin is actually doing

  • The plugin ships a broad Remotion skill alongside focused ones including captions, create, docs search, interactivity, maps, markup, multimedia, render, studio and upgrade.
  • The captions skill covers transcribing, displaying and animating captions. Remotion's own captions workflow runs Whisper locally through its whisper.cpp package, so the words come from your audio rather than a guess.
  • Cutting silences is not a separate skill. It comes from the guidance inside the main Remotion skill for FFmpeg jobs like silence detection and trimming, so results vary more here than with captions.
  • Those gaps become trim points on the clip in the timeline, so nothing is destroyed and you can widen or drop any cut later.

Remotion: captions and Whisper

Give one clear revision

Prompt
At [timecode], [describe the exact problem in one sentence]. Change only that section. Leave my narration and every other approved scene untouched. Show me the revised section at normal speed, then check the frames immediately before and after it.

One change per message works far better than a list. Silence trims in particular tend to clip the start of a word, and those are much easier to spot and fix one at a time.

Check before you export

  • Play the whole edit with sound on. Listen at every cut for a clipped first syllable or a breath that got removed and left the pacing wrong.
  • Read the captions all the way through. Whisper handles names, tool names and acronyms poorly, so those are where the mistakes will be.
  • View it at phone size and keep on-screen text clear of your face and of the platform's own buttons. Text that animates in can still collide with a safe area on its way to its final position.
Prompt
Render the approved composition as an MP4. Confirm its resolution, frame rate, duration and audio afterwards. Keep the editable Remotion source and the media assets so I can change this edit again later.

Licensing

Remotion licenses individuals and companies differently, with a free tier for eligible individuals and smaller companies. The thresholds change, so read the current terms for your own situation before you use this commercially. Your ChatGPT plan and its usage limits apply as normal.

Remotion licence terms