How to Make Videos with Remotion and Claude Code
Set up a React video project, prompt what you want, and render real MP4s. Free for teams up to 3.
Learn to scale ads with AIThe setup is Install > Scaffold > Prompt > Preview > Render. You install two things (Claude Code and Node.js), scaffold a Remotion project with one command, then prompt Claude to build your video in React. The preview updates live as you work. When it looks right, render to MP4.
Install the prerequisites
You need two things:
- Claude Code (requires a paid Anthropic subscription)
- Node.js (free, download the LTS version)
Scaffold a Remotion project
Run npx create-video@latest in your terminal. When it asks:
- Select the Blank template
- Say yes to TailwindCSS
- Say yes to install Skills
Skills are documentation context files that Remotion built for Claude Code. They tell Claude how Remotion's API works so it writes valid code instead of guessing. Always install them.
Start the preview
Navigate into your project folder and run:
npm installnpm run dev
This opens Remotion Studio in your browser with a live preview of your video. Keep this running.
Open Claude Code in the project
Open a separate terminal window. Navigate to the same project folder and run claude. Claude now has access to your Remotion project files and the Skills you installed.
Prompt your video
Describe what you want in plain English. Something like: "Make a 10-second intro with my logo fading in, text sliding up from the bottom, and a gradient background." Claude writes the React components and Remotion composition for you.
Preview and iterate
Your browser preview updates as Claude makes changes. Watch the result, ask for tweaks. "Make the text bigger." "Slow down the fade." "Add a bounce effect." Keep going until it looks right.
Render to MP4
Tell Claude to render the video, or run npx remotion render yourself. You get a real MP4 file, ready to upload anywhere. Remotion also supports WebM, GIF, and image sequences.