Make videos with code.Free for every team, forever.
Clipframe turns JSON, HTML, Tailwind or a few lines of JavaScript into MP4 videos, and your AI assistant can drive it for you. Preview live, export in the browser or render from the command line. MIT licensed: no seat fees, no render fees, no company size limits.
$ git clone https://github.com/ferdousmikdad/clipframe && cd clipframe && npm i && npm run build
Then node bin/clipframe.js render examples/taskflow-promo/project.json. The npm package is on its way.
For AI
Ask Claude for a video.Get an MP4 back.
Clipframe ships an MCP server and an Agent Skill. Your assistant writes the project, looks at real frames, fixes what's off and renders the file, all on your computer. It writes short JSON, not animation code, so a whole video costs a few thousand tokens.
One command. Then ask for a video in any session.
$ claude mcp add clipframe -- npx -y github:ferdousmikdad/clipframe mcpPaste into the app's MCP config. In Claude Desktop: Settings → Developer → Edit Config. The same JSON works in Cursor, Windsurf and VS Code.
{ "mcpServers": { "clipframe": {
"command": "npx",
"args": ["-y", "github:ferdousmikdad/clipframe", "mcp"]
} } }For Claude Code, Codex and other agents that load skills: a step-by-step workflow plus the block reference.
$ npx skills add ferdousmikdad/clipframeAny assistant that can read the web can learn Clipframe from one page. Give it this link:
https://ferdousmikdad.github.io/clipframe/llms-full.txtclipframe_guidethe format and every block, in one readvalidate_projecterrors it can fix: s3.props.title: requiredrender_stillreturns the frame as an image, so the AI checks its workrender_videothe MP4, rendered on your machine
clipframe_guidevalidate_projectvalid · 6 scenes · 15.5srender_stillt = 4.2s
The hook reads well. I'll tighten the pricing scene, then render.
render_videoorbit.mp4 · 15.5s · 6.2 MBDone: ~/Clipframe/orbit.mp4. Want a 1:1 version for the feed too?
Make
Four ways to make a video.One renderer underneath.
Ask an agent, write JSON, design in HTML and Tailwind, or drop down to code. Every path ends in the same frame-exact MP4.
Agents write a few lines, not a codebase.
An agent describes the video as short JSON and Clipframe does the animation. Changes are small, checked edits, so a whole promo costs a few hundred tokens instead of thousands of lines of React.
- A one-line menu of every block for the model
- Atomic edit ops with undo-friendly results
- Errors a model can fix:
s3.props.title: required
// "Add a stats scene and make it orange" [ { "op": "add_scene", "scene": { "block": "stats-counter", "props": { "items": [{ "value": 128, "label": "Teams" }] } } }, { "op": "set_theme", "patch": { "primary": "#F97316" } } ]
A video is a list of scenes.
Pick a block, set its props, choose a transition. Themes, music, voice-over and sound effects live in the same file. Generate it from your data and render thousands of variations.
- 20 blocks: UI mockups, cursor clicks, pricing, stats, outros
- 16:9, 9:16, 1:1, 4:5, 4:3 at 720p or 1080p, 30 or 60 fps
clipframe render project.jsonfor an MP4
{
"meta": { "format": "9:16", "fps": 30, "resolution": "1080p" },
"scenes": [
{ "block": "title-reveal", "duration": 3,
"props": { "title": "Meet TaskFlow" } },
{ "block": "ui-mockup", "duration": 4,
"props": { "asset": "shot", "frame": "phone" },
"transition": { "type": "slide", "duration": 0.5 } }
],
"audio": { "music": "song", "duck": 0.3 }
}Real HTML and CSS, on the video clock.
Flexbox, grid, gradients, blur, 3D transforms, web fonts and Tailwind v4, compiled in the browser. @keyframes play frame-exact, and var(--t) gives you the time.
- Tailwind compiled with no build step
- Any Google Font, project images with
asset:ID - Frames wait for their fonts. No flashes, ever
{ "block": "html", "duration": 4, "props": {
"tailwind": true,
"html": "<h1 class='rise text-[140px] font-bold'>
Hello <span class='text-violet-400'>HTML</span>
</h1>
<div class='h-2 bg-white' style='width:calc(var(--p)*100%)'/>",
"css": ".rise{animation:rise .8s both}
@keyframes rise{from{opacity:0;translate:0 60px}}"
} }Code when you need it. React too.
A block is one small file: a schema and a function that returns HTML (or draws on a canvas) for each frame. Use interpolate and spring, or render a React component to markup.
- Plain JavaScript, TypeScript or React
- Remotion-style
interpolate,spring, easing - Same block in the player, the browser and the CLI
export default ({ z, defineHtmlBlock, interpolate }) => defineHtmlBlock({ id: "price", category: "data", defaultDuration: 3, schema: z.object({ price: z.number().default(29) }), tailwind: true, html: (p, f) => { const n = Math.round(p.price * interpolate(f.t, [0, 1.5], [0, 1])); return `<b class="text-[200px]">$${n}</b>`; }, });
Showcase
These are not recordings.They render live, right here.
Every video below is a small JSON file, drawn frame by frame by Clipframe in your browser. Open one in the playground to change it.
Included
Everything a video needs.Nothing behind a paywall.
Every feature ships in the same MIT-licensed package. There is no paid tier to unlock.
Player
Embed a live, editable video in any page, in plain JavaScript or React.
Export in the browser
H.264 and AAC with WebCodecs. Nothing is uploaded, nothing runs on a server.
Render anywhere
A command line on headless Chrome. Laptops, CI and your own servers.
HTML, CSS, TailwindNew
Real web layout with keyframes on the video clock and fonts that never flash.
Video
Trim, speed, zoom, framing and colour. Decoded frame-exact on export.
Audio
Music, voice-over and sound effects, with music that ducks under speech.
20 blocks
UI mockups, cursor clicks, feature grids, pricing, stats, testimonials, outros.
Transitions
Fade, slide, zoom and wipe between any two scenes.
Every format
16:9, 9:16, 1:1, 4:5 and 4:3. One project, re-laid out for each.
Every script
Latin and Bangla fonts bundled, shaped correctly. Any Google Font on top.
Your own blocks
One small file: a schema plus HTML or canvas drawing. No build step.
Built for agents
A block menu, edit ops and fixable errors. Videos cost tokens, not hours.
Why Clipframe
Ahead where it counts.Your budget, your license, your tokens.
Remotion pioneered video as code. Clipframe takes the same idea and removes the bill: open source, no seats, no per-render fees, and a format agents can write cheaply.
| Clipframe | Remotion | |
|---|---|---|
| License | MIT, open source | Source-available Remotion License |
| Companies of any size | Free, forever | Free up to 3 people, then a paid company license |
| Per-render fees | None | $0.01 per render, $100/month minimum (Automators) |
| Per-seat fees | None | $25/month per seat (Creators) |
| What you or your agent writes | Short JSON, HTML, or code | React components |
| Ready-made promo blocks | 20 included | Elements and templates |
| HTML, CSS and Tailwind | Yes | Yes |
| Use it from Claude, Cursor, Codex | MCP server with frame previews, Agent Skill, llms.txt | Agent Skills, plugins, WebMCP |
| Player, browser export, CLI render | Yes | Yes |
| Video, audio, transitions | Yes | Yes |
Remotion prices as listed on remotion.dev in November 2026. Remotion is still the pick for serverless rendering on AWS Lambda and its large plugin ecosystem; Clipframe renders on your own machines and servers.
Pricing
Free. Not free-for-now.The license says so.
MIT means you can use, change, ship and sell with Clipframe at any scale. Nobody can take that back.
- Every feature
- Unlimited renders
- Unlimited seats
- Commercial use at any company size
- MIT license
- Free only for individuals and teams of up to 3
- $25/month per creator seat
- $0.01 per render for automation, $100/month minimum
- Enterprise from $500/month
- Source-available license, not open source
Open source
Read it, fork it, ship it.Pull requests welcome.
The renderer, every block, the player, the exporter and the CLI are all in one MIT-licensed repository. New blocks are one file, and so is your first contribution.
import { createPlayer } from "clipframe/player"; import { renderToMp4 } from "clipframe/export"; createPlayer(el, { project }); // live preview const mp4 = await renderToMp4(project); // an MP4 Blob
Questions
Short answers.Honest ones.
Can Claude make videos with Clipframe?
Yes. Add the MCP server (claude mcp add clipframe -- npx -y github:ferdousmikdad/clipframe mcp) or the Agent Skill, then ask for a video. Claude writes the project, renders frames to check them, and renders the MP4 on your computer. The same works in Claude Desktop, Cursor, Codex and other MCP apps.
Is it really free for my company?
Yes. Clipframe is MIT licensed: use it commercially at any company size, with no seats, no render fees and no sign-up. Fonts are SIL OFL and the icons are ISC, both free for commercial use.
Can I bring my Remotion project over?
Not unchanged. Clipframe is not a drop-in replacement: scenes are JSON blocks, HTML or small code blocks rather than React trees. The animation helpers (interpolate, spring, easing) work the same way, so porting a component is usually quick, and React components can be rendered to HTML per frame.
Which browsers can export?
Chrome and Edge, which have WebCodecs video encoding. Every modern browser can preview. The CLI uses headless Chrome, so server rendering works anywhere Chrome runs.
Can I render on a server?
Yes: clipframe render project.json runs headless Chrome and writes an MP4. Run it in CI, a container or a queue worker. There is no hosted serverless service yet.
What can't the HTML scenes do?
Scripts inside the HTML don't run (logic goes in a code block), and <video> or <iframe> can't be embedded inside HTML. Put a video scene underneath an HTML overlay instead.
Do I need to install anything to try it?
No. The playground and the video at the top of this page render and export entirely in your browser.