Skip to content

Write HTML. Render video. Built for agents.

docs: rewrite four pages that told instead of showed

ukimsanov72d4016f5f25
diff --git a/docs/guides/choose-creation-path.mdx b/docs/guides/choose-creation-path.mdx
index 35382414f1..33d5d485db 100644
--- a/docs/guides/choose-creation-path.mdx
+++ b/docs/guides/choose-creation-path.mdx
@@ -1,70 +1,58 @@
---
title: "Choose how to create"
sidebarTitle: "Choose how to create"
-description: "Choose between a local HyperFrames project, hosted chat, a design-first handoff, or a HeyGen-generated video."
+description: "Four places to make a HyperFrames video, and how to tell which one is yours."
---
-## I want an editable project on my computer
+There are four places to make a HyperFrames video. They all give you a video.
+The difference is what you keep afterwards. Unsure? Take the first one.
-Use a coding agent with the HyperFrames skills. The agent writes an ordinary
-HTML project that you can revise with the agent, open in Studio, inspect in
-source, render locally, or automate later.
+| Start here | You end up with |
+| --- | --- |
+| A coding agent on your computer | A project folder you own and keep editing |
+| An AI chat | A video made and kept in your HeyGen account |
+| A design tool | A look to finish on your computer |
+| HeyGen Video Agent | A finished video, assembled for you |
-This is the default path for a video that will keep changing.
+## Start on your computer if the video will change
+
+A coding agent — an AI assistant that works in a folder on your machine, like
+Claude Code or Cursor — writes a plain HTML project. Revise it with the agent,
+open it in Studio, read the source, make the MP4 locally.
```text
Using /hyperframes, make a 10-second product intro for https://example.com.
```
-<Card title="Make your first local video" icon="play" href="/quickstart" horizontal arrow>
- Install the skills and create the first editable version.
-</Card>
-
-## I want to create inside an AI chat
+[Make your first local video →](/quickstart)
-Use the hosted HyperFrames MCP connector. It creates and renders through your
-HeyGen account without a local HyperFrames setup.
+## Start in an AI chat if you want nothing installed
-Choose this when convenience matters more than owning the complete project
-folder. Rendering and account access are hosted; local Studio, source editing,
-self-hosting, and precise debugging belong to the local path.
+The hosted HyperFrames connector (an MCP connector — a plug-in an AI chat can
+use) builds and renders through your HeyGen account. You give up the project
+folder, Studio, and local rendering.
[Connect HyperFrames to an AI chat →](/guides/mcp)
-## I want to establish the visual direction first
-
-Start in Figma, Claude Design, or Open Design when brand, layout, and scene
-direction are the unresolved part. Then hand the project to a coding agent for
-motion refinement, media, validation, and rendering.
+## Start in a design tool if the look is the open question
-The design tool supplies a first draft, not a substitute for watching and
-checking the finished movement.
+Figma, Claude Design, and Open Design settle brand, layout, and scene direction
+first. Hand that draft to a coding agent for the motion, media, and rendering —
+no design tool can tell you whether the movement works.
[Bring a design into a project →](/guides/design-tools)
-## I want to create inside HeyGen
+## Start in HeyGen if you want it done for you
-Use HeyGen Video Agent when you want a hosted prompt-native workflow that
-assembles the script, visuals, narration, avatar, and motion for you. HyperFrames
-can power its HTML motion graphics, but the delivery surface is different: the
-local path gives you the project folder, source, Studio, and CLI; Video Agent
-keeps generation and revision inside HeyGen.
+HeyGen Video Agent takes a prompt and assembles the script, visuals, narration,
+avatar, and motion. It stays inside HeyGen — no folder, no source, no CLI — and
+it can draw on your account allowance or credits. Rendering on your own computer
+never does.
[Learn how HeyGen Video Agent works →](https://help.heygen.com/en/articles/12402907-how-to-get-started-with-video-agent)
-If a generated person is only one layer in a locally editable film, [add the
-presenter as media inside a HyperFrames project](/guides/avatar-presenter).
-HeyGen generation can use an account allowance or credits; local HyperFrames
-rendering does not.
-
-## If you are unsure
-
-Start with the local path. It preserves the most options because the project
-stays editable. Use the [developer journey](/developers) instead when your goal
-is an application or automated pipeline rather than one video.
-
## Related topics
- [Make a first local video](/quickstart)
-- [Create through a hosted AI chat](/guides/mcp)
-- [Bring a design into a HyperFrames project](/guides/design-tools)
+- [Add an avatar presenter to a project you can still edit](/guides/avatar-presenter)
+- [Build an app or a pipeline instead of one video](/developers)
diff --git a/docs/guides/color-grading.mdx b/docs/guides/color-grading.mdx
index e712bc3a65..9dec35aa9b 100644
--- a/docs/guides/color-grading.mdx
+++ b/docs/guides/color-grading.mdx
@@ -1,12 +1,13 @@
---
title: "Color grade images and footage"
sidebarTitle: "Color grading"
-description: "Correct exposure and color, shape a look, apply a LUT, and review the result in Studio."
+description: "Fix exposure and color on an image or video, shape a look with wheels and curves, apply a LUT, and check the result against real measurements."
---
-Use Color Grading when an image or video needs correction or a deliberate
-visual look. It changes that media element only; text, captions, SVG, and normal
-HTML remain separate layers.
+Grading changes how a photo or video **looks** — brighter, warmer, moodier, more
+or less colorful. It runs on one media element at a time. The file on disk never
+changes, and text, captions, SVG and ordinary HTML stay on their own layers,
+untouched.
<Frame caption="The same source before and after a restrained natural-portrait grade.">
<img
@@ -15,114 +16,161 @@ HTML remain separate layers.
/>
</Frame>
-## Work in this order
+## Correct first, then style
-| Pass | Purpose |
-| --- | --- |
-| Correct | Fix exposure, white balance, contrast, and saturation |
-| Grade | Shape tonal ranges or a selected color |
-| Apply a look | Start from a preset or a compatible `.cube` LUT |
-| Finish | Add restrained detail or film effects |
+Get exposure, white balance, contrast and saturation believable first. Then shape
+the tonal ranges or a single color, then a preset or a LUT, then grain, vignette
+and film effects last. No preset rescues blown-out highlights, shadows with
+nothing left in them, or the wrong shot.
+
+## Try it in Studio
+
+Select an image or video — on the canvas, in Layers, or on the timeline — and
+open **Grade** in the Inspector.
-Correct before stylizing. A strong preset cannot rescue clipped highlights,
-unreadable shadows, or the wrong source.
+Start with a preset. There are eighteen, from Clean Studio and Skin Soft to VHS
+Playback, and Studio renders each as a thumbnail of **your** frame rather than
+someone else's sample. **Strength** dials the chosen look between nothing and
+full.
-## Grade in Studio
+{/* VISUAL NEEDED (1): Studio's preset thumbnail grid — all eighteen presets on
+one real frame, Clean Studio through VHS Playback. */}
-1. Select an image or video on the canvas, in Layers, or on the timeline.
-2. Open **Color grading** in **Design**.
-3. Start with a preset or small corrections.
-4. Use the scopes and compare control to check the result.
-5. Scrub several moments before judging moving footage.
+Hold the compare button in the panel header to flash back to the original. On
+moving footage, scrub several places first — a grade that flatters one frame can
+wreck the next.
-The controls answer different questions:
+## What each control does
| Control | Use it for |
| --- | --- |
-| Preset and strength | Establish a starting look |
-| Exposure, contrast, highlights, shadows, white point, black point | Correct brightness and contrast |
-| Warmth, tint, vibrance, saturation | Correct or shape color |
-| Color wheels | Shift shadows, midtones, or highlights |
-| RGB curves | Remap luminance or individual channels |
-| Hue curves | Move, saturate, or brighten a selected hue |
-| HSL selections | Correct pixels inside a hue, saturation, and luma range |
-| Grain, vignette, blur, and effects | Finish or deliberately degrade the image |
-| Custom LUT | Apply a known 3D `.cube` transform |
-
-HyperFrames supports up to four ordered HSL selections. They are static
-pixel-value qualifiers, not object tracking, rotoscoping, or spatial masks.
-
-Studio scopes are inspection tools:
-
-| Scope | Shows |
-| --- | --- |
-| Histogram | Overall dark-to-bright distribution |
-| Waveform | Brightness by horizontal image position |
-| RGB Parade | Channel balance and clipping |
-| Vectorscope | Hue direction and saturation |
+| Preset and strength | Pick a whole look, then dial it back |
+| Exposure, contrast, highlights, shadows, whites, blacks | Brightness and contrast, overall and per tonal range |
+| Warmth, tint, vibrance, saturation | Take out a color cast, or push color further |
+| Color wheels | Tint shadows, midtones and highlights separately |
+| RGB curves | Redraw the brightness ramp — whole image, or red, green and blue one at a time |
+| Hue curves | Pick one hue and move only it: shift, saturate or brighten |
+| HSL selections | Key a band of hue, saturation and brightness, then correct only those pixels. Up to four, in order |
+| Grain and vignette | Add texture, or darken the edges to pull the eye in |
+| Custom LUT | Load a `.cube` file that maps every color to another |
+
+{/* VISUAL NEEDED (2): color wheels, a bent RGB curve, a hue curve and one HSL
+selection, each beside the frame it produced. */}
+
+## Read the scopes, not your screen
-## Give the agent the visible problem
+Scopes measure the picture live, so you are not guessing from a monitor that may
+be too bright. Studio draws four.
-You do not need to prescribe shader values:
+- **Histogram** — how much of the frame is dark, mid, or bright. Piled against
+ either end means detail is already gone.
+- **Waveform** — brightness across the frame left to right, so you see *which
+ part* is blown out.
+- **RGB parade** — that waveform split into red, green and blue. One channel
+ riding high is your color cast, named.
+- **Vectorscope** — a circle of hues: direction is which color, distance from the
+ centre is how saturated. Skin tones land on one known line, so faces are quick
+ to check.
+
+{/* VISUAL NEEDED (3): the four scopes side by side, on the same frame before
+and after a correction. */}
+
+## Compare candidate looks in one image
+
+Instead of flipping between options, render them all onto one reference frame:
+
+```bash
+npx hyperframes grade-compare --for frame.png --grades grades.json
+```
+
+`--grades` takes a JSON array of `{ label, grading }` entries; `--for` takes an
+image, or a video sampled at its first frame. The untouched frame leads as a cell
+labelled `original` unless you pass `--no-baseline`. Up to sixteen cells land
+four to a row in `grade-compare.png`, or wherever `--out` points. Swap `--grades`
+for `--luts looks/a.cube,looks/b.cube` to compare LUT files the same way.
+
+{/* VISUAL NEEDED (4): a real grade-compare.png sheet — the labelled grid with
+`original` in the first cell. */}
+
+## Or describe the problem to the agent
+
+You do not need to name controls or invent values:
```text
The interview looks too dark and slightly cold.
Keep skin natural, recover the background enough to read, and avoid a filtered look.
```
-The agent can inspect the current capability contract and analyze a local
-source before changing it:
+The agent can list what exists, and measure a local source before changing it:
```bash
npx hyperframes media-treatment --capabilities --json
npx hyperframes media-treatment --selector '#interview' --analyze --json
```
-For source-sensitive prompts and worked A/B examples, continue to
+`--analyze` reports the source's color metadata, where its brightness sits, what
+is clipping, and a bounded correction to start from. For source-sensitive prompts
+and worked before-and-afters, see
[Color grading and film effects](/prompting/color-grading).
-## Reuse a grade carefully
+## Reuse a grade
-In Studio, use **Copy grade to** for other media in the current file or project.
-Treat the copy as a starting point and inspect each source.
+**Copy grade to** applies the current grade to other media, in this file or
+across the project — a starting point, since the same numbers rarely suit two
+shots. Project-wide copy refuses a relative LUT path, because that path means
+something different from another composition's folder; stay in the current file,
+or use a LUT reachable by URL or data URL.
-Project-wide copy rejects project-relative LUT paths because the same path can
-resolve differently from another composition. Use a project-root path, a data
-URL, or copy only within the current file.
+## Use a LUT only when you know what it expects
-## Use LUTs with known intent
+A LUT is a lookup table: a file mapping every input color to an output color.
+HyperFrames reads a 3D `.cube` file up to 64 points per side and blends it in at
+an intensity you set.
-Import a project-local 3D `.cube` LUT only when you know the look or conversion
-it expects. HyperFrames does not identify camera profiles or apply an automatic
-ACES/OCIO workflow.
+Nothing normalizes your footage first — HyperFrames does not identify camera
+profiles or run an ACES or OCIO pipeline, the color-management systems film
+finishing uses. The safe case is a creative Rec.709 LUT, built for ordinary web
+and broadcast video, which is also the only color space these controls work in.
+LOG footage, shot deliberately flat and grey so it holds detail for grading,
+needs the transform its camera expects or comes out wrong rather than stylized.
-A creative Rec.709 LUT is the safest normal path. LOG or HDR footage requires a
-known source transform.
+{/* VISUAL NEEDED (5): one frame under two or three .cube LUTs, plus the same
+LUT at partial and full intensity. */}
+## Where the grade is stored
-## Current limits
+Studio and the CLI write the result into `data-color-grading`, in named sections:
+corrections under `adjust`, grain and vignette under `details`, stylized
+treatments under `effects`.
-| Source or workflow | Status |
-| --- | --- |
-| SDR image or video | Supported |
-| 4K SDR media | Supported with higher preview and render cost |
-| iPhone HDR, HLG, or Dolby Vision-style media | Studio can show an SDR preview; native HDR delivery is a separate path |
-| LOG footage | Requires a known matching transform or LUT |
-| Full-scene grade including HTML text | Not supported; grading targets individual media elements |
-| Face or region tracking | Not supported |
-| Remote media | Requires compatible CORS headers |
-| ACES/OCIO finishing | Outside the current browser shader pipeline |
-
-Continue to [Media effects](/guides/media-effects) for blur, bloom, retro,
-print, glitch, and art treatments. Use [HDR rendering](/guides/hdr) when the
-final delivery must remain HDR.
-
-<Card title="Implement a grade in HTML" icon="code" href="/reference/color-grading">
- Persist a grade, animate supported properties, or isolate a graded region.
-</Card>
+```html
+<video src="./interview.mp4" data-color-grading='{"preset":"skin-soft","intensity":0.7,"adjust":{"exposure":0.15},"effects":{"bloom":0.4}}'></video>
+```
+
+The nesting is not optional. A flat object such as `{"exposure":0.15}` renders
+nothing at all; `npx hyperframes lint` catches it and names the section the
+control belongs in.
+
+## What it cannot do
+
+Grading picks pixels by value, never by position: no face tracking, region
+tracking, rotoscoping or masks — an HSL selection is a color qualifier, not a
+shape. To treat one part of a frame, split it into its own media layer and grade
+that layer, as in the [implementation reference](/reference/color-grading). It
+targets media elements only, so a whole scene including HTML text cannot be
+graded.
+
+SDR images and video are the supported case; 4K works at a higher preview and
+render cost. An HDR source — iPhone HDR, HLG, Dolby Vision-style — gets an SDR
+preview and a banner saying so: the render may stay HDR-tagged, but this is not
+true HDR grading yet. Remote media needs permissive CORS headers and can vanish
+before render time, so keep media in the project.
+
+For blur, bloom, retro, print, glitch and art treatments, see
+[Media effects](/guides/media-effects).
## Related topics
- [Apply media effects](/guides/media-effects)
-- [Use images and video](/guides/video-components)
+- [Implement a grade in HTML](/reference/color-grading)
- [Deliver an HDR render](/guides/hdr)
diff --git a/docs/guides/design-tools.mdx b/docs/guides/design-tools.mdx
index 76d30ca6ad..25b0e1d1b5 100644
--- a/docs/guides/design-tools.mdx
+++ b/docs/guides/design-tools.mdx
@@ -1,78 +1,82 @@
---
title: "Bring a design into a project"
sidebarTitle: "Bring in a design"
-description: "Start from Figma, a design-tool draft, or an existing brand system without turning the video into a stack of screenshots."
+description: "Start from a Figma file or a design-tool draft. Keep the look, rebuild only what has to move."
---
-Use an existing design as source material: preserve its visual language, then
-rebuild what must move as editable HyperFrames scenes.
+Already have a design — Figma, a design-tool draft, a brand kit? One rule
+decides how each piece comes across:
-## Choose what should remain editable
+**Pictures stay pictures. Anything that has to move or change gets rebuilt as
+real HTML — the editable code the video is made of.**
-| Source | Keep as media | Rebuild in HTML |
-| --- | --- | --- |
-| Logo, icon, illustration, or textured artwork | Usually | Only when individual parts must animate |
-| Product screenshot | When a still proves the point | When the scene needs a real interaction or responsive crop |
-| Figma component | When exact pixels matter more than editing | When text, color, layout, or states must change |
-| Storyboard frames | Use as visual references | Reconstruct the intended motion between states |
-| Brand colors and type | Import the files and values | Apply them across the composition |
+## What to keep as a picture
-Do not animate a stack of complete screenshots merely because they came from a
-design tool. Use screenshots for proof; use HTML for the parts that need to
-change.
+Keep the export when the piece just sits there and looks right:
+
+- Logos, icons, illustrations, textured artwork.
+- A screenshot, when a still proves the point.
+- A Figma component, when exact pixels matter more than editing.
+- Storyboard frames, as references for the look.
+
+## What to rebuild in HTML
+
+Rebuild it when something inside changes while the video plays:
+
+- Parts of an illustration animate separately.
+- A screen shows a real interaction, or is re-cropped to another size.
+- Text, color, layout, or on/off states change.
+- Storyboard frames whose point is the motion between them — build that
+ movement, don't cut between finished frames.
+
+Brand colors and fonts: import once, use everywhere.
+
+Don't animate a stack of finished screenshots just because a design tool made
+them. Screenshots are proof. HTML is what changes.
+
+{/* VISUAL NEEDED HERE: one Figma frame twice — left a flat picture, right
+ rebuilt in HTML, text and state changed. */}
## Start from Figma
-Send the agent the Figma link and the outcome:
+Give the agent the link and the outcome:
```text
-Use this Figma section as the visual source for a 20-second product intro:
+Use this Figma section as the source for a 20-second product intro:
https://www.figma.com/design/FILE/Project?node-id=10-20
-Preserve the brand type and colors. Import artwork as local assets, rebuild the
-product states that need to move, and treat the frames as key moments rather
-than separate slides.
+Keep the brand type and colors. Rebuild the states that must move. Treat the
+frames as key moments, not slides.
```
-The agent can use the `/figma` skill to import assets, read brand values,
-reconstruct editable components, and translate supported motion. Everything
-required by the final render should end up as local project source.
-
-For tokens, API credentials, exact CLI commands, and import troubleshooting,
-use the [Figma integration reference](/guides/figma).
+The `/figma` skill imports artwork, reads brand values, rebuilds components as
+editable HTML, and translates motion where it can. It all lands in the project,
+so rendering never depends on Figma. Tokens, commands and errors:
+[Figma reference](/guides/figma).
## Start from Claude Design or Open Design
-These tools can establish layout, palette, type, and scene direction before a
-deeper production pass.
+These settle layout, palette, type, and scene direction first.
-1. Give the design tool the current HyperFrames instruction file and your real
- brand material.
-2. Ask for a valid project rather than isolated mockups.
-3. Download or save the project to disk.
-4. Open that folder with a coding agent.
-5. Let the agent validate timing, motion, media, captions, and rendering.
+1. Give the tool the HyperFrames instruction file and your brand material.
+2. Ask for a working project, not loose mockups.
+3. Save it to disk, then open that folder with a coding agent.
+4. Let the agent check timing, motion, media, captions, and rendering.
[Claude Design instruction](https://github.com/heygen-com/hyperframes/blob/main/docs/guides/claude-design-hyperframes.md) · [Open Design handoff](https://github.com/heygen-com/hyperframes/blob/main/docs/guides/open-design-hyperframes.md)
-## Judge the handoff
-
-A useful handoff has:
-
-- a clear visual direction;
-- real assets or honestly labeled placeholders;
-- editable source for anything likely to change;
-- stable local media and fonts;
-- a project that opens and can be checked.
+## Is the handoff any good?
-Run:
+A good one has a clear direction, real assets or honestly labeled placeholders,
+editable source for whatever may change, local media and fonts, and a project
+that opens. Check that yourself:
```bash
npx hyperframes check
npx hyperframes preview
```
-Then review the actual movement in [Studio](/studio), not only the design stills.
+Then watch it move in [Studio](/studio) — stills cannot show timing.
## Related topics
diff --git a/docs/guides/hyperframes-vs-remotion.mdx b/docs/guides/hyperframes-vs-remotion.mdx
index 8dc8073f65..7605e0099a 100644
--- a/docs/guides/hyperframes-vs-remotion.mdx
+++ b/docs/guides/hyperframes-vs-remotion.mdx
@@ -1,103 +1,165 @@
---
title: "HyperFrames or Remotion?"
-description: "A practical comparison of HTML-first HyperFrames and React-first Remotion."
+description: "The same three-second title card written in Remotion React and in HyperFrames HTML, plus an honest read on which tool fits your project."
---
-Both tools create videos with web technology and render them through a browser. The main difference is the authoring model.
-
-- **HyperFrames** treats HTML, CSS, and browser animation as the composition.
-- **Remotion** treats React components and frame-based React code as the composition.
-
-Neither choice is universally better. Pick the one that fits the source material, team, and workflow.
-
-## At a glance
-
-| Question | HyperFrames | Remotion |
+Both tools make video out of web pages. Both open a real browser, draw each
+frame, and encode the result. The difference is what you write.
+
+Remotion asks for a React component. HyperFrames asks for an HTML file.
+
+Here is the same three seconds — a title that fades in, holds, and fades out —
+written both ways. Neither version is padded or crippled to make a point.
+
+## The same title card, twice
+
+**Remotion.** The component is a function of the current frame number. You do
+the timing math yourself, in frames.
+
+```tsx
+import { AbsoluteFill, interpolate, useCurrentFrame } from "remotion";
+
+export const TitleCard = () => {
+ const frame = useCurrentFrame();
+
+ // fade in over frames 0-15, hold to 75, fade out by 90
+ const opacity = interpolate(frame, [0, 15, 75, 90], [0, 1, 1, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+
+ return (
+ <AbsoluteFill
+ style={{ backgroundColor: "#0a0a0a", justifyContent: "center", alignItems: "center" }}
+ >
+ <div style={{ fontSize: 160, fontWeight: 800, color: "#fff", opacity }}>HELLO</div>
+ </AbsoluteFill>
+ );
+};
+```
+
+A `<Composition>` entry in another file registers it as 90 frames at 30fps,
+1280×720.
+
+**HyperFrames.** The markup declares when things are on screen. A GSAP timeline
+declares how they move. Both live in one file.
+
+```html
+<style>
+ #stage { position: relative; width: 1280px; height: 720px; overflow: hidden; background: #0a0a0a; }
+ .clip { position: absolute; inset: 0; display: grid; place-items: center; }
+ #title { font-size: 160px; font-weight: 800; color: #fff; opacity: 0; }
+</style>
+
+<div id="stage" data-composition-id="title-card" data-start="0"
+ data-width="1280" data-height="720" data-duration="3" data-fps="30">
+ <div id="card" class="clip" data-start="0" data-duration="3" data-track-index="0">
+ <div id="title">HELLO</div>
+ </div>
+</div>
+
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
+<script>
+ // same fade, written in seconds instead of frames
+ const tl = gsap.timeline({ paused: true });
+ tl.to("#title", { opacity: 1, duration: 0.5, ease: "none" }, 0);
+ tl.to("#title", { opacity: 1, duration: 2.0, ease: "none" }, 0.5);
+ tl.to("#title", { opacity: 0, duration: 0.5, ease: "none" }, 2.5);
+
+ window.__timelines = window.__timelines || {};
+ window.__timelines["title-card"] = tl;
+</script>
+```
+
+That is the whole file apart from `<head>` boilerplate. Three rules make it
+render: every visible slot carries `class="clip"` with an `id`, `data-start`,
+`data-duration`, and `data-track-index`; the timeline is created **paused**; and
+it is registered on `window.__timelines` under the same id as the root element.
+Miss the last one and you get a still frame with no motion. The
+[HTML schema](/reference/html-schema) lists every attribute.
+
+{/* VISUAL: side-by-side stills of both renders of this title card. No approved asset exists yet — do not add a URL until one does. */}
+
+Neither file is obviously better. The Remotion one is a pure function you can
+reason about in your head. The HyperFrames one is a page you can open in a
+browser and inspect with devtools.
+
+## Where they actually differ
+
+| | HyperFrames | Remotion |
| --- | --- | --- |
-| Main authoring surface | HTML, CSS, and JavaScript | React and TypeScript |
-| Agent workflow | Built around agent skills and plain HTML projects | Provides agent skills and React video workflows |
-| Visual editing | HyperFrames Studio edits the rendered DOM and project source | Remotion Studio can edit and animate React compositions visually, then save changes back to code |
-| Existing web material | Can often be used directly or adapted as HTML | Usually translated into React components |
-| Animation model | Seeks registered browser timelines frame by frame | Commonly derives visuals from the current frame in React |
-| Reuse | HTML scenes, components, and Catalog items | React components and the React ecosystem |
-| Cloud rendering | Local, hosted cloud, AWS Lambda, and other deployment paths | Mature AWS Lambda and server-rendering options |
-| License | Apache 2.0 | Custom license with free and paid eligibility rules |
-
-## Choose HyperFrames when
-
-HyperFrames is a strong fit when:
-
-- an AI agent will do most of the authoring;
-- the source is a website, HTML prototype, design artifact, or browser animation;
-- you want GSAP and other browser timelines to be seeked deterministically;
-- a human should review and edit the same DOM the renderer consumes;
-- Apache 2.0 licensing matters;
-- you want a project that can remain mostly plain HTML.
-
-The main tradeoff is ecosystem maturity. HyperFrames is newer, and some advanced deployment and integration surfaces have less history than Remotion’s.
-
-## Choose Remotion when
-
-Remotion is a strong fit when:
-
-- your team already builds in React and TypeScript;
-- you want to reuse React components and tooling;
-- frame-driven React code is a natural way to express the animation;
-- you depend on Remotion’s established templates, community, or production infrastructure;
-- its mature Lambda ecosystem is important;
-- your organization is comfortable with its current license.
-
-The main tradeoff is translation. Existing HTML, imperative browser animation, or a non-React design artifact may need to be adapted into React’s model.
-
-## Animation is the deepest technical difference
-
-Remotion compositions commonly calculate visual state from the current frame. This is explicit and works naturally with React.
-
-HyperFrames can also use frame-derived logic, but its distinctive path is a **frame adapter**: the renderer pauses a browser animation timeline and seeks it to the exact output time before capturing the frame.
+| What you write | HTML, CSS, and JavaScript | React and TypeScript |
+| How motion is timed | The renderer pauses your animation and *seeks* it — jumps it to an exact moment — before capturing each frame | Your code reads the frame number and returns the values for that frame |
+| Existing web material | HTML, CSS, and a GSAP or Lottie animation usually drop in close to as-is | Rewritten as React components |
+| License | [Apache 2.0](https://github.com/heygen-com/hyperframes/blob/main/LICENSE) | Its own license — free for individuals and companies up to three people, paid above that. Check the [current terms](https://www.remotion.pro/license) |
-That makes GSAP, Web Animations, Lottie, and other supported browser runtimes usable without letting their wall clock control the render.
+The seeking model is the interesting one. Because HyperFrames drives the
+animation rather than watching a clock, GSAP, Web Animations, Lottie, and other
+browser runtimes render deterministically — the same frame comes out the same
+every time. See [Frame adapters](/concepts/frame-adapters) and
+[Deterministic rendering](/concepts/determinism).
-See [Frame adapters](/concepts/frame-adapters) and [Deterministic rendering](/concepts/determinism).
+Both projects ship a visual editor and both save changes back to source.
+[HyperFrames Studio](/studio) edits the same DOM the renderer captures. Remotion
+Studio edits React compositions. They are not interchangeable, and neither
+replaces editing the source for real structural changes.
-## Studio works differently
+Both render on AWS Lambda. HyperFrames also renders locally, on HeyGen's hosted
+cloud, and on Google Cloud Run — see [rendering paths](/deploy/overview).
-HyperFrames Studio selects and edits elements in the live composition DOM. It includes Storyboard and Preview views, direct canvas editing, layers, a timeline, animation controls, assets, captions, variables, source files, lint handoff, and export.
+## What Remotion does better
-That does not mean every structural change should be made visually. Broader story and source changes are often better handled by the agent.
+Say this plainly, because it matters if you are choosing today.
-Remotion Studio is a development and visual-editing environment for React compositions. It supports direct manipulation and animation controls, then saves the result back to React code. Remotion also publishes tooling for building custom editing applications.
+Remotion is older and much more established. It has more templates, more
+tutorials, more answered questions, and far more production history. Remotion
+Lambda in particular is a mature, heavily documented rendering system; ours is
+newer.
-The two Studios are not interchangeable. HyperFrames Studio operates on the DOM and HTML project that HyperFrames renders; Remotion Studio operates on React compositions.
+If your team already writes React, Remotion gives you your components, your
+design system, your charting libraries, and typed, validated composition inputs
+for free. Nothing to translate.
-## Rendering and deployment
+And its model is genuinely simpler to hold in your head. One pure function of
+the frame number, no timeline to register, no contract to get subtly wrong.
+HyperFrames asks you to follow rules — paused timeline, no wall clocks, no
+unseeded randomness — and breaks quietly if you don't.
-Remotion Lambda is a mature distributed-rendering system with extensive AWS documentation.
+## What HyperFrames does better
-HyperFrames supports local rendering, HeyGen-hosted cloud rendering, AWS Lambda, Google Cloud Run, and custom deployment. The right comparison depends on the destination, expected volume, and how much infrastructure the team wants to operate.
+You do not need React, a build step, or a component rewrite. A website, an HTML
+prototype, an exported design, or an existing browser animation is already
+close to a composition.
-See [HyperFrames deployment](/developers) and [Remotion Lambda](https://www.remotion.dev/docs/lambda).
+It is built for an AI agent to author. The [agent skills](/guides/skills)
+encode the framework's rules, so the agent writes valid compositions instead of
+guessing, and a human can then edit the same file in Studio.
-## Licensing
+And Apache 2.0 means no seat count and no license review.
-HyperFrames is available under the [Apache 2.0 license](https://github.com/heygen-com/hyperframes/blob/main/LICENSE).
+## Moving a Remotion project across
-Remotion uses its own license. Its current terms allow free use for individuals and companies of up to three people, with a Company License required for larger organizations. Pricing and eligibility can change, so check the [official Remotion license page](https://www.remotion.pro/license) instead of relying on a copied price here.
+There is a real migration path, not a promise. Install the skill:
-## Moving an existing project
+```bash
+npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes --full-depth
+```
-Do not migrate only because one framework looks newer. First identify what the current project depends on:
+Then ask your agent to port the composition. It maps `useCurrentFrame` and
+`interpolate` onto timeline tweens, `Sequence` onto clips, and converts frames
+to seconds. Roughly 80% of a typical composition translates mechanically.
-- React components and React-specific libraries;
-- imperative browser animation;
-- cloud-rendering infrastructure;
-- visual editing;
-- licensing;
-- team familiarity.
+The other 20% is the point of the skill. It refuses to translate what does not
+fit: React state machines built on `useState` or `useEffect`, async metadata,
+third-party React UI libraries. Those get flagged instead of silently
+mistranslated. It also grades its own output — it renders both versions and
+compares them frame by frame, and it writes down anything it dropped.
-If a Remotion composition is a good candidate for HyperFrames, ask `/hyperframes` to route the work through the Remotion-to-HyperFrames migration workflow. Validate the result scene by scene; source migration is not a mechanical file conversion.
+Migrate because your source material or your team fits better on this side. Not
+because one framework looks newer.
## Related topics
-- [Understand the HyperFrames project model](/concepts)
+- [How a HyperFrames composition works](/concepts/compositions)
+- [Install and use the agent skills](/guides/skills)
- [Choose a rendering path](/deploy/overview)
-- [Build on HyperFrames](/developers)