[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114995":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":12,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":16,"compositeScore":17,"rankGlobal":8,"rankLanguage":8,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":8,"pushedAt":39,"updatedAt":40,"readmeContent":41,"aiSummary":42,"trendingCount":13,"starSnapshotCount":13,"syncStatus":14,"lastSyncTime":43,"discoverSource":44},114995,"givemotion","givemotion\u002Fgivemotion","Make videos with AI, free and open source (MIT). A code-to-video engine for AI agents: the agent writes HTML\u002FCSS, checks and previews its own video, and renders MP4.",null,"JavaScript",88,10,1,0,2,34,12,67.52,"MIT License",false,"main",true,[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"agent-skills","ai-agents","animation","claude-code","codex","cursor","ffmpeg","headless-chrome","html-to-video","motion-design","motion-graphics","mp4","open-source","programmatic-video","video","video-generation","2026-11-19 04:12:49","2026-11-23 18:38:11","\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fmedia\u002Flogo\u002Fwordmark-dark.svg\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Flogo\u002Fwordmark-light.svg\" height=\"64\" alt=\"givemotion\">\n\u003C\u002Fpicture>\n\n# givemotion: make videos with AI, free and open source\n\n**Ask your AI agent for a video and get a finished MP4.** givemotion is a free, open-source (MIT) video engine that lets AI coding agents like **Claude Code**, **Codex** and **Cursor** make motion graphics for you: launch videos, explainers, animated charts, vertical shorts, UI demos and title sequences.\n\nYou describe the video in plain words. The agent builds it, looks at its own frames, fixes what is off, and renders the file. Then you ask for changes the way you would ask a motion designer, and only what you asked about changes.\n\nIt is free and open source (MIT): no account, no seats, no fee per video, zero npm dependencies, and you can fork it and make it your own. Created by [Leonardo Grigorio](https:\u002F\u002Fgithub.com\u002Fleonardogrig) as an independent project (formerly called *motionwright*). Full research paper and test videos: **[givemotion.org](https:\u002F\u002Fgivemotion.org)**.\n\nIf you are looking for a way to **make videos with Claude Code**, an **AI motion graphics tool you can run in your own project**, or a **free, open-source way to make videos with code** (an MIT alternative to Remotion and HyperFrames), this is it.\n\n\u003Cp>\n  \u003Cimg src=\"docs\u002Fmedia\u002Fdata-story.gif\" width=\"42%\" alt=\"Data story made by an AI agent with givemotion: the camera rides a growing line chart\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Flighthouse-opus.gif\" width=\"42%\" alt=\"The last lighthouse, a cinematic title sequence made by an AI agent with givemotion: a light beam sweeps a night sea and carries into the title\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Fvertical-short.gif\" width=\"13%\" alt=\"Vertical short for social media made by an AI agent with givemotion, with word-by-word captions\">\n\u003C\u002Fp>\n\n*Each of these was made by a fresh Claude Opus agent from a one-paragraph brief, using only this project's docs (data story and vertical short: 24 October 2026, [round-3 remakes](docs\u002Fexperiments\u002F2026-10-t2-examples.md); lighthouse: 27 October 2026; `givemotion 0.1.0` pre-release). The data story is in [`examples\u002Fdata-story`](examples\u002Fdata-story); more are in [`examples\u002F`](examples) and on **[givemotion.org](https:\u002F\u002Fgivemotion.org#videos)**.*\n\n---\n\n## Try it in 1 minute\n\nIn your project folder, run:\n\n```bash\nnpx givemotion init my-video\n```\n\nIf you'd rather not use the terminal, ask your agent to do it: *\"Set up givemotion in this folder.\"* Either way you get a starter video and the instructions your agent needs. Then ask for the video you want:\n\n> \"Make a 20-second launch video for our app. Use our logo and colors, and put music under it.\"\n\nThe agent writes the video, runs the checks, looks at the frames, fixes what is wrong, and renders `out\u002Fvideo.mp4`. You can watch and scrub it live with `npx givemotion dev my-video`.\n\nThen ask for changes the way you would ask a motion designer: *\"make the title blue\"*, *\"hold the chart two seconds longer\"*. The agent edits the video and renders again, and only the parts that changed are redone.\n\n**Already have a project?** Add just the agent instructions:\n\n```bash\n# Installs .claude\u002Fskills\u002Fgivemotion\u002F (Claude Code), .agents\u002Fskills\u002Fgivemotion\u002F (Codex), and AGENTS.md (Cursor & others)\nnpx givemotion skill\n\n# Or as a Claude Code plugin:\n\u002Fplugin marketplace add givemotion\u002Fgivemotion\n\u002Fplugin install givemotion@givemotion\n\n# Or with the Skills CLI:\nnpx skills add givemotion\u002Fgivemotion\n```\n\n**You need:** Node.js 20+ and `ffmpeg`. Chrome is found on your machine or downloaded for you (`npx givemotion install`). Run `npx givemotion doctor` to check your setup and skill version.\n\n---\n\n## How it differs from AI video generators\n\nAI video generators (the models that turn a prompt into a clip) paint every frame from scratch. That is what you want for footage of things that were never filmed. It gets hard when you need one specific video: ask for one word to be fixed and the model makes the whole clip again, and something else comes out different. Text gets misspelled, logos get warped, and every attempt is paid for.\n\ngivemotion works the way a motion designer works. The agent builds the video out of real pieces (your logo file, your fonts, your exact words and numbers, shapes, illustrations, a camera, your music), and givemotion plays it back and records it frame by frame. For you that means:\n\n- **The same video every time.** Render it again tomorrow and you get the same video. Nothing drifts between versions.\n- **Change one thing and only that changes.** *\"Make the title blue\"* turns the title blue and leaves the rest as you approved it. Only the 1–2 second stretch of video the change touches is rendered again, byte-identical to a full render, so a small fix usually takes seconds.\n- **Text and logos come out right.** Words are typeset, not drawn by a model, so they are sharp and spelled the way you wrote them. Your logo is your actual file.\n- **Cheap to make and to change.** It renders on your own computer, with no fee per second of video. You pay for your AI agent as you already do; givemotion itself costs nothing to run.\n- **Many versions from one video.** Swap the name, the numbers or the language (`--data`) and render as many copies as you need, while keeping the source file for next month's update.\n\n**What you can make:** launch videos and app promos (with a cursor that clicks the real button), explainers with a camera that moves over a map or UI, hand-drawn whiteboard explainers (Excalidraw-style sketchy shapes and self-drawing arrows), live animated charts from your own numbers, vertical shorts for TikTok, Reels and Shorts with word-by-word captions, code explainers, logo stings, and transparent overlays (ProRes 4444 \u002F WebM) for Premiere, DaVinci Resolve or Final Cut.\n\nWhat it doesn't do is generate footage—it cannot film a photorealistic dog on a beach. If you need generated footage, make the clip with a video model and have the agent place it into a givemotion video.\n\n---\n\n## Why it exists\n\nI started givemotion because of how AI video models handle changes. When one detail is wrong, you ask again and the model makes the whole video again, and something else often comes out different. With code, a change is an edit: the agent changes one color or one timing and everything else stays as it was. I wanted an engine built around that loop—where the agent writes, checks, looks and fixes, and where a small fix costs a small render—and I wanted it under MIT so anyone, at any company size, can use it, fork it, or build a product on it without conditions.\n\nIt is an independent project, and it gets better in rounds: fresh agents make real videos from the docs alone, blind judges score them, and where the agents struggled becomes engine fixes.\n\n— Leo\n\n---\n\n## Why it works well with AI agents\n\nMost video tools were built for people dragging layers on a timeline. AI agents work differently, so givemotion is built around how they actually behave:\n\n1. **It uses what AI already knows best: plain HTML, CSS and JavaScript.** A video is one HTML file with no build step. Models have seen billions of web pages, so they write them well. In our **October 2026 format test** (`givemotion 0.1.0` pre-release; 12 fresh Claude Opus agents, 4 briefs, 8 blind judges), plain HTML ranked first in 6 of 8 cases ahead of HTML with ready-made blocks and React ([the experiment](docs\u002Fexperiments\u002F2026-10-format-test.md)), matching outside research (DesignBench, 2025).\n2. **The agent can check its own work.** An agent cannot watch a video in real time, so the engine does it for them:\n   - `check` finds text that is cut off, off screen, covered, overlapping, too small or low in contrast, lines running through labels, two scenes' text smudged together in a transition, broken files and script errors, plus pacing faults (long dead stretches, an empty opening, text that leaves before you can read it, or a camera move that arrives too late), and says how to fix each one.\n   - `snapshot` reads the timeline and picks the settled moments of each scene and camera shot into one contact sheet, so the agent sees the whole video at a glance instead of guessing timestamps.\n   - `review` checks every timed beat of a brief (`beats.png`), builds motion strips at the hand-overs and busiest moments, and gives a scoring rubric for a fresh critic sub-agent. `analyze` does the same for any reference MP4 (`--compare` lists how yours differs).\n3. **Motion design tools are built in, not hand-coded from scratch.** Camera moves and 3D worlds that blend like an operator, motion along paths, shape morphs, elements that fly from one scene into the next, 25+ transitions, kinetic type, particle bursts, live line charts the camera can ride, hand-drawn sketch shapes with line boil and tapered ink, labels pinned to shapes, rolling number readouts, and cuts that land on the music's beats are all built in.\n4. **Change one thing, render one part.** Every 1–2 second segment carries a fingerprint of everything that can affect its pixels, and 1 worker and N workers produce the same bytes. After an edit, only the segments whose fingerprint changed are re-rendered.\n5. **Motion craft lives in the agent's docs.** The skill pack has a short core (`SKILL.md`) plus topic files the agent reads only when needed: 15 render-verified technique recipes, 8 named looks, 9 genre guides, and 7 bundled OFL fonts (`Inter`, `JetBrains Mono`, `Playfair Display`, `Space Grotesk`, `Bebas Neue`, `Nunito`, `Caveat`) so renders look identical on every machine.\n\n---\n\n## Tested with AI agents (research & evaluation)\n\nEvery test below ran with fresh, isolated agent sessions that saw only their own tool's official docs, scored by blind AI judges. The full paper, interactive video players, side-by-side frame crops and raw data are on **[givemotion.org](https:\u002F\u002Fgivemotion.org#evaluation)** and in [`docs\u002Fexperiments\u002F`](docs\u002Fexperiments\u002F).\n\n### 1. givemotion vs Remotion vs HyperFrames on random briefs (5–6 November 2026)\n\nEach brief was drawn at random (genre, subject, three motion techniques, format, length) with a recorded seed and written by a fresh AI session that did not know the tools. Across rounds 2–8 (**5–6 November 2026**), fresh **Claude Opus 5.5** agents (effort `high`) built each brief in each tool on one 4-core Linux machine without a GPU. Rounds 7 and 8 (**6 November 2026**) used **two independent makers per tool per brief** (16 briefs, 22 judged sets in total). Six blind Claude Opus 5.5 judges scored each set of three videos.\n\n- **Versions:** `givemotion 0.1.3` (rounds 2–6) and `0.1.4` development branch (rounds 7–8, released on npm as `0.1.5` on 9 November 2026) · `Remotion 4.0.541` · `HyperFrames 0.9.17` (round 2) and `0.9.18` (rounds 3–8).\n\n| | givemotion | Remotion | HyperFrames |\n|---|---:|---:|---:|\n| **Latest round (Round 8, 6 Nov 2026):** judges' mean (1–10, 6 sets) | **7.61** | 6.94 | 6.75 |\n| **Sets won in Round 8** (of 6, both vertical sets included) | **5** | 1 | 0 |\n| **Round 7 (6 Nov 2026):** judges' mean (1–10, 6 sets) | **7.20** | 7.17 | 6.30 |\n| **Rounds 2–6 (5–6 Nov 2026):** judges' mean (1–10, 10 sets, 1 maker\u002Ftool) | 6.80 | **7.13** | 7.02 |\n| **All 22 sets (Rounds 2–8):** judges' overall mean (1–10) | **7.13** | 7.09 | 6.75 |\n| **Judges ranking it first, all 22 sets** (132 rankings) | **57** | 50 | 25 |\n| **Cost at API list prices, all 22 sets** | $125 | **$105** | $122 |\n| **Code the agents wrote, all 22 sets** | **12,502 lines** | 33,257 lines | 26,545 lines |\n| **Render time, the 15 briefs timed** (one at a time, no cache) | **387 s** | 1,404 s | 1,214 s |\n\n\u003Cimg src=\"docs\u002Fmedia\u002Fr8p-3-rebuild.jpg\" width=\"100%\" alt=\"Round 8, Brief P at 12.0 s: givemotion's 37 has re-formed from its shards before the wipe; Remotion's and HyperFrames' are still scattered particles\">\n\n*One moment from Round 8, Brief P (\"Locked Tight\", a vertical year in review, 6 November 2026) at 12.0 s: the brief asks for the \"37\" to burst, rebuild, and only then wipe to the next word. givemotion's has rebuilt on time (left); Remotion's (middle) and HyperFrames' (right) are still scattered while the wipe has already started. All four decision moments, including where Remotion's carousel beat givemotion's, are in the [rounds 7–8 report](docs\u002Fexperiments\u002F2026-11-rounds-7-8.md) and on [givemotion.org](https:\u002F\u002Fgivemotion.org#evaluation).*\n\n**What the rounds showed:**\n- givemotion trailed in rounds 2–6 (including a clear loss to HyperFrames on Brief A, *\"The City Hive\"*, 6.0 vs 6.2 vs **8.0**, which led to new sketch ink and boil tools), tied at the top in round 7 (7.20 vs 7.17), and led round 8 (**7.61** vs 6.94 vs 6.75, 5 of 6 sets and 24 of 36 #1 judge picks) after adding beat-by-beat `review` verification and vertical layout rules.\n- givemotion agents wrote roughly a third of the code of Remotion and rendered fastest on every brief timed, but the `review` and critic passes meant givemotion agents spent ~40% more in tokens than Remotion in round 8 ($33.08 vs $23.53) and took ~25% longer.\n- Small sample (1–2 runs per brief on one machine) and AI judges looking at frames and 10 fps strips: read it as a running record, not a final benchmark.\n- **Watch & reproduce:** [Round 8 videos](docs\u002Fexperiments\u002Fvideos\u002Fround-8\u002F) · [Round 7 videos](docs\u002Fexperiments\u002Fvideos\u002Fround-7\u002F) · [Rounds 7–8 report (6 Nov 2026)](docs\u002Fexperiments\u002F2026-11-rounds-7-8.md) · [All rounds 2–8 report (5–6 Nov 2026)](docs\u002Fexperiments\u002F2026-11-random-briefs.md) · [Reproducible kit](docs\u002Fexperiments\u002Fdata\u002F2026-11-random-briefs).\n\n**Earlier single-brief showcases & internal rounds:**\n- **KINETIC 20 s motion reel (5 November 2026):** `givemotion 0.1.3` (`26c811f`) vs `Remotion 4.0.541` vs `HyperFrames 0.9.15`, Claude Opus 5.5 (effort `high`), 6 blind judges. **givemotion 7.8** (first for 5 of 6 judges, 347 lines), **Remotion 7.2** (1,252 lines), **HyperFrames 6.2** (763 lines). On this heavy 24-card 3D blurred grid without a GPU, givemotion rendered slowest (331 s after fixing browser selection, vs 176 s and 142 s) ([report](docs\u002Fexperiments\u002F2026-11-kinetic-three-engines.md)).\n- **FLUX 20 s opener (2 November 2026):** `givemotion 0.1.2` vs `Remotion 4.0.539` vs `HyperFrames 0.8.230`, Claude Opus 5.5 (effort `medium`), 6 blind judges. **Remotion 7.7**, **givemotion 7.5** (tied 1.5 average rank, 3 #1 picks each), **HyperFrames 6.2**. Rendered on an Apple M4 Pro Mac (with GPU): **HyperFrames 11.1 s**, **givemotion 15.4 s**, **Remotion 50.6 s** ([report](docs\u002Fexperiments\u002F2026-11-tools-showcase.md)).\n- **9-brief givemotion vs Remotion test (October 2026):** `givemotion 0.1.0` pre-release vs `Remotion 4.0.538`, 9 genres × 2 runs (36 videos), 27 blind judges: **givemotion 7.2** vs **Remotion 6.8** (5 of 9 briefs won, 240 vs 617 median lines, 547 s vs 1,102 s render time on 4 CPUs without a GPU).\n\n### 2. Models and effort levels\n\n**Same model, four effort levels — *\"Biscuit's morning walk\"* (2 November 2026, `givemotion 0.1.2`):**\nClaude Opus 5.5 at effort `low`, `medium`, `high` and `xhigh`, each in a fresh session with the same prompt, made a 20 s illustrated short: a dog's walk cycle, a gallop, a leap over a puddle and a title. Eight blind Opus judges scored them ([the experiment](docs\u002Fexperiments\u002F2026-11-efforts-showcase.md)).\n\n\u003Cimg src=\"docs\u002Fmedia\u002Fefforts-showcase.gif\" width=\"100%\" alt=\"Biscuit's morning walk made by Claude Opus 5.5 at effort low, medium, high and xhigh with givemotion, playing side by side in a 2x2 grid, then a scoreboard\">\n\n| | low | medium | high | xhigh |\n|---|---:|---:|---:|---:|\n| **Judges' overall (1–10, mean of 8)** | 5.3 | 6.9 | 6.6 | **8.0** |\n| **Tokens \u002F tool calls** | **0.6M \u002F 13** | 5.1M \u002F 39 | 5.0M \u002F 34 | 30.8M \u002F 110 |\n| **Cost at API prices \u002F minutes** | **$1.15 \u002F 5 min** | $4.06 \u002F 17 min | $4.43 \u002F 20 min | $14.46 \u002F 53 min |\n\n`xhigh` was first for 7 of 8 judges; `medium` was the best value ($4.06 vs $14.46). `low` framed the dog too small to read and checked its own frames only four times.\n\n**Same brief, different models:**\n- ***\"Code in, motion out\"* (31 October 2026, `givemotion 0.1.1` dev):** Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 each built a 20 s continuous take (a typed `\u003Cmotion>` breaking into 3D shapes, a tilted orbiting ring, a collapse into the title); all four delivered every beat at 1080p ([report](docs\u002Fexperiments\u002F2026-10-models-showcase.md) · [watch 2×2 video on givemotion.org](https:\u002F\u002Fgivemotion.org#main)).\n- ***\"The last lighthouse\"* (27 October 2026, `givemotion 0.1.0` pre-release):** Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 and Gemini 4 Argon on a 15 s title sequence ([watch all four on givemotion.org](https:\u002F\u002Fgivemotion.org#videos)).\n\n---\n\n## How it compares\n\nThree tools turn HTML in headless Chrome into video and encode with `ffmpeg`: **givemotion**, **HyperFrames** (by HeyGen) and **Remotion**. Here is where they differ, from each project's own docs, license and repository, checked on **27 October 2026** (`givemotion 0.1.5`, `HyperFrames 0.8.209`, `Remotion 4.0.539`); tell us via an [issue](https:\u002F\u002Fgithub.com\u002Fgivemotion\u002Fgivemotion\u002Fissues) if something changed.\n\n| | givemotion | HyperFrames | Remotion |\n|---|---|---|---|\n| **Made by** | Independent project by Leonardo Grigorio | HeyGen | Remotion |\n| **License** | MIT | Apache 2.0 | Source-available, its own license (not open source by the OSI definition)¹ |\n| **Free for companies** | Yes, any size | Yes, any size | Up to 3 people; at 4 or more people (all staff), a paid license per seat or per render¹ |\n| **Fork it and sell your fork** | Yes | Yes | No¹ |\n| **Videos are written in** | HTML, CSS, JavaScript | HTML, CSS, JavaScript | React |\n| **Instructions for agents** | Skill pack, Claude Code plugin, `AGENTS.md`, `llms.txt` | 7 skills, Claude Code plugin, hosted MCP server (beta), `llms.txt` | 12 Agent Skills, Claude Code plugin, WebMCP in Studio, docs as Markdown |\n| **Agent checks its own video** | `check`: cut-off, covered, overlapping, tiny and low-contrast text, lines through labels, smudged transitions, broken files, script errors, pacing | `lint` and `check`: script errors, layout (overflow, clipping, occlusion), motion assertions, WCAG contrast, craft warnings, audio | ESLint plugin; we found no layout checker |\n| **Agent looks at frames** | `review` (brief beats, motion strips, rubric), `snapshot` (auto key moments), `analyze` and `--compare` | `snapshot` at times you give, onion-skin trail, side by side with a reference | `still`, or chosen frames as images |\n| **Render again after a small change** | Only the 1–2 s parts that changed, automatically, byte-identical to a full render | No reuse of unchanged parts that we found (caches frames taken from source videos) | No automatic reuse that we found; you can render a frame range you choose |\n| **Same bytes with 1 or N workers** | Yes, tested (one open macOS case under load) | \"Same input, identical output\"; Docker recommended for exact output across machines | Pure function of the frame number; no byte-identical claim |\n| **Built-in motion** | Camera, paths, morphs, fly, hand-drawn shapes, live charts, rolling readouts, beat-synced cuts; 22 blocks | A catalog of about 450 blocks; GSAP, Lottie, Three.js, Anime.js | `spring()`, `interpolate()`, add-on packages (transitions, paths, shapes, GSAP) |\n| **Output** | MP4, WebM, MOV (ProRes 4444 with transparency), GIF, PNG frames, MP3\u002FWAV\u002FM4A | MP4, WebM, MOV (ProRes 4444), GIF, PNG frames, HLS, HDR | H.264, H.265, VP8, VP9, AV1, ProRes, GIF, image sequences, MP3\u002FWAV\u002FAAC |\n| **Cloud rendering** | None | AWS Lambda, Google Cloud Run, HeyGen's cloud (credits) | AWS Lambda, Google Cloud Run (alpha), Vercel Sandbox |\n| **Editor** | Browser preview (`givemotion dev`) | Browser studio and a desktop app with a built-in agent (HeyGen sign-in) | Remotion Studio; a paid editor template |\n| **Built-in AI extras** | None | Text to speech, transcription, background removal | Whisper caption packages |\n| **npm packages installed²** | **1** (zero dependencies) | about 66 | about 237, plus React |\n| **Usage data sent** | None | On by default, can be turned off; tied to your HeyGen email after login | With a license key set, and always from in-browser rendering |\n\n¹ Remotion's [license](https:\u002F\u002Fgithub.com\u002Fremotion-dev\u002Fremotion\u002Fblob\u002Fmain\u002FLICENSE.md), [terms](https:\u002F\u002Fwww.remotion.dev\u002Fdocs\u002Fterms) and [license FAQ](https:\u002F\u002Fwww.remotion.dev\u002Fdocs\u002Flicense\u002Ffaq). Read them yourself before you decide; this is our summary as of 27 October 2026, not legal advice.\n² Counted from the npm registry for `givemotion`, `hyperframes` and `@remotion\u002Fcli`, without optional and peer dependencies. Sources: HyperFrames [docs](https:\u002F\u002Fhyperframes.heygen.com) and [repo](https:\u002F\u002Fgithub.com\u002Fheygen-com\u002Fhyperframes); Remotion [docs](https:\u002F\u002Fwww.remotion.dev\u002Fdocs) and [repo](https:\u002F\u002Fgithub.com\u002Fremotion-dev\u002Fremotion).\n\n### Which one to pick\n\n- **Pick givemotion if** you want an engine with no license conditions you can fork and sell, no dependencies and no data sent anywhere; if your agent will make many small changes and you want each re-render to be quick; or if you want built-in motion tools and checks that also look at pacing.\n- **Pick HyperFrames if** you want the biggest feature set right now: cloud rendering, a desktop app, voice and transcription tools, HDR and HLS output, a large block catalog, and a large community backed by HeyGen.\n- **Pick Remotion if** you or your team already work in React, you want its mature ecosystem (Lambda rendering, the Player, years of examples), and its license fits your company size.\n\n### What it doesn't do yet\n\n- **No cloud rendering** (it renders on your machine or your server) and **no visual editor** (`givemotion dev` is a preview; your agent is the editor).\n- **No built-in voice or transcription tools** (bring your own voice-over and a word-timed captions file or `.srt`) and **no HDR or HLS output**.\n- **Slow on heavy 3D\u002Ffilter pages without a GPU**, and **speed on a Mac is not fully benchmarked yet**.\n- **One open determinism case on macOS** under heavy load (renders match on an idle machine).\n- **Agent token cost:** the `review` and critic passes that lifted quality in round 8 use ~40% more tokens than the cheapest tool. Trimming that cost, fixing the macOS load case, and Mac benchmarks are open in [`docs\u002FNEXT.md`](docs\u002FNEXT.md).\n\n---\n\n## For developers\n\n### A composition\n\n```html\n\u003C!doctype html>\n\u003Chtml data-width=\"1920\" data-height=\"1080\" data-fps=\"30\">\n\u003Chead>\n\u003Cstyle>\n  body { background: #0b0d12; color: #fff; font-family: Inter, system-ui, sans-serif; }\n  .scene { display: grid; place-items: center; }\n  h1 { font-size: 120px; margin: 0; }\n\u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Cmain data-sequence data-transition=\"fade 0.6\">\n    \u003Csection class=\"scene\" data-duration=\"3\" data-camera=\"push 1.1\">\n      \u003Ch1 data-enter=\"rise\">Hello\u003C\u002Fh1>\n    \u003C\u002Fsection>\n    \u003Csection class=\"scene\" data-duration=\"4\">\n      \u003Ch1 data-split=\"words\" data-enter=\"fade-up 0.6\" data-stagger=\"0.08\">Any HTML. Any CSS.\u003C\u002Fh1>\n      \u003Caudio src=\"music.mp3\" data-volume=\"0.4\" data-fade-out=\"1\">\u003C\u002Faudio>\n    \u003C\u002Fsection>\n  \u003C\u002Fmain>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\nNo imports and no build step: the runtime is injected for you. Everything that moves on a web page runs on a virtual clock and is captured frame by frame: CSS animations and transitions, the Web Animations API, timers, `requestAnimationFrame`, canvas, WebGL, SVG SMIL, GSAP and Lottie. Built-in primitives on `window.gm` include `gm.timeline()`, `gm.camera()`, `gm.path.travel()`, `gm.path.stream()`, shape morphs, `gm.fly()`, live line charts (`gm.chart.line()`), hand-drawn shapes (`data-sketch`, `data-sketch-boil`, `data-sketch-ink`, `gm.connect()`), pinned labels (`data-anchor`), rolling readouts (`data-roll`), particle bursts (`gm.burst()`), and beat analysis (`gm.audio()`, `gm.beat()`, `data-pulse`).\n\nFull reference: [`skills\u002Fgivemotion\u002FSKILL.md`](skills\u002Fgivemotion\u002FSKILL.md) and [`skills\u002Fgivemotion\u002Freferences\u002F`](skills\u002Fgivemotion\u002Freferences\u002F).\n\n### Commands\n\n| Command | What it does |\n|---|---|\n| `init [dir]` | New project: starter video, agent instructions, `AGENTS.md` |\n| `skill [dir]` | Add or update the agent instructions in an existing project |\n| `dev [file]` | Live preview with a timeline, scrubbing, frame stepping and sound |\n| `render [file] -o out.mp4` | Render to `.mp4`, `.webm`, `.mov` (ProRes 4444), `.gif`, PNG frames, or audio only (`.mp3`\u002F`.wav`\u002F`.m4a`) |\n| `still [file] -t 2.5 -o f.png` | Render one exact frame |\n| `check [file]` | Problems with fixes, plus the one-line motion strip |\n| `snapshot [file]` | Key settled moments of every scene in one image (`--trail` for an onion-skin motion trail) |\n| `review [file]` | Viewer review pack (`review\u002FREVIEW.md`, overview, readable holds, motion strips, `beats.png`) |\n| `inspect [file]` | Timeline as JSON (`--at 3.2 --el \"#logo\"` inspects where an element sits at any moment) |\n| `audio \u003Cfile>` | Tempo, beats, bar starts and big hits of a song |\n| `captions \u003Cfile>` | Preview how a word-timed `.json` or `.srt` will page captions (`--words 3`) |\n| `words \u003Cfile>` | Every word of a voice-over, its timestamps and `@word` token (`--near 145`) |\n| `analyze \u003Cvideo.mp4>` | Report on any video: cuts, transitions, camera, pacing, colors, beat sync (`--compare ref.mp4`) |\n| `bundle [file] -o dir` | Standalone page + `\u003Cgm-player>` to embed the video in any site |\n| `blocks` \u002F `add \u003Cname>` | List or copy any of the 22 editable HTML blocks into your project |\n| `install` \u002F `doctor` \u002F `clean` \u002F `bench` | Get Chrome, check your setup, clear cached video frames, or measure render speed |\n\nRender options: `--quality draft|standard|high|max`, `--fps`, `--scale 2` (4K from 1080p; `4\u002F3` for 1440p), `--frames 2s-5s`, `--redo 4s-7s`, `--no-cache`, `--cache-dir \u003Cdir>`, `--cache-key \u003Cname>`, `--transparent`, `--motion-blur auto|8`, `--codec h264|h265|av1`, `--hardware` \u002F `--no-hardware`, `--workers \u003Cn>`, `--data file.json`, `--props '{…}'`, `--progress json`, `--json`. Several renders running at once automatically share the computer's performance cores and half its memory (`GIVEMOTION_MAX_BROWSERS=N` overrides the cap).\n\n### Programmatic API\n\n```js\nimport { render, check, snapshot, still, inspect } from 'givemotion';\n\nawait render('video.html', { output: 'out\u002Fvideo.mp4', quality: 'high', data: { name: 'Ada' } });\nconst report = await check('video.html');       \u002F\u002F { ok, errors, warnings, issues: [...] }\nconst { sheet } = await snapshot('video.html'); \u002F\u002F path to snapshots\u002Fsheet.png\n```\n\nTypeScript types ship with the package (`src\u002Ftypes\u002Fapi.d.ts`: `RenderOptions`, `RenderResult`, `CheckReport`, `Issue`, etc.).\n\n### Blocks & custom brand editions\n\nCopy any of the 22 plain-HTML building blocks into your project and edit freely (`npx givemotion add \u003Cname>`):\n`title-card`, `lower-third`, `captions`, `code-window`, `bar-chart`, `line-chart`, `stat`, `checklist`, `steps`, `browser-window`, `phone`, `cursor`, `callout`, `compare`, `quote`, `word-pop`, `logo-reveal`, `end-card`, `gradient-bg`, `grid-bg`, `highlight`, `lottie`.\n\nTo build a reusable brand kit or a custom edition, combine scoped parts (`\u003Cgm-include src=\"part.html\" scope>`) with your own tokens and fonts, or fork the repo under MIT, drop your fonts in `src\u002Fruntime\u002Ffonts\u002F` and your look in [`skills\u002Fgivemotion\u002Freferences\u002Fstyles.md`](skills\u002Fgivemotion\u002Freferences\u002Fstyles.md), and ship it to your team's agents with `npx givemotion skill`.\n\n### How it works & performance\n\n```text\nHTML ──► local server (adds the runtime, expands \u003Cgm-include> and {{data}}, serves video frames)\n           │\n           ▼\n headless Chrome × N ── virtual clock seeks every animation to the exact time\n           │  capture each frame (beginFrame on Linux\u002FWindows, screenshots on macOS)\n           ▼\n      ffmpeg × N (1–2 s parts, fingerprinted, reused when unchanged) ──► join + audio mix ──► out.mp4\n```\n\nOn a 2-CPU Linux cloud machine without a GPU (1080p at 30 fps, 300 frames, October 2026), a simple single-browser PNG screenshot loop took **32.7 s**, givemotion with 1 worker took **15.0 s**, and givemotion with auto workers took **13.3 s** ([speed study](docs\u002Fexperiments\u002F2026-10-t7-speed.md)). On a Mac, it uses the GPU for drawing and Apple's `VideoToolbox` hardware encoder by default once a quick one-time check confirms byte-identical output. Run `npx givemotion bench` on your own machine.\n\n---\n\n## Questions people ask\n\n**What is givemotion?**\ngivemotion is a free, open-source (MIT) video engine that lets AI coding agents like Claude Code, Codex and Cursor make motion graphics from HTML, CSS and JavaScript, check their own frames, and render MP4, WebM, ProRes or GIF files.\n\n**Is this an AI video generator?**\nNo. It does not generate footage from a prompt. Your agent builds the video from real pieces (your text, logo, fonts, images, clips and data) and givemotion renders it frame by frame. That is why the result is the same every time, a change touches only what you asked about, and text is spelled the way you wrote it.\n\n**Can Claude Code make videos?**\nYes. Run `npx givemotion init my-video` (or `npx givemotion skill` in an existing project) and ask Claude Code for a video. It also works as a Claude Code plugin (`\u002Fplugin marketplace add givemotion\u002Fgivemotion`) and with Codex, Cursor and other agents that read `AGENTS.md`.\n\n**Is there a free, open-source alternative to Remotion?**\nYes. givemotion (MIT) and HyperFrames (Apache 2.0) are both free for any use, including companies of any size. Remotion uses React under a source-available license that is free for individuals and companies of up to 3 people (see [How it compares](#how-it-compares)). In our November 2026 random-brief rounds, givemotion started behind Remotion and led the latest round (7.61 vs 6.94; see [Tested with AI agents](#tested-with-ai-agents-research--evaluation)).\n\n**How is it different from HyperFrames?**\nBoth are free and both use HTML. givemotion re-renders only the 1–2 second parts that changed, has zero npm dependencies, sends no usage data, needs no account and is independent of any company. HyperFrames (by HeyGen) has far more features today (cloud rendering, a desktop app, voice and transcription tools, HDR output) and a much larger community.\n\n**If I don't like one part, does the whole video render again?**\nNo. The agent edits that part, and only the 1–2 second pieces of the video whose inputs changed are rendered again. The result is byte-identical to a full render.\n\n**Do I need to know how to code?**\nNo. You talk to your agent in plain words and it does the rest, including the setup if you ask it to. The code is there so that every change is exact; if you do know HTML and CSS, you can open the file and change anything.\n\n**Can I use it for client work, commercially, or build my own product on it?**\nYes, for free, at any company size. Under the MIT license you can use it commercially, embed it, run it on your servers, or fork it and sell the fork.\n\n---\n\n## Contributing, security and license\n\nPull requests and issues are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md) (and [AGENTS.md](AGENTS.md) for the code layout). A composition is code that runs in Chrome; if you render compositions or data from people you don't trust, read [SECURITY.md](SECURITY.md) first.\n\n**License:** [MIT](LICENSE), copyright Leonardo Grigorio and givemotion contributors. Chrome and `ffmpeg` are installed separately under their own licenses; the bundled fonts are under the SIL Open Font License (see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)).\n\nThis project was written from scratch. It shares the idea of turning a web page into a video with tools like Remotion and HyperFrames, but no code from them; see [CONTRIBUTING.md](CONTRIBUTING.md#independence-and-clean-room-policy). givemotion is not affiliated with Remotion or HeyGen, and their trademarks belong to their owners.\n","givemotion 是一个开源的代码驱动视频生成引擎，专为 AI 编程代理（如 Claude Code、Codex）设计，支持通过 HTML\u002FCSS 描述并生成 MP4 动画视频。其核心能力包括：基于 headless Chrome 的帧预览与自检、程序化视频渲染、零 npm 依赖的轻量架构，以及面向 AI agent 的闭环编辑流程（描述→生成→检查→修正→输出）。适用于 AI 自动化制作动态图表、产品发布视频、垂直短视频、UI 演示和片头动画等场景，可本地部署，无需账户或付费。","2026-11-24 04:49:59","CREATED_QUERY"]