What is OpenMotion?
OpenMotion is a local, open-source studio for making videos with the coding agent you already use. It sits in the Video Generation category of the Multimodal Generation tools and is open-source, written in TypeScript and licensed Apache-2.0. To get started: clone, build and start the Studio.
Overview
OpenMotion is a local, open-source studio for making videos with the coding agent you already use. You upload a reference video or paste a social-video link, and the agent breaks it down — shot order, transitions, typography, sound cues — then rebuilds it with your own footage, logo and copy. The scenes are written as HTML, CSS and JavaScript, so the result is a real project: it opens on an editable timeline in the Studio, renders to MP4, and keeps its source for the next revision.

The project started in May 2026 as HTML Anything, an agent-driven HTML editor for articles, decks and social cards. On November 6, 2026 the maintainers replaced that app with the standalone OpenMotion studio, and the repository now lives at nexu-io/openmotion. It comes from the team behind Open Design and is Apache-2.0 licensed.
Two ideas run through it. BYOA (bring your own agent): the README lists 22 local agents, including Claude Code, Codex, Cursor Agent, Gemini CLI, OpenCode and DeepSeek Harness, connected through Skills, an MCP server or a pinned CLI. BYOK (bring your own keys): a Model Gateway in Model Settings calls image, video, music and speech models on your own accounts — the built-in catalog includes Nano Banana 2, FLUX Schnell, Seedance 2.0, Wan 2.2, Suno v4 and Kokoro — and OpenMotion itself charges no subscription or per-render fee. It also introduces Motion.md, a Markdown format that records a film shot by shot, with a Brand Kit section for logos, palette, type and approved product facts.
What it does
- Reference-to-remake workflow: the agent studies a clip's hook, shot structure, pacing, type and sound, then rebuilds it with your materials
- Video as code: scenes are HTML, CSS and JavaScript, edited by the agent or by hand on the Studio timeline, and rendered to MP4 with the source kept

- Bring your own agent — 22 local agents listed, connected through five core Skills, an MCP server with eleven public tools, or a CLI
- Bring your own keys: generate images, video clips, music and TTS narration through the Model Gateway and adopt them into the project
- Motion.md: a Markdown format for shot order, timing and transitions, with 100+ brand-film studies in the repository
- A library of 42 reference films, 393 motion clips, 210 blocks, 238 components and three ready-to-edit templates
- Revision checks on every project edit, so a stale agent request cannot overwrite newer work
Getting started
The README's source install needs Git, npm and Node.js 26.11.1; preview and export from source also need Chrome or Chromium and FFmpeg/FFprobe. Keep projects and credentials outside the checkout — MOTION_DATA_DIR selects the workspace.
Clone, build and start the Studio
The README's source checkout clones the feature/motion branch. When it is running, open http://localhost:4173.
git clone --branch feature/motion https://github.com/nexu-io/html-anything.git openmotion
cd openmotion
npm ci
npm run build:studio
npm startOpen a template and connect your agent
Choose Templates → Ready to edit and open Product Promo, then use Connect Agent to copy the launch command for your client. For Codex with plugin support there is an installer script; for Claude Code, pick `--host claude` in the local installer and check the connection with /mcp.
bash scripts/install-motion.command
Or install the core Skills into any agent
The five core workflows — motion-director, motion-production, motion-template-to-video, motion-recreate and motion-video-to-template — install with the Skills CLI. This copies instructions only; connect the app separately.
npx skills add ./skills --list
npx skills add ./skills --skill motion-director motion-production motion-template-to-video motion-recreate motion-video-to-templateRegister the MCP server manually
In clients with local stdio MCP support, point at mcp.ts in the checkout. Find a template with motion_list_templates, inspect it with motion_get_template, then create an editable copy with motion_create_project.
{
"mcpServers": {
"openmotion": {
"command": "/absolute/path/to/node",
"args": ["--experimental-strip-types", "/absolute/openmotion/mcp.ts"],
"env": { "MOTION_DATA_DIR": "/absolute/openmotion-data" }
}
}
}Ask for a remake
Give the agent the reference and your assets, say what to keep and what to replace, review the cut in Studio, then export the MP4 and keep the source for the next edit.
Use OpenMotion to reverse-engineer the attached reference for our brand.
Keep: the product reveal and camera rhythm in the selected segment.
Replace: the logo, UI, claims, copy and end card with our supplied materials.
Build an editable project, open it in Studio, then export an MP4.Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Remake a product-launch or brand film you admire with your own product, logo and copy, keeping its timing and transitions
- Turn a talking-head recording into an edited video with kinetic captions, callouts and screen inserts
- Build a reusable, editable video template from a reference so later cuts are a prompt instead of a re-edit
- Fill gaps in a cut with generated shots, music and narration on your own model accounts, without a per-render fee
How OpenMotion compares
OpenMotion alongside other open-source video generation tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| MoneyPrinterTurbo | ★ 147k | A self-hosted WebUI, API and CLI that turns one topic or keyword into a finished short video — script, stock or generated footage, voiceover, subtitles and music. |
| HyperFrames | ★ 93.2k | HeyGen's HTML-to-video renderer: author a composition in HTML, CSS and JS, preview it in a browser, then render the same input to a deterministic MP4 locally or on AWS Lambda. |
| OpenMontage | ★ 84.5k | An agentic video production system that gives a coding assistant 12 pipelines and 100+ tools to research, script, generate and render a video end to end. |
| Open Generative AI | ★ 37k | MIT-licensed desktop and web studio for AI image, video and lip-sync generation that runs hosted models through the Muapi.ai API, with optional local image models in the desktop app. |
| Hypit | ★ 31.9k | A markup language and compiler that lets a coding agent rebuild a reference video as an editable workflow — footage, captions, B-roll and effects anchored to words rather than timestamps — and render variants in one command. |
| Toonflow | ★ 23.3k | Infinite-canvas workbench for AI short-drama production, taking a novel through chapter events, script, storyboards and video nodes. |
| Lemo-Opuscar | ★ 23.2k | A Claude Code skill and library of 59 film styles that has a coding agent make a narrated short film entirely in code — canvas and WebGL frames, scored music and TTS — with no video model. |
| OpenMotion | ★ 17.8k | Recreate any video as an editable HTML project your own coding agent writes |
