HyperFrames vs Remotion for Code-Generated Video

Compare HyperFrames and Remotion on HTML and React authoring, rendering, agent skills, and company licensing, with a working example and migration notes.

Updated Dec 4, 2026

Choose HyperFrames, HeyGen's open-source HTML-to-video framework, when your starting point is a web layout or a coding agent that can deliver an editable HTML composition. Choose Remotion when React components and typed props are central to the video workflow, especially if you already use Remotion Player to show previews in an app. Both support local and distributed rendering. Compare the authoring model first, then check which licensing and infrastructure obligations apply to your deployment. HyperFrames repository · Remotion documentation

Comparison

DimensionHyperFramesRemotion
Authoring modelHTML compositions, timed clips, DOM layout, and seekable animation timelinesReact components registered as compositions, with animation derived from the current frame
LanguageHTML, CSS, JavaScript, often GSAPReact with JavaScript or TypeScript, often TSX
Local renderingChrome captures frames, FFmpeg encodes output, and Studio previews the projectRemotion Studio previews compositions, and the CLI and Node renderer can export videos
LicensingApache-2.0 for the open-source frameworkSource-available with Free, Company, and Enterprise license terms
AI-agent supportOfficial skills and plugins, plus a Remotion migration skillOfficial agent skills, plugins, and guides for building React videos
Cloud and distributed renderingCLI integrations for AWS Lambda and Google Cloud Run, plus HeyGen cloud renderingDistributed AWS Lambda, self-hosted server-side rendering, and an experimental Cloud Run integration
Ecosystem maturityOfficial composition format, registry, and specialist skillsDocumented Player, renderer and Lambda APIs, starter templates, and reusable packages
Learning curveFamiliar DOM and CSS with timing metadata and seekable animation to learnFamiliar to React teams, with frame timing, asset loading, and composition registration to learn
CostNo license fee for the open-source CLI. Budget for paid services and any infrastructure you useFree when eligible. Company pricing depends on workflow. Cloud infrastructure is billed separately

Rendering and skills references include the HyperFrames CLI, Remotion agent skills, Remotion Lambda, and Remotion Cloud Run.

What actually changes in your project

A HyperFrames composition is a browser document. CSS handles layout, typography, and the arrangement of layers. Attributes on timed clips say when they are active. A registered animation timeline can be sought to a specific time in seconds. For a product demo, that lets you start with a familiar set of HTML cards and decide when each card enters. Keep the pieces of the page needed for capture, and give its dynamic behavior a deterministic timeline.

A Remotion composition is a React component with dimensions, duration in frames, and frame rate. useCurrentFrame() lets a component calculate how it should look at the current frame. A reusable chart card can take a title, series, and accent color as props. By rendering that composition with different data, the same component can make dozens of variants. React applications can also embed a configured composition via Remotion Player. Remotion composition model · Remotion Player

HyperFrames also supports composition variables. Compare how inputs are declared and validated, how a variant gets previewed, and where assets are resolved. For either framework, test the same inputs in preview and export. Fix the frame rate, dimensions, font files, and source media when comparing visuals. A stopwatch running from page load, a live request for chart data, or a randomly generated value can make two frames differ even when the animation math is correct. HyperFrames composition variables

What Remotion's company license means

As checked on December 4, 2026, Remotion's Free License covers individuals, organizations or teams of up to three people, qualifying nonprofits, and evaluation before commercial use. Eligible free users may automate. Organizations outside these categories need a Company License or applicable Enterprise terms. Read the official definitions if you use contractors or build jointly with another organization. Counting only the people who sit in front of Studio can give the wrong eligibility result. Remotion terms · Remotion license FAQ

Remotion lists Creators at US$25 per seat per month for manual workflows and Automators at US$0.01 per render with a US$100 monthly minimum for eligible company automation use cases. Its pricing page includes batch rendering and embedded Player products under Automators. This is separate from the cost of cloud compute, storage, and transfer. HyperFrames' Apache-2.0 framework license has no equivalent company headcount threshold. Budget separately for managed services, dependencies or assets with their own terms, and the infrastructure you deploy. Remotion pricing · HyperFrames license

One badge moving 120 pixels

Both examples move a turquoise badge linearly over one second, then hold it through the rest of a two-second composition. For HyperFrames, save this as index.html in an empty project directory and render it with npx hyperframes render --output badge.mp4.

html
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<style>
  body { margin: 0; background: #111827; }
  #badge { position: absolute; left: 48px; top: 152px;
           width: 56px; height: 56px; background: #2dd4bf; border-radius: 12px; }
</style>
<div data-composition-id="badge" data-width="640" data-height="360"
     data-start="0" data-duration="2">
  <div id="badge" class="clip" data-start="0" data-duration="2" data-track-index="0"></div>
</div>
<script>
  window.__timelines = window.__timelines || {};
  window.__timelines.badge = gsap.timeline({ paused: true })
    .to("#badge", { x: 120, duration: 1, ease: "none" }, 0);
</script>
</html>

In Remotion, register the component below in a project entry file such as src/index.tsx. Render with npx remotion render src/index.tsx Badge badge.mp4. At 30 fps, one second is 30 frames. Clamping the interpolation keeps the square at its destination for the second half. Remotion CLI render reference · Remotion API reference

tsx
import {AbsoluteFill, Composition, interpolate, registerRoot, useCurrentFrame} from "remotion";

function Badge() {
  const frame = useCurrentFrame();
  const x = interpolate(frame, [0, 30], [0, 120], {extrapolateRight: "clamp"});
  return (
    <AbsoluteFill style={{background: "#111827"}}>
      <div style={{position: "absolute", left: 48 + x, top: 152,
        width: 56, height: 56, background: "#2dd4bf", borderRadius: 12}} />
    </AbsoluteFill>
  );
}

function Root() {
  return <Composition id="Badge" component={Badge} width={640}
    height={360} fps={30} durationInFrames={60} />;
}

registerRoot(Root);

When to choose each

  • Choose HyperFrames for HTML-based product explainers or short motion graphics when the team wants a deliverable that can be edited with web primitives. It's a good fit when an agent starts from a screenshot or web layout and the human editor wants to inspect the result in Studio.
  • Choose Remotion when a React codebase already owns your visual system or your product depends on an embedded video preview. It fits a team that wants parameterized videos to behave like other typed, reusable UI components.
  • Test both for a batch pipeline. Pick one representative composition with realistic fonts, video, and audio, then test a short local render and a complete variant. For distributed rendering, check how the worker gets assets, how retries are recorded, and how the final output is collected. Feature availability alone tells you little about production throughput.

Migrate one composition at a time

HyperFrames' official remotion-to-hyperframes skill includes translation guidance for layout, timing, media, and fonts. Start with one composition and preserve a reference export. Divide frame offsets and durations by the composition fps, keeping track of offsets from nested sequences. Recreate reusable React markup as HTML and CSS, and map animation progress to a paused timeline. A spring, mask, or shader may need its own translation and visual check. Official migration skill

Bring over the actual font binaries and media. Compare frames just before and after entrances, transitions, and exits, plus a point near an audio cue. Confirm text wrapping with both short and long input props before switching a batch job over. For a new HyperFrames project, see the installation guide. For font differences between browser runtimes, see fonts not rendering.

Related guides