npx devmotion init

HTML in. Video out.
Built for agents.

The first video tool where the CLI, the HTML format, and the MCP server are equal citizens. Write HTML. Render video. Let Claude Code build the rest.

Terminal
npx devmotion init my-demo
cd my-demo
# Edit scenes/intro.html — it's just HTML
devmotion preview       # Open Studio
devmotion render        # Export MP4
Open Source (Apache 2.0) Export up to 4K Free local CLI forever
105+ creators
137+ videos created

From terminal to MP4 in three steps

No GUI required. No proprietary format. Just HTML, CLI, and an open render pipeline.

1. Scaffold

npx devmotion init creates a project folder with HTML scenes, a config, and an assets directory.

2. Edit

Add data-dm-* attributes to any HTML element. Use dm-* custom elements for premium layers. Edit in any editor — or let an agent do it.

3. Render

devmotion render produces MP4 via headless Chromium + ffmpeg. Same pipeline works locally, in CI, or on servers.

scenes/intro.html
<div data-dm-id="title"
     data-dm-enter="fade-in"
     data-dm-enter-time="0.5"
     data-dm-duration="0.8"
     data-dm-easing="ease-out"
     style="color: white; font-size: 48px;">
  Hello DevMotion
</div>

<dm-phone data-dm-id="demo"
          data-dm-enter="slide-in-right"
          data-dm-enter-time="1.5"
          src="./assets/screen.mp4">
</dm-phone>

One Project, Every Platform

Export for YouTube, Instagram, TikTok. Switch formats instantly.

Background:
For Developers

Video as code, finally

The CLI, the HTML format, and the render pipeline are all open source. Edit in VS Code. Version in Git. Render in CI.

CLI-first workflow

Scaffold, preview, and render from the terminal. `devmotion init`, `devmotion preview`, `devmotion render`. No GUI required.

HTML as source of truth

Every project is HTML files. Layers are elements with `data-dm-*` attributes. Version control, diff, and edit in any editor.

Svelte 5 runtime

The renderer runs Svelte 5 components with runes. If you know Svelte, you can extend every layer type. Open source (Apache 2.0).

Git-friendly

Projects are folders of HTML + JSON. Branch, merge, review. No binary blobs. CI/CD pipelines that generate video from PRs.

For Agent Builders

AI agents can write video

MCP server, Claude Code skills, and an LLM-friendly HTML protocol. Agents scaffold, edit, and render — autonomously.

MCP Server (stdio + HTTP)

Claude Code, Cursor, Windsurf — any MCP client can create, edit, and render video. Full tool surface: layers, keyframes, presets, export.

Claude Code skills

Slash commands: `/devmotion-init`, `/devmotion-add-layer`, `/devmotion-render`. One `devmotion setup` and agents know the entire protocol.

Agent-first protocol

The `data-dm-*` attribute vocabulary is designed for LLMs: predictable, flat, attribute-based. No JSX, no imperative API calls.

Headless rendering

Playwright + ffmpeg pipeline, virtualized clock for deterministic frame capture. Render on servers, in CI, or from agent workflows.

One-command setup
devmotion setup

Installs Claude Code skills (/devmotion-init, /devmotion-add-layer, /devmotion-render) and wires the MCP server. Then Claude Code can build video from scratch.

For Creators

A visual editor when you want it

Timeline, keyframes, 17+ layer types, and AI-powered tools. The Studio is there when code isn't the right tool.

Visual Studio

Timeline, keyframe editor, 17+ layer types. Full visual control when you need it.

Auto Captions

AI transcription with word-level timing. Animated, styled, synced automatically.

AI Dubbing

Voice cloning into any language. Same voice, same tone, global reach.

AutoCut

AI removes silences, filler words, dead air. Hours of editing in one click.

How we compare

Honest comparison. Each tool wins somewhere — here's where DevMotion fits.

ApproachRendererAgent-nativeGit-friendlyLicensePricing
DevMotion youHTML + CLISvelte 5 (headless)Apache 2.0Free local / Cloud Pro
Remotion React + codeChromium tabSource availableFree / $270+/seat
Hyperframes HTML + CLISvelte 5 (headless)Apache 2.0Free / Cloud Pro
Jitter GUI editorCloud onlyProprietaryFree / $19/mo

Hyperframes is the closest analog — we share the HTML + CLI + Svelte philosophy. Remotion pioneered code-driven video. Jitter is best for purely visual workflows.

AI-Powered

Hours of editing, done in seconds

AI handles the tedious parts so you can focus on the creative ones.

Most popular

Auto Captions

Upload a video, get perfectly synced captions in seconds. AI transcription with word-level timing. Style and animate them however you want.

AI Dubbing

Translate your video into any language with AI voice cloning. Same voice, different language. Reach a global audience instantly.

AutoCut

AI detects and removes silences, filler words, and dead air from your recordings. Hours of editing done in one click.

New

AI Video Generator

Type a prompt and watch a video appear. Seedance 2.0 generates cinematic footage with synchronized audio — drop it straight into your timeline.

API & Automation

Generate video at scale

Design templates visually or in HTML, then generate thousands of personalized videos via REST API. Webhook callbacks when renders are ready.

REST API
curl -X POST https://devmotion.app/api/v1/renders \
  -H "Authorization: Bearer dm_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "laptop-3d-intro",
    "modifications": [
      { "layer": "Browser",
        "property": "url",
        "value": "https://yoursite.com" }
    ],
    "webhook_url": "https://you.com/callback"
  }'

What people are saying

We're just getting started — and your spot is open.

"The MCP server implementation is pure genius. I can just tell Claude to 'fix the typo in the lower third' and it actually does it."

Marcus V.

Senior Developer

💻

"Finally a video tool that treats HTML as a first-class format. My team version-controls our product demos alongside the codebase."

Alex Rivers

DevRel Lead

🎬

"I used to spend 6 hours on subtitles for my dev tutorials. DevMotion does it in 30 seconds and the styling actually looks good."

Sarah Chen

Content Creator

Frequently Asked Questions

What is DevMotion?
DevMotion is a code-driven video creation platform. Projects are defined as HTML files with `data-dm-*` attributes. You can edit them in any text editor, version-control them with Git, render them via CLI, or let AI agents build them through MCP. There's also a visual Studio for timeline/keyframe editing.
How is this different from Remotion or Jitter?
Remotion requires React and imperative code. Jitter is GUI-only. DevMotion uses declarative HTML attributes that both humans and LLMs can write naturally. The CLI + MCP + HTML format makes it agent-first: Claude Code can scaffold, edit, and render a video in one conversation. See the comparison table above.
Is it free?
Yes. The local CLI is free and open source (Apache 2.0). Render locally with no limits. The cloud Studio at devmotion.app has a free tier with 5 exports/month. Cloud Pro ($9-29/mo) adds higher resolution, more AI credits, and API access.
How do I connect Claude Code or Cursor?
Run `devmotion setup` in your project directory. This installs Claude Code skills (slash commands) and wires the MCP server. Then Claude Code can scaffold projects, add layers, animate, and export — all autonomously. Manual setup: `claude mcp add devmotion -- npx devmotion mcp`
What can agents actually build?
Anything you can describe: product demos, social media ads, tutorial videos, changelog walkthroughs, conference teasers, localized content. Agents use the MCP tools (create_layer, edit_layer, remove_layer, configure_project) and the HTML format to produce complete, renderable video projects.
Do I need to know Svelte?
No. The HTML format works standalone — just `data-dm-*` attributes on plain HTML elements. Svelte knowledge is only needed if you want to create custom layer types or extend the runtime.
Can I render on my own servers?
Yes. The headless render pipeline (Playwright + ffmpeg + virtualized clock) runs anywhere. `devmotion render` produces MP4 locally. For server/CI rendering, the same pipeline works in Docker — no GUI, no display server needed.
What export formats and resolutions?
MP4 (H.264) at 720p, 1080p, or 4K. Aspect ratios: 16:9 (YouTube), 9:16 (TikTok/Reels), 1:1 (Instagram). Switch aspect ratios instantly from the same project.

Ready to build video with code?

Free local CLI. Open source runtime. Agent-native MCP. Start with one command.

Terminal
npx devmotion init my-first-video
DevMotion - Featured on Startup Fame Featured on Fazier DevMotion — AI Video Editor - Prompt, record, caption, dub, export in 4K — no install | Product Hunt