Motion Prompts AI

How to Make Motion Graphics with Claude: Remotion, HyperFrames or Plain HTML

Claude does not paint pixels. It writes code that draws every frame, and a renderer turns that code into a video file. Here is the whole workflow, from the first prompt to a file you can drop into your edit.

Updated 9 min read

On this page

To make motion graphics with Claude, you ask it to write the animation as code, then render that code to video. The most dependable setup is Claude Code (opens in a new tab) with one of two open frameworks, Remotion (opens in a new tab) (React) or HyperFrames (opens in a new tab) (HTML), each of which publishes official agent skills that teach Claude its rules. You describe the scene precisely, review still frames at key seconds, correct what is off with short follow-up prompts, and render an MP4, or a transparent file for your editor. If your company is on a Claude Team or Enterprise plan, Claude Motion is a no-install alternative that exports MP4.

How Claude makes a video when it only writes text

A language model outputs text, so Claude never draws a frame itself. It writes a program in which every visual property, from a card's position to the value of a counter, is a function of time. A renderer opens that program in a headless browser, sets the time to frame 1, then frame 2, and so on, captures each frame, and encodes the sequence with FFmpeg. Remotion and HyperFrames both work this way, as the HyperFrames README (opens in a new tab) points out: both render video with headless Chrome and FFmpeg.

That design has practical consequences. The output is sharp at any resolution, because nothing is upscaled. It is editable: change one word, render again, and only that word changes. It is repeatable when the code computes everything from time, so the frame at 4.5 seconds looks the same on every render. It also has limits. Code animates text, shapes, charts, interfaces and the images you supply, but it does not invent photorealistic footage or people. Anthropic says the same of Claude Motion, which does not use a video generation model.

Four routes, compared

There are four practical ways to get a finished scene out of Claude. They differ in setup, export formats and who can use them.

RouteWhat you needOutputBest for
Claude Motion (beta)A Claude Team or Enterprise plan; on Enterprise, an owner turns it on in Organization settings > ArtifactsMP4 onlyExplainers built from your own reports, charts and product walkthroughs, with nothing to install
Claude Code + RemotionA plan that includes Claude Code, Node.js, and a Remotion project with the Remotion agent skillsMP4, transparent WebM, ProRes 4444 with alpha, stillsReact users, reusable templates, long-term projects
Claude Code + HyperFramesA plan that includes Claude Code, Node.js 22 or newer, FFmpeg, and the HyperFrames plugin or skillsMP4, transparent WebM, ProRes 4444 MOV, GIF, PNG sequenceHTML-first work, a permissive license, editing by hand in a browser editor
A single HTML fileAny way of getting Claude to write the file, plus a browserA live page; a video file needs your own capture stepQuick tests, web embeds, prototypes you may port later

We describe Claude Motion (opens in a new tab) from Anthropic's documentation: it entered beta on October 8, 2026, counts toward your plan's usage limits, and exports MP4 only, so it cannot hand you a transparent overlay. The rest of this guide focuses on Claude Code, which is included in the Pro, Max, Team and Enterprise plans and gives you the project files, every export format and full control over timing.

What you need before you start

  • A Claude plan that includes Claude Code: Pro, Max, Team or Enterprise, or an Anthropic Console account billed by usage. See Claude's plans (opens in a new tab).
  • Claude Code itself, installed with the official one-line installer below. The official overview (opens in a new tab) also covers Homebrew, WinGet, the desktop app and the IDE extensions.
  • Node.js. HyperFrames requires version 22 or newer.
  • FFmpeg, for HyperFrames only. Remotion ships its own FFmpeg build; HyperFrames expects FFmpeg on your machine, and npx hyperframes doctor tells you whether it is there.
  • An empty project folder for each video or series, so Claude only reads files that belong to it.
Install Claude Code
# macOS, Linux or WSL
curl -fsSL https://claude.ai/install.sh | bash

# Windows PowerShell
irm https://claude.ai/install.ps1 | iex

# Then, in a new terminal window
claude --version

Step 1: Set up the project and the agent skills

Agent skills are packaged instructions that Claude loads when a task needs them (how skills work (opens in a new tab)). The Remotion and HyperFrames skills teach Claude each framework's rules, such as computing every value from the frame number in Remotion, or registering a paused GSAP timeline in HyperFrames. Install them before your first prompt; they matter more than any wording trick.

Remotion

The Remotion docs (opens in a new tab) give this sequence: create a blank project, add the skills, start the preview.

Terminal 1
npx create-video --yes --blank my-video
cd my-video
npx remotion skills add
npm run dev

Then open a second terminal, run cd my-video and start Claude Code with claude. The preview runs in Remotion Studio in your browser and refreshes as Claude edits the files.

HyperFrames

For Claude Code, HyperFrames recommends its plugin (opens in a new tab):

Terminal
claude plugin marketplace add heygen-com/hyperframes
claude plugin install hyperframes@hyperframes

Start a new Claude Code session in an empty folder and begin your request with /hyperframes:hyperframes. If you prefer standalone skills, run npx skills add heygen-com/hyperframes, choose Core Skills, and use /hyperframes instead. You can reopen the preview later with npx hyperframes preview.

A single HTML file

Nothing to install. Ask for one self-contained file that exposes a render(t) function, with every frame computed from the time t in seconds. That one constraint is what lets you capture the file frame by frame later; an animation driven by timers plays fine in a browser but is hard to capture frame-accurately. The HTML hub covers the capture step.

Step 2: Write a prompt that leaves nothing to chance

The prompt decides most of the result. A one-line request such as “make a cool animated list” leaves the duration, layout, font, colors, easing and effects to the model's defaults, which is why so much AI motion graphics work looks alike (why that happens). A prompt that reproduces fixes those decisions in writing:

  • Format: resolution, frame rate and duration, for example 1920x1080 at 30 fps for 12 seconds.
  • Exact text: every word and number that appears on screen, in order.
  • A timeline in seconds: when each element starts, how long its move lasts, when the hold begins and when the exit starts.
  • Motion rules: every move lasts at least 2 seconds, speed follows a bell curve, moves overlap, the camera never stops.
  • Style and a banned list: the palette, the fonts, and the effects you do not want.

You can write this yourself with our free prompt template, or start from the library: pick a scene such as the feature pills stack, change the text and format in the live preview, and copy a prompt that already carries the exact timing and the ready code.

Then switch Claude Code to plan mode before it writes anything: launch it with claude --permission-mode plan, or press Shift+Tab until the status bar shows plan mode. Claude reads the project and proposes a plan without editing files (plan mode (opens in a new tab)). Check that the plan repeats your exact text, your duration and your timeline. Fixing a wrong beat in a plan costs one sentence; fixing it in code costs a rebuild.

Step 3: Check stills at key seconds

A live preview plays in real time, and at speed your eye forgives clipped text, a misplaced card or two elements colliding for a few frames. Stills do not. Render a frame at each moment that matters: the first second, the middle of the busiest move, and the final hold.

Remotion: one still (frame = seconds x fps, so 4 s at 30 fps is frame 120)
npx remotion still MyScene out/at-4s.png --frame=120
HyperFrames: several stills in one command, from the project folder
npx hyperframes snapshot --at 1,4,9.5

Look for text touching the edges or overflowing its box, a focal point that is unclear, an element still arriving after the voice has moved on, and a final frame too busy to read. You can also hand the review to Claude: “Render stills at 1 s, 4 s and 9.5 s, look at them, and fix anything clipped or overlapping.” Claude Code reads images, so it can check its own frames.

Step 4: Fix with short, specific follow-up prompts

Most scenes need a few rounds. Each follow-up should name one element, one problem and one number. Vague feedback such as “make it more premium” sends the model back to its defaults.

Follow-ups that work
The cards arrive too fast. Make each entrance last 2.4 s with a cubic
ease-in-out, and start each card 1 s after the previous one.

The title is clipped at 9:16. Break it into two lines and keep 8% side margins.

