What Claude Code can do with video
Claude Code video generation means your agent writes HTML/CSS/JS motion graphics from your notes and screenshots, then a local renderer (HyperFrames or Remotion) exports an MP4 on your computer. It is not a hosted AI video model and it does not unlock Anthropic's official Claude Motion on Team/Enterprise.
ClaudeMotion (claudemotion.tv) is an independent toolkit for Claude Code and Codex. Use it for a short product update or explainer when you have notes and screenshots and want both an editable HTML project and an MP4. Your agent builds the animation and HyperFrames renders it locally.
Looking for the GitHub “Claude Code video toolkit”? Compare digitalsamba vs claudemotion.tv →
Free Editorial includes a reproducible 15-second example with a verified 1280 × 720, 30 fps MP4. You need a signed-in agent, Node.js 22+, FFmpeg and ffprobe. Editorial uses 0 platform credits and requires no payment card. Your agent provider bills model usage separately.
Make your first MP4
See how ClaudeMotion’s Starter release notes and product screenshots became an editable video. Run the same example in Codex or Claude Code with Editorial at 0 platform credits.
Try this free exampleFrom notes to an editable video
- Start with the free example above. Copy the full task into Claude Code or Codex and approve the matching device code when prompted.
- Open the local preview. The example turns the Starter release notes into three scenes: the announcement, the style gallery and the free Editorial workflow. The accompanying screenshots appear in the finished video.
- Ask your agent to export MP4 after reviewing the preview. The CLI verifies the file with ffprobe. Keep the editable project so you can swap in your own notes and screenshots and render again.
HyperFrames workflow
HyperFrames is an HTML/GSAP video composition framework by HeyGen. It's lightweight, MIT-licensed and uses a single paused GSAP timeline that the renderer steps through frame-by-frame.
Setup
- Install Node.js 22+ and FFmpeg
npx hyperframes init my-video- Ask Claude Code to write an HTML composition with a paused GSAP timeline
npx hyperframes render --quality delivery --output out.mp4
Key rules
- One paused GSAP timeline registered on
window.__timelines[id] - No
Date.now()or unseededMath.random() - Escape all user text before inserting into HTML
- The renderer controls time — no
requestAnimationFrameloops
Best for
Simple explainers, data animations, product demos. Fast startup, minimal dependencies.
Remotion workflow
Remotion lets you build video scenes as React components. It has a rich ecosystem of packages for animations, transitions, audio and data-driven content.
Setup
- Install Node.js 22+
npx create-video@latest my-video- Ask Claude Code to write React components for each scene
npx remotion render src/index.ts MyComp out.mp4
Key rules
- Use
useCurrentFrame()anduseVideoConfig()for timing - Deterministic rendering — no side effects in render
- Audio must be declared with
<Audio>components
Best for
Complex compositions, data-driven dashboards, projects that need npm packages or heavy interactivity. More setup, more flexibility.
HyperFrames vs Remotion
| Aspect | HyperFrames | Remotion |
|---|---|---|
| Language | HTML + CSS + GSAP | React + TypeScript |
| License | MIT | BSL (free for individuals) |
| Setup time | ~2 minutes | ~5 minutes |
| Animation approach | GSAP timeline | React frame hooks |
| Rendering | Built-in CLI | Chromium headless |
| npm ecosystem | Limited (vanilla JS) | Full React ecosystem |
| Cloud rendering | Not available | Remotion Lambda (paid) |
| Agent integration | Works well — simple HTML output | Works — React components need more context |
Templates & starting points
Starting from scratch with Claude Code works, but you'll reinvent layout patterns, timing curves and responsive sizing every time. Options:
- claudemotion.tv templates — 18 original HyperFrames-based styles with connected Skills that guide your agent. No manual coding required. See the styles →
- HyperFrames community — check the HyperFrames GitHub for starter examples. The community is small but growing.
- Remotion templates — the Remotion team maintains starter kits for common patterns (text animations, social posts, data visualizations).
- Build your own — prompt Claude Code to create a base template, then iterate. Works best if you understand HTML animation fundamentals.
Rendering to MP4
Both frameworks render locally. Requirements:
- FFmpeg + ffprobe — both must be installed and on your PATH
- Node.js 22+
- Rendering a 15-second video takes 10–60 seconds depending on complexity and hardware
- Verify the result:
ffprobe -v error -show_entries format=duration -of csv=p=0 out.mp4
When to use a toolkit instead
| Situation | Recommendation |
|---|---|
| Product notes and screenshots to a first editable MP4 | ClaudeMotion — a ready-to-run Editorial example |
| Learn HTML animation with a blank project | Manual Claude Code + HyperFrames |
| Repeated production (weekly videos) | claudemotion.tv toolkit |
| Custom React app with video | Remotion |
| Team workflow with review + export | claudemotion.tv Skills |
Claude Code video FAQ
Can Claude Code generate video?
Claude Code can write the HTML/CSS/JS code for an animation. Combined with a renderer like HyperFrames or Remotion, this code becomes an MP4 video. Claude Code doesn't generate video frames directly — it writes the program that creates them.
What is HyperFrames?
HyperFrames is an open-source (MIT) HTML/GSAP video composition framework by HeyGen. You write an HTML file with a paused GSAP timeline, and the CLI renders it frame-by-frame to MP4 using FFmpeg.
Can I use Claude Code with Remotion?
Yes. Ask Claude Code to write Remotion components (React + useCurrentFrame). It handles the composition logic; you run `npx remotion render` to produce the MP4. Give Claude Code the Remotion docs for better results.
Do I need to install anything?
Yes: Node.js 22+, FFmpeg and ffprobe. For Remotion, Chromium is also needed (it installs automatically). For the claudemotion.tv toolkit, the installer handles framework setup.
What video formats can I export?
Both HyperFrames and Remotion output MP4 (H.264) by default. Remotion also supports WebM, GIF and image sequences. The claudemotion.tv toolkit targets MP4 at 1280 × 720, 30 fps.
Is Claude Code video generation the same as Claude Motion?
No. Claude Motion is Anthropic's built-in feature in the Claude web interface (Team & Enterprise only). Claude Code video generation is a separate workflow where you use Claude Code (the terminal agent) with an open-source video framework to build animations locally.
