Skip to content

AI Motion Graphics with Claude, HyperFrames and Remotion

By OpusCar Editorial Team Published 6 min read

AI coding agents can now write a 30-second animated explainer as a small web page and hand it to a renderer that exports an MP4. Here’s how that works, which tools to use, how to prompt well and where the approach falls short.

What are AI motion graphics?

AI motion graphics are animated videos where an AI model writes the animation as code and a renderer turns that code into a video file. The code is usually HTML, CSS and JavaScript with an animation library such as GSAP, or React components. The renderer loads it in a headless browser, captures each frame and encodes an MP4.

Every word on screen is real typography, and every color is a value in the code. Text comes out exactly as written, and a fix means editing the code and rendering again.

Generative text-to-video models such as Veo and Sora paint each frame’s pixels from a prompt instead. That suits realistic footage but makes on-screen text less reliable. Our guide to motion graphics vs AI-generated video compares the two in detail.

How does an AI turn a prompt into a motion-graphics video?

It works in four stages, and you can step in at each one.

  1. Brief. You describe the topic, audience, length, format and the exact text that must appear.
  2. Storyboard. The agent proposes scenes as still frames with timings, and you approve the plan before anything moves.
  3. Scenes. The agent writes each scene as code and opens a live preview.
  4. Render. The renderer captures every frame and encodes the MP4.

HeyGen’s write-up on building HyperFrames, published June 22, 2026, explains the bet behind this: “LLMs are great at writing code specifically HTML.” The renderer keeps output repeatable, and HeyGen’s repository says the same input produces the same video.

Which tools make AI motion graphics in 2026?

You need two pieces: a renderer that turns code into video, and an AI agent that writes the code. Two well-documented renderers are HyperFrames, which uses HTML, and Remotion, which uses React.

HyperFrames Remotion Coding agent
What it is HeyGen’s HTML-to-MP4 framework React framework for video Claude Code, Codex, Cursor or Gemini CLI
License Apache 2.0 Free for individuals and small companies; paid company license above that Needs a subscription or API account
Good for Agent-written videos and teams that don’t use React React teams and apps that render video from data Writing scenes, fixing them and iterating

HyperFrames

HyperFrames is HeyGen’s open-source framework for turning HTML, CSS, JavaScript and media into MP4 video, under the Apache 2.0 license. Each clip is an HTML element with attributes such as data-start and data-duration. Animation runs through adapters for GSAP, CSS animations, Lottie, Three.js and others.

It was built for agents. You install its skills in Claude Code, Codex, Cursor or Gemini CLI, then ask for a video in plain language. Its FAQ says rendering on your own computer is free and needs no account. The project moves quickly, and its releases page shows version 0.9.88 published on November 24, 2026.

Remotion

Remotion builds videos as React components, treating a video as “a function of images over time”. HeyGen’s write-up credits it with proving “years ago that HTML could be a video format.” Its Player embeds videos in React apps, Remotion Lambda renders on AWS, and its agent skills work with Claude Code, Codex and Cursor.

Check the license first. Remotion’s LICENSE.md allows free use for individuals, non-profits and for-profit companies with up to three employees. Larger companies need a company license, and the file says the terms will “slightly change” in Remotion 5.0.

Claude Code and other AI agents

The agent picks the layouts, writes the animation and fixes what looks wrong. Claude Code, Anthropic’s agentic coding tool, “reads your codebase, edits files, runs commands” in the terminal, IDEs, a desktop app or the browser. With the HyperFrames or Remotion skills installed, it can set up a project, write scenes, preview and render.

Anthropic released Claude Opus 5.5 on September 22, 2026, and says it “delivers frontier results on agentic coding at a fraction of the cost.” You don’t need the largest model to start, though. HeyGen tuned HyperFrames so that “a wide range of models could produce usable compositions.”

How do you prompt an AI for good motion graphics?

Follow the pipeline in order. These patterns come from HyperFrames’ prompting guide and work with any renderer.

  • Set the spec first. State length, aspect ratio and frame rate. HyperFrames defaults to 1920 x 1080 at 30 fps, so ask for 1080 x 1920 for Reels and Shorts.
  • Quote the exact text. Quoted copy renders word for word. Unquoted copy gets paraphrased.
  • Give every scene one job. The guide’s rule is “Give every second a job.” A 30-second video might be a hook, three points and a call to action. Our video templates lay out scene-by-scene structures for 14 common formats.
  • Ask for a storyboard. You see the video “as stills before anything moves,” which is the cheapest point to change direction.
  • Change one thing at a time. Render and judge before the next edit. Use absolute targets, such as “headline at 120 px,” because “relative corrections oscillate.”

How do you keep text readable and on-brand?

Lock the brand and let the agent handle layout. HyperFrames’ brand guide warns that asking for “on-brand” leaves the agent to invent a brand. Give it your hex colors, fonts and logo up front, ideally in a design-tokens file it reads for every video. The guide suggests this wording: “Colors and fonts are locked to the brand. Layout, spacing, and motion are yours to compose for video.”

Then check every frame against three rules:

Rule Target Source
Contrast At least 4.5:1 for body text, 3:1 for large text WCAG 2.2
Reading time About 0.3 seconds per word, counted once the text stops moving BBC subtitle guidelines
Safe zones Keep 14% of the top, 35% of the bottom and 6% of each side clear Meta Reels ad specs

Keep each scene to one idea in a few words. Platforms differ, so check social video specs for each one before you render.

How do you time animation to a voiceover?

Make the voiceover first, then time the scenes to it. UCSF’s School of Nursing puts natural narration at “approximately 150 words per minute” in its recording guide. At that rate, a 30-second video holds about 75 words.

Text-to-speech services can return timing data along with the audio. ElevenLabs’ timestamps endpoint, for example, returns “precise character-level timing information for audio-text synchronization.” Pass those timings to the agent so each line appears as it’s spoken. HyperFrames’ guide notes that with supplied narration, “duration follows the spoken words,” so don’t fix scene lengths in advance.

Are AI motion graphics a good fit for small businesses and creators?

Yes, when the message is words, numbers or steps. Tips, how-tos, stats, product features and listicles all fit. So does a daily series with one shared look, since each new video needs only a new script and a render. Kinetic typography is a natural style for this. See how it works for small businesses.

What can’t AI motion graphics do?

They can’t show the real world. If the video needs a face, a place or your product in someone’s hands, use a camera or a generative model, then add code-rendered text on top.

Other limits to plan for:

  • Setup. HyperFrames needs Node.js 22 or later and FFmpeg, and you’ll work in a terminal.
  • Rendering. HeyGen’s write-up says the fully deterministic path works only on Linux. macOS and Windows use a less robust capture method.
  • Facts. The agent can still get a number or a name wrong, so check every script.
  • Licenses. Fonts, music and footage keep their own licenses.

If you’d rather not run an agent and renderer yourself, OpusCar does the whole pipeline. It writes the script, adds an AI voiceover and captions, animates each scene as code-rendered motion graphics in your brand kit and schedules the finished videos to your social accounts. It makes animated videos only, so the limits above apply to it too.

Frequently asked questions

Can Claude make a motion graphics video?

Yes, when it's paired with a renderer. Claude writes the animation as code, and a framework such as HyperFrames or Remotion renders it to MP4. In Claude Code, add the HyperFrames skills with npx skills add heygen-com/hyperframes, or Remotion's with npx skills add remotion-dev/skills, then describe the video you want. HeyGen also lists a HyperFrames connector for Claude, in beta, that renders in the cloud with a HeyGen account.

Do you need to know how to code to make AI motion graphics?

Not to write the animation, because the agent does that. You do need to install tools and run a few terminal commands. HyperFrames, for example, needs Node.js 22 or later and FFmpeg. If you'd rather avoid that, HeyGen's HyperFrames Studio is a desktop app for Mac, Windows and Linux, and products such as OpusCar run the whole process for you.

How much does it cost to make AI motion graphics?

The renderers can be free. HyperFrames is open source, and rendering on your own computer needs no account. Remotion is free for individuals, non-profits and companies with up to three employees. Larger companies pay from $25 per seat a month, or $0.01 per render with a $100 monthly minimum, as of November 2026. Most AI coding agents, including Claude Code, also need a paid subscription or API usage.

Can AI motion graphics include a voiceover and music?

Yes. With HyperFrames you ask the agent for narration, music and sound effects in the same request. According to its FAQ, a HeyGen account adds HeyGen voices and a 10,000-track music catalog. Without one, the voice comes from Kokoro running on your computer, music is whatever tracks you add, and sound effects come from a bundled set.

Sources

  1. heygen-com/hyperframes — GitHub
  2. HyperFrames releases — GitHub
  3. HTML to Video: How We Built HyperFrames — HeyGen Research
  4. HyperFrames — HeyGen
  5. HyperFrames FAQ — HeyGen
  6. Ask for a great video — HyperFrames documentation
  7. Brand, templates and storyboards — HyperFrames documentation
  8. Remotion | Make videos programmatically — Remotion
  9. The core idea — Remotion documentation
  10. Remotion LICENSE.md — GitHub
  11. License & Pricing — Remotion documentation
  12. Agent Skills — Remotion documentation
  13. Player — Remotion documentation
  14. Remotion Lambda — Remotion documentation
  15. Claude Code overview — Claude Code Docs
  16. Introducing Claude Opus 5.5 — Anthropic
  17. Web Content Accessibility Guidelines (WCAG) 2.2 — W3C
  18. Subtitle Guidelines (version 1.2.5) — BBC
  19. Video Ad Specs on Instagram Reels — Facebook Ads Guide
  20. Tips for creating lecture slides for recording — UCSF School of Nursing
  21. Create speech with timing — ElevenLabs API reference

Sign up

Make your first ten videos this week.

Sign up with your email and we’ll get you set up with OpusCar.

We’ll only email you about your account. No spam.

Get started with OpusCar

Tell us where to reach you and we’ll set up your account. Your first ten videos are one topic away.

What describes you best? (optional)

We’ll only email you about your account. No spam.