Free

Remotion: create video from React components with Codex

Create Remotion scenes from React components with Codex. Check the preview, video or image export and costs for your intended use.

Tools

Installation and quick start · Official documentation

Remotion builds videos from React components. Describe the result in Codex; the assistant creates scenes, opens preview and exports video or images. It suits carousels, animated diagrams and video series sharing a template.

What it is useful for

Use Remotion for precise text, element placement and repeatable output. Agree on a service card once, then change its heading, price and image without rebuilding the design.

  • Carousel: one composition per slide, separate MP4 and PNG exports.
  • Data video: charts and explanations driven by a verified spreadsheet.
  • Video tutorial: actual interface screenshots, highlighted buttons, titles and voiceover.

The assistant writes React; you do not need to know it to start. Compare HyperFrames for HTML/CSS scenes. A simple trim often needs only FFmpeg, without a new animation project.

How to prepare Remotion for Codex

Codex or Work needs local files and commands. Ask the assistant to check the Node.js and system requirements before installation. Use a supported Node.js LTS for a new project. Inspect existing projects before changing dependencies.

  1. Find the project and available Remotion plugin or skills. Reuse existing connections. Desktop ChatGPT has an official Remotion plugin.
  2. If no project exists, create a separate folder following the official guide. In existing projects, preserve the package manager, versions and working compositions.
  3. Add official skills and open Studio, the browser video preview. Check that the assistant sees compositions and can seek to a frame.

Official route for a new empty project:

npx create-video@latest --yes --blank my-video
cd my-video
npx remotion skills add
npm run dev

The assistant runs these after installation approval. my-video is a new practice folder, not a replacement for yours. Do not duplicate skills already installed through a plugin. This route uses projects and skills without a separate MCP.

How to build a scene and export files

Start with a six-second slide: a large heading, short explanation and three sequential points. Check it before building the series.

  1. Set composition dimensions, frame rate and duration. Six seconds at 30 fps is 180 frames. Leave reading time after the last point appears.
  2. Open Studio and check several frames. Motion must depend on frame number. Ordinary timers or CSS animation unconnected to frames can export differently.
  3. Save an MP4 and a PNG from a frame where all labels are visible. Open both, change one phrase and export again to test template editability.

Example commands for a composition named MyComp:

npx remotion render MyComp out/slide-01.mp4
npx remotion still MyComp out/slide-01.png --frame=150

The assistant finds the actual composition name and chooses a frame within its duration. Frame 150 fits this six-second, 30-fps example if the final content is visible. Frame zero with hidden text is unsuitable for a static version. See video export and still export.

Where it is used

The carousel guide includes an example with Remotion sources. Its export step delivers separate slides, not only a combined preview.

The animated video from code plan prepares the project and preview first; video review checks motion, sound and labels. These plans cover the full task; this card covers setup and the first run.

How to check results and costs

Check file dimensions, frame rate and duration. Watch it in a normal player: beginning, end, transitions, text in the chosen language, sound and pauses. Compare exported frames with Studio. Images and fonts must load before capture; a clean terminal does not replace viewing.

For black frames, check element visibility at that moment and asset paths. For interrupted export, read the error log and test a short section; reduce parallel frames if memory is exhausted. Do not recreate a project for one asset. Keep Remotion package versions aligned.

Under the current licence, individuals and commercial organisations with up to three employees can create videos free; larger commercial organisations require a company licence. Have the assistant check terms for your situation and version. Assistant use, paid media and cloud rendering cost extra. A first video can render locally.

Save sources, assets, dependency files and export commands. Stop Studio after work. Change content in a template copy while preserving accepted design.

Prompt for Codex

Paste into Codex or Work with computer access. It will find the existing project and prepare a sample first.

Help create a short video or animated carousel in Remotion. Use the language agreed for my content; ask if it is not established. Find the current project, my materials and available Remotion skills or plugin. Reuse the existing connection; if missing, check https://www.remotion.dev/docs/ai/coding-agents and https://www.remotion.dev/docs/ai/skills. Verify system, Node.js and licence requirements for my case and agree on missing installations. Do not replace an existing project or update all dependencies without cause.

Clarify the topic, platform and final files. Propose a script and build one scene first, with clear motion and readable text in the chosen language. Open Studio. Check the beginning, intermediate frames and end, font and image loading, and overlaps. Animation must match during seeking and export.

After approval, build the whole result and export MP4. For a carousel, provide each slide as separate MP4 and PNG from a frame showing all text. Find composition names and suitable frames yourself. Open finished files and verify dimensions, duration, sound and labels. Save an editable template, assets and repeat-build instructions. Use cloud rendering, paid services and publication only after my decision.
In This Article
Saved