Build Your Own Motion Graphics Video Studio in Claude Code
Credit: @alicialyttle (opens in a new tab)

Build Your Own Motion Graphics Video Studio in Claude Code

One prompt sets up a small studio in Claude Code that turns code into motion graphics videos.

How to use

  1. Make a private GitHub repository for your videos.
  2. Open it in Claude Code.
  3. Paste the prompt.
  4. Check the 3-second test video.

FORWHAT

Original prompt · English

I want to make motion graphics videos with you, written as code. Set up a motion studio in this folder:
1. Each video is one HTML file in a videos folder. It sets window.DURATION (seconds), window.SIZE ([width, height]) and a window.render(t) function that draws the exact frame at time t. No CSS animations or timers, so every render comes out the same.
2. A render.mjs script that opens a video in a headless browser with Playwright, captures every frame at 30 frames per second, and joins them into an MP4 in an out folder with ffmpeg. Add a --stills 3 option that saves 3 still images instead, so I can check a video quickly.
3. A brand.css file for my colors and fonts.
Check what's already on my computer and list what you need to install before you install anything. Then make a 3-second test video that says "Hello from my studio" and render it.
Open in ChatGPT (opens in a new tab) Open in Claude (opens in a new tab)
Read more

Summary

Alicia Lyttle (@alicialyttle on X) shows how she makes branded motion videos without a video editor. She uses Claude Code in the browser and a free GitHub repository. Her post has 10 steps and gives a prompt for most steps.

The main prompt builds a small studio. Each video is one HTML file that draws each frame in code. A script records the frames with Playwright and joins them into an MP4 with ffmpeg. Later prompts add brand colors and fonts, a 30-second promo, music and a 9:16 version. She says you need a paid Claude plan.

For Cambodia

Many Cambodian shops and Facebook sellers need short promo videos for TikTok and Reels. This setup makes videos from code with your own brand colors. You do not need a video editor or a motion designer. You can add Khmer text to each video.

Notes

Note

Post by Alicia Lyttle (@alicialyttle on X), 25 Nov 2026, read via the X API on 2026-11-27. The prompt is step 04 ('Build the studio'), quoted verbatim from the post. The post also gives an extra line for cloud sessions and the later prompts for brand, video, edits and the 9:16 version. The post has no video or picture in the API data, so this page has no hero clip. Title, summary and why are in our words.

Source

Open the original source.

https://x.com/alicialyttle/status/2125606710052090042 (opens in a new tab)

Checked on 2026-11-27.

The first category on a case is its primary purpose. Any later category is a secondary tag.

Search the collection