05 Dec 2026
OpenMotion - AI agent recreates motion videos with your own brand
You see great short promo video on social media and think: "I want something like this for my product." OpenMotion lets you do exactly that. Give it reference video, and your AI agent recreates it with your own footage, logo and text. Authors call it first full-stack agentic video generator.
How it works
- Break down - reference video is split into shots and transitions, saved in
Motion.mdfile - Build - your AI agent writes scenes in HTML with your copy, footage and brand assets
- Arrange - put scenes on timeline in Studio editor and compare them
- Render - export MP4 and keep HTML source for later changes
Key features
- 🎬 Video as HTML - scenes, typography, layout, transitions and timing are written in HTML, CSS and JavaScript. Same project opens in editor and renders to MP4.
- 📝 Motion.md - Markdown format describing shot order, timing, transitions and replaceable assets, so video structure can be shared and reused
- 🤖 Bring your own agent - works with 22 local agents including Claude Code, Codex CLI, Gemini CLI, Cursor and GitHub Copilot
- 🔑 Bring your own keys - optional API keys for media providers, you pay them directly
- 🎨 Media generation - images, video, music and voice (Nano Banana 2, Seedance 2.0, Suno and Kokoro)
- ✏️ Studio editor - edit timing, captions and media yourself, or ask agent to revise
- 📚 Big library - 42 reference films, 393 motion clips, 210 blocks, 238 components and ready templates (Product Promo, NYT Graph, Decision Tree)
Quick start (from source)
You need Git, npm, recent Node.js, Chrome/Chromium and FFmpeg.
git clone --branch feature/motion https://github.com/nexu-io/html-anything.git openmotion
cd openmotion
npm ci
npm run build:studio
npm start
Then open http://localhost:4173, go to Templates, choose Ready to edit, open Product Promo and click Connect Agent.
Tip: set MOTION_DATA_DIR to keep your projects and credentials outside source folder. There are also test packages for packaged install - check README for exact Node.js version and latest steps.
Perfect for
- Product promo videos
- Social media clips in style of trending videos
- Animated charts and explainers
- Brand videos for clients - same template, different logo and text
Why I like it
Video stays as code, so you can version it, reuse it and change one word without re-rendering everything manually. Great combo with Claude Code. If you liked /brag or Diffusion Studio, this is next step. License is Apache 2.0.