Short Film · Dec 26, 2025

Using Claude Code for programmatic video generation (no diffusion, no frames)

Using Claude Code for programmatic video generation (no diffusion, no frames) by knayam. Watch the Short Film video and visit the original Reddit post.

knayamu/knayam
View on Reddit
Model not specified
9 net upvotes on Reddit, checked Nov 9, 2026

Open the original Reddit post for the version with sound.

From the creator’s post · knayam on Reddit
Most “AI video” tools rely on generating frames, which I’ve found unpredictable and hard to control, especially when you’re trying to show text or code in the video. I ran an experiment using Claude Code instead: generate **React animation code** from a script, then render that code into a video. No hallucinated frames, just motion graphics. This approach feels closer to “compiled video” than generated video. Pros so far: * Easy to edit and fix small issues * Good at showing code and other text in the video since code is also just text * Ability to recreate reference animation styles Cons: * Still limited stylistically, cannot make realistic videos * Videos need small tweaks in claude code to get to production quality I’m sharing mainly to get feedback on the idea itself. Repo is open here if anyone wants to poke holes in it: [https://github.com/outscal/video-generator](https://github.com/outscal/video-generator) Would love thoughts on where this breaks down or where Claude…
From the creator

The prompt behind it.

The creator has not shared a public prompt. Visit the original post for more about this work.

Video and prompt by knayam. Original post ↗

Is this your work? Add the badge

Paste this on your site or README to link people to this page.

Featured on motif
<a href="https://createmotion.io/motions/reddit-1pvzbcv/"><img src="https://createmotion.io/featured-on-motif.svg" alt="Featured on motif" width="188" height="44"></a>