Pathwise AcademyOnline & In-Person AI ClassesIdea to BuildCreators Club · Ages 10–17Marketing with AI · AdultsCorporate WorkshopsHackathons for SchoolsSingaporeHong Kong
Pathwise AcademyAI classes for kids & adults
Find a class →Log in
← All free guides
Creating contentBeginner · about 15 minFree · no signup

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

Jump to the prompt ↓

🎬 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

I want to learn how a short video I like was made, using rea-video (https://github.com/JuneYaooo/rea-video). Install https://github.com/JuneYaooo/rea-video, then break down this video: ___ (path to the video file on my computer) When the breakdown is done: 1. Give me a one-paragraph summary: how many shots, how long each one runs on average, and the mix of filmed, AI-generated, screen-recorded and coded shots. 2. List the 3 shots that matter most to the hook and explain how each was made, in plain English. 3. Tell me what equipment, apps or footage I'd need to make my own version on ___ (my topic), and which shots I could film on my phone. 4. Point out any shots where you're unsure, and check those frames yourself before answering. Use the video only to learn its structure, pacing and techniques. Don't copy anyone else's footage, music, characters or likeness, and remind me to use material I have the rights to.

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.