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 RedditOpen the original Reddit post for the version with sound.
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…
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 ↗


