
Remotion
Remotion is an open-source framework that lets developers program videos instead of clicking them together in an editing program. Each individual frame of a video is described like a webpage in the programming language JavaScript and is then automatically rendered.
Anyone creating a video normally opens an editing program, drags clips onto a timeline and exports the result. Remotion takes a different approach: the video is written as code. Every moment, every overlay, every animation is an instruction in the programming language JavaScript. Remotion reads this code and automatically generates a finished video from it. The result is the same MP4 file that an editing program would also output — only it was created from text instead of mouse clicks.
Why programmability changes video
A classic editing program is built for content that is created once and published once. But as soon as you need a hundred similar videos — for example, a personalized year-in-review for every user of an app — this quickly reaches its limits. It can’t be done by hand.
Remotion solves this problem because code can be fed with data. You write the video once as a template, then pass different numbers or names for each user, and Remotion automatically renders individual versions. Spotify uses exactly this principle for its annual “Spotify Wrapped” feature, which shows every listener their personal yearly statistics as a video.
Another advantage is version control. Anyone writing code can track every change, undo it, and collaborate on it with others — just like with software. With a video file from an editing program, this is not possible.
How JavaScript code becomes a video
Remotion builds on React, a widely used tool with which developers build user interfaces for websites. In React, you describe what a page should look like — Remotion extends this with a time dimension. Instead of saying “show this text,” you write “show this text starting at second two, and have it fade in over 30 frames.”
When rendering, Remotion goes through the video frame by frame. For each of the 24 or 30 frames per second, it calculates the state of the scene and saves it as a single still image. In the end, all the still images are assembled into a video. This process runs entirely in the background without a visible window.
For simple projects, a normal laptop is sufficient. Complex videos with many elements can be split across multiple machines in the cloud, which work in parallel on different sections. Remotion offers its own service for this called Remotion Lambda, which runs on Amazon's cloud infrastructure.
Where Remotion shows up in practice
The best-known example is the Spotify Wrapped already mentioned. Every year in December, every Spotify user gets a short video with their listening data — that’s hundreds of millions of individually rendered videos, which would be inconceivable without Remotion.
Beyond that, developers use Remotion for automatically generated news videos, social media clips with changing product data, or instructional videos with dynamic graphics. Individual developers also use it to build elaborate animations for YouTube channels without having to learn an expensive graphics program.
Remotion is not an AI tool in the narrower sense. It does not generate content itself, but executes instructions. Nevertheless, it frequently appears in AI contexts because AI models can be used to write the Remotion code or to automatically generate the content — texts, images, voice output — that Remotion then assembles into a video.