Find out how any short video was made
rea-video is an open-source tool for AI agents like Claude Code. Give it a video and it breaks it down shot by shot: filmed, AI-generated or built in code, plus a plan to remake it. Here's how to run it on a video you love.
By Alan Brown · Works with Claude Code
🎬 This free GitHub tool tells you exactly how any viral video was made.
- 🔍 It's called rea-video. It's open source (Apache-2.0) and built for AI agents like Claude Code and Codex: github.com/JuneYaooo/rea-video
- 📋 Paste one line into Claude Code: "Install github.com/JuneYaooo/rea-video, then break down this video", followed by the file path. The agent installs it and runs the whole thing. You need ffmpeg and Python 3.10+.
- ✂️ It cuts the video into shots, splits the audio into voice, music and sound effects, and labels each shot as live action, AI video, 3D, screen recording or code-built.
- 🧩 You get a report you can read plus a VIDEO.md file for your AI, with a plan to remake the video. Connect a video model like Gemini and it also writes a reverse-engineered prompt for every AI shot.
Context & limitations
The verdicts are confidence scores, not proof, so double-check the uncertain shots. Use it to learn how a video was made, then remake it with footage and music you have the rights to.
Do this yourself
Most viral videos are a mix of filmed shots, AI clips, screen recordings and coded graphics. Knowing which is which tells you what you'd actually need to make something similar with your own footage.
Want to build this with a teacher?
Pathwise Academy runs small, hands-on AI classes in Singapore for ages 10–17 and adults.