Remove the particle burst and the glow behind the number. Keep the
background still and let the camera drift forward slowly instead.

The font fell back to a system font. Load our font file with @font-face
and wait for it to load before rendering.

More fixes for the most common problems are in the prompt template guide.

Step 5: Render the right file

Decide where the graphic goes before you render. A full-screen scene can be an MP4. A graphic that sits on top of your footage, such as a follower count beside your face or a subscribe reminder, needs a transparent file.

You needRemotionHyperFrames
An MP4 for upload or a full-screen scenenpx remotion render MyScene out/scene.mp4npx hyperframes render --output scene.mp4
ProRes 4444 with alpha, for Premiere Pro, DaVinci Resolve or Final Cut Pronpx remotion render MyScene out/overlay.mov --codec=prores --prores-profile=4444 --pixel-format=yuva444p10le --image-format=pngnpx hyperframes render --format mov --output overlay.mov
WebM with alpha, for the webnpx remotion render MyScene out/overlay.webm --codec=vp8 --pixel-format=yuva420p --image-format=pngnpx hyperframes render --format webm --output overlay.webm

Transparency only survives if the scene leaves its background unpainted; a full-frame background color is encoded as visible pixels (HyperFrames rendering guide (opens in a new tab), Remotion transparent videos (opens in a new tab)). Check the result over a contrasting background in your editor rather than in a player that shows black behind alpha. Remotion's documentation lists Final Cut Pro, Adobe Premiere and DaVinci Resolve as supporting ProRes; with CapCut, test a short clip before you commit to a format.

Cost, time and licenses

  • Claude. Claude Code is included in the Pro, Max, Team and Enterprise plans, and every build and fix counts toward your plan's usage. Complex scenes with many revisions use more.
  • Remotion. Free under its license (opens in a new tab) for individuals, for-profit organizations with up to 3 employees, non-profits, and evaluation. Other companies need a company license; check the current pricing (opens in a new tab). Remotion has announced that its license will change slightly in version 5.0.
  • HyperFrames. Open source under Apache 2.0. Rendering on your own computer is free and needs no account; HeyGen-hosted extras such as cloud rendering and voices are billed separately (HyperFrames FAQ (opens in a new tab)).
  • GSAP, the animation library most HyperFrames scenes use, is free for commercial use under its standard license (opens in a new tab).
  • Fonts, music and images keep their own licenses, whichever tool you choose.

Time goes mostly into review. Claude produces a first version fast; the real work is checking stills and sending precise fixes, which is why a strong first prompt saves more time than anything else.

FAQ

Do I need to know how to code?

No, but you need to be comfortable running a few terminal commands and reading file names. Claude Code writes and edits the code; your job is to describe the scene precisely and review the frames. Basic HTML or React knowledge helps when you want to change a detail by hand.

Can Claude add music or a voice-over?

Both frameworks can place audio files you provide on the timeline, and HyperFrames can generate a voice locally or use HeyGen voices if you have an account. Many creators still prefer to add music, voice and sound effects in their editor, where they can balance them against the rest of the video.

Which model and effort level should I use?

Use the most capable model your plan includes for the first build of a complex scene, with a higher effort level; switch with /model and /effort in Claude Code (model configuration (opens in a new tab)). Small fixes, such as changing a color or a word, do not need the highest settings.

Should I use Remotion or HyperFrames?

Remotion if you already work in React or want typed, reusable templates; HyperFrames if you want plain HTML files, no build step and an Apache 2.0 license. The full comparison is in Remotion vs HyperFrames, and each tool has a hub here: Remotion and HyperFrames.

Which scenes should I make first?

The ones your script already asks for. Lists, key numbers and chapter titles are a good start for most explainers. See motion graphics for YouTube videos for the full map of scene types, or browse lists and key numbers.

Try it

Open a live animation, type your own text, pick a color and a format, then copy the prompt for Claude.

Browse all animations

Sources

Official documentation, checked on .

Claude is a trademark of Anthropic. Motion Prompts AI is independent and not affiliated with Anthropic, Remotion or HeyGen.