
Claude Code + Remotion : des vidéos illimitées juste en promptant
Audio Summary
AI Summary
This video introduces a method for creating animated video intros using Cloud Code and Remotion, even for those without coding experience. The presenter demonstrates how to generate an animated intro in minutes by simply prompting a terminal in French.
Remotion is an open-source framework that allows users to create videos with code, specifically React. Essentially, you write React components to define video elements and their animations. While this traditionally required coding, the integration with Cloud Code, especially with the introduction of "agent skills" in January 2026, has made it accessible to non-coders. Previously, asking Claude to create a Remotion video was challenging as it struggled to understand instructions. However, with agent skills, Claude now has a deep understanding of Remotion, preventing it from generating non-existent code.
Using Remotion offers several advantages: it's precise due to its code-based nature, editable for post-creation adjustments, and scalable, allowing for the creation of templates that can be customized for multiple brands or videos.
The video then walks through the process of setting up a Remotion project. It's recommended to create the Remotion project first before launching Cloud Code, as Claude might struggle otherwise. The command to create a new Remotion project is provided. When prompted, select an empty template to start, and importantly, enable Tailwind and the agent skills by selecting "yes." All agents should be added to the current project scope, not globally.
After the project setup, the presenter explains how to use Cloud Code to generate video prompts. It's advised to communicate clearly with Cloud Code about your desired video and then ask it to generate the appropriate prompt for Remotion. The presenter demonstrates with a simple prompt: "Create a 3-second YouTube intro for my BenBK channel on a black background. The text BenBK appears in the center with a fade and a purple glow." The prompt also specifies the hexadecimal color code for purple, the video format (30 frames per second), and a modern tech channel aesthetic.
Cloud Code then uses its agent skills to create the necessary React components (TSX files). The presenter validates the changes and allows Cloud Code to install any required npm dependencies. Once the files are modified, a command `NPX Remotion Studio` is used in a new terminal to preview the video in a browser.
Initially, the generated intro is simple. The presenter then asks Cloud Code to increase the glow intensity and make the text pulse slightly after the fade-in. After updating, the `NPX Remotion Studio` needs to be relaunched to see the changes. The video also shows how to export the generated animation as an MP4 file. It's noted that since this is React-based, these animations can also be integrated directly into web applications or websites. The `public` folder is mentioned as a place to store other assets like videos, fonts, images, and sound.
To demonstrate more complex animations, the presenter uses a more elaborate prompt, which was also generated with Cloud Code, emphasizing that Cloud can formulate the prompts needed for Remotion. It's highlighted that multiple compositions (videos) can exist within the same Remotion project. While more complex prompts can consume more tokens, the presenter assures that even with a basic plan, it should be manageable for a few videos. The video then showcases the result of the more advanced animation, which took about 6 minutes to create.
Finally, the video addresses the limitations of this approach:
1. **Complex Animations:** Cloud Code can struggle with highly intricate animations. The golden rule is to start small and build up gradually.
2. **Audio Synchronization:** Syncing animations with audio remains challenging and often requires post-editing in specialized software like CapCut.
3. **Replacement for Professional Editors:** Remotion is not a replacement for video editing software like Premiere Pro for tasks such as editing a 15-minute talking-head video. It excels in motion graphics, intros, and animated elements for classic montages.
4. **Licensing:** Remotion is free for individuals and organizations with up to three people.
5. **Cost:** While a maximum plan might be fine, a professional plan at $20 could become expensive if creating videos all day.
The video concludes by encouraging viewers to like, comment, and share.