AI Video Editing Flows

Effect #001 in our rendered series

Word-highlight captions

TikTok-style captions where the spoken word lights up, for talking heads, podcast clips and ads.

Real footage, with sound

1920x1080 file, 5.3 MB

Rendered by us at 1920x1080 over a shot from Tears of Steel (Blender Foundation, CC-BY 3.0). Expand plays the full 1080p file with the film's sound.

Edit in Premiere, Resolve or After Effects? Jump to editor templates. Making many versions of the same video? Use the code route.

Make this effect with

Built and tested by us

Other ways, not tested by us

Use it in a real edit

The demo above already plays the composition over real footage: the clip is a muted <video> layer under the graphics (the file plate.mp4 in the code below), and the film's sound is added to the finished file. Replace that file with your own clip and render again. To use the graphics in an editor instead, switch the background off and render a transparent MOV (an H.264 MP4 cannot carry transparency):

Render the graphics alone, with transparency
npx hyperframes render . -o overlay.mov --format mov --fps 24 --variables '{"plate":false}'

The routes in full

With Claude Code: the prompt we used

Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.

Build a 5-second, 1920x1080, 24 fps HyperFrames composition of word-highlight captions, TikTok style, from the registry component caption-highlight. Uppercase Montserrat 800 words in a centred group near the bottom third; the word being spoken gets a solid rounded highlight that wipes in from the left and a small scale pop, then hands over to the next word. Phrases: "Captions that land" / "on every word." / "Cut the pauses," / "keep the energy." timed so each word lasts 0.15 to 0.55 seconds. Add variables: highlight colour, text size, a line set that switches to two long sentences that must wrap onto two lines without breaking the highlight, and a background switch so the same file renders as a transparent overlay. Put a moving dark gradient behind it as a stand-in for footage. Use the local GSAP file, one paused timeline, no random numbers.

What changed since this prompt: the demo on this page is our second version, 6.2 seconds long, rebuilt on a shot from Tears of Steel with the same animation idea. The full composition below is the one we rendered; its build log lists every change.

Built by Claude Code (Claude Opus 5.5, the lead session) from the HyperFrames registry component caption-highlight, HyperFrames 0.8.10. Claude Code then checked the composition with hyperframes lint and hyperframes check before we rendered it.

What we had to correct (4 notes from the build log):

  • 4 Nov 2026 23:44 IST, lint 1: 1 error, `timeline_registry_missing_init` (the timeline was registered without `window.__timelines = window.__timelines || {};` first). Fix: added the line before the timeline is built.
  • 4 Nov 2026 23:46 IST, lint 2 and `hyperframes check`: 0 errors, 0 warnings, 15 of 15 text contrast checks pass WCAG AA.
  • Decided against: the component's original sample sentence (it advertises HyperFrames) and its red highlight (we use our timeline orange by default, colour is a variable).
  • v2 (7 Nov 2026): rebuilt on Tears of Steel footage (plate dlg_barley: 196.8 to 203.0 s, Old Thom's crew, a sniper cutaway, then the trio) with the film's sound; the highlight box follows 'How's it looking, Barley? We should have about ten minutes... Well, that's perfect.' Word times: faster-whisper medium.en and small.en on the cut plate, onsets checked against the 200 to 4000 Hz envelope (How's starts 0.36 s into the plate, not the 0.0 to 0.26 s whisper gives). The plate was cut 0.3 s later than first planned so the first word shows by 0.5 s. Captions 76 to 96 px, bottom margin 80 px, length 6.2 s.

With HyperFrames code

Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.

Install the block and render
npx hyperframes add caption-highlight
npx hyperframes render . -o out.mp4 --fps 24

Settings you can change without rebuilding (pass them with --variables):

SettingNameTypeDefault
Highlight colouraccentcolor#ff5a1f
Text size (px)sizenumber84
Line setlinesenumstandard
Show backgroundplatebooleantrue
Our full composition (index.html, 7 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[
  {"id":"accent","type":"color","label":"Highlight colour","default":"#ff5a1f"},
  {"id":"size","type":"number","label":"Text size (px)","default":84,"min":76,"max":96},
  {"id":"lines","type":"enum","label":"Line set","default":"standard","options":[{"value":"standard","label":"Short phrases (3 words)"},{"value":"long","label":"Long lines that wrap"}]},
  {"id":"plate","type":"boolean","label":"Show background","default":true}
]'>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=block" rel="stylesheet" />
    <script src="gsap.min.js"></script>
    <style>
      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: transparent; }
      #root { position: relative; width: 100%; height: 100%; overflow: hidden; background: transparent; }
      #plate { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 40%, #1b2335 0%, #0b0d12 70%); overflow: hidden; }
      #world { position: absolute; left: -200px; top: -120px; width: 2400px; height: 1320px; }
      .blob { position: absolute; border-radius: 50%; filter: blur(60px); }
      .b1 { width: 760px; height: 760px; left: 180px; top: 260px; background: #ff5a1f; opacity: 0.35; }
      .b2 { width: 900px; height: 900px; left: 1200px; top: 80px; background: #2f6bff; opacity: 0.45; }
      .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 120px 120px; }
      #cap { position: absolute; inset: 0; z-index: 10; }
      .grp { position: absolute; bottom: 80px; left: 0; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 10px 14px; padding: 0 200px; opacity: 0; visibility: hidden; }
      .w { font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase; color: #fff; display: inline-block; letter-spacing: 0.02em; line-height: 1; position: relative; padding: 8px 14px 10px; text-shadow: 0 6px 18px rgba(0,0,0,0.5); transform-origin: 50% 60%; }
      .bg { position: absolute; inset: 0; background: var(--accent); border-radius: 12px; opacity: 0; transform: scaleX(0); transform-origin: 0% 50%; z-index: -1; box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
      .t { position: relative; z-index: 1; }
    
      /* footage plate (v2): real footage, pinned, no generated blobs */
      #plate { background: #000 !important; }
      #world { left: 0 !important; top: 0 !important; width: 1920px !important; height: 1080px !important; transform: none !important; }
      #world .blob, #world .grid { display: none !important; }
      #pv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: cover; }
      #scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%); }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="6.2" data-fps="24" data-width="1920" data-height="1080">
      <div id="plate"><div id="world"><video id="pv" src="plate.mp4" muted playsinline data-start="0" data-duration="6.2"></video><div id="scrim"></div><div class="blob b1" id="b1"></div><div class="blob b2" id="b2"></div><div class="grid"></div></div></div>
      <div id="cap"></div>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        if (!v.plate) document.getElementById("plate").style.display = "none";
        const SETS = {
          standard: [
          [["How's", 0.36, 0.58], ["it", 0.58, 0.68], ["looking,", 0.68, 0.94], ["Barley?", 0.96, 1.4]],
          [["We", 1.9, 2.2], ["should", 2.2, 2.52], ["have", 2.52, 2.76]],
          [["about", 2.76, 3.02], ["ten", 3.02, 3.26], ["minutes...", 3.26, 3.6]],
          [["Well,", 4.9, 5.16], ["that's", 5.16, 5.54], ["perfect.", 5.54, 5.86]],
        ],
          long: [[["How's", 0.36, 0.58], ["it", 0.58, 0.68], ["looking,", 0.68, 0.94], ["Barley?", 0.96, 1.4]], [["We", 1.9, 2.2], ["should", 2.2, 2.52], ["have", 2.52, 2.76], ["about", 2.76, 3.02], ["ten", 3.02, 3.26], ["minutes...", 3.26, 3.6]], [["Well,", 4.9, 5.16], ["that's", 5.16, 5.54], ["perfect.", 5.54, 5.86]]],
        };
        const groups = SETS[v.lines] || SETS.standard;
        const cap = document.getElementById("cap");
        const tl = gsap.timeline({ paused: true });
        tl.fromTo("#world", { x: 0, y: 0 }, { x: -160, y: -50, duration: 6.2, ease: "none" }, 0);
        tl.fromTo("#b1", { x: 0, y: 0 }, { x: 140, y: -80, duration: 6.2, ease: "sine.inOut" }, 0);
        tl.fromTo("#b2", { x: 0, y: 0 }, { x: -120, y: 100, duration: 6.2, ease: "sine.inOut" }, 0);
        groups.forEach((g, gi) => {
          const grp = document.createElement("div");
          grp.className = "grp"; grp.id = "g" + gi;
          g.forEach(([text], i) => {
            const w = document.createElement("span"); w.className = "w"; w.id = `w${gi}_${i}`; w.style.fontSize = v.size + "px";
            const bg = document.createElement("span"); bg.className = "bg"; bg.id = `bg${gi}_${i}`;
            const t = document.createElement("span"); t.className = "t"; t.textContent = text.toUpperCase();
            w.appendChild(bg); w.appendChild(t); grp.appendChild(w);
          });
          cap.appendChild(grp);
          const start = g[0][1];
          const next = groups[gi + 1] ? groups[gi + 1][0][1] : 6.2;
          const end = Math.min(g[g.length - 1][2] + 0.35, next - 0.05);
          tl.set(grp, { visibility: "visible" }, start);
          tl.fromTo(grp, { opacity: 0, y: 18 }, { opacity: 1, y: 0, duration: 0.16, ease: "power2.out" }, start);
          g.forEach(([, ws, we], i) => {
            const bg = `#bg${gi}_${i}`, w = `#w${gi}_${i}`;
            tl.to(bg, { opacity: 1, scaleX: 1, duration: 0.14, ease: "power2.out" }, ws);
            tl.fromTo(w, { scale: 1 }, { scale: 1.08, duration: 0.08, ease: "power2.out" }, ws);
            tl.to(w, { scale: 1, duration: 0.18, ease: "power2.out" }, ws + 0.08);
            tl.to(bg, { opacity: 0, duration: 0.1, ease: "power2.in" }, we);
            tl.set(bg, { scaleX: 0 }, we + 0.1);
          });
          tl.to(grp, { opacity: 0, duration: 0.12, ease: "power2.in" }, end - 0.12);
          tl.set(grp, { visibility: "hidden" }, end);
        });
        window.__timelines["main"] = tl;
      })();
    </script>
  </body>
</html>

With Remotion

We have not built this effect in Remotion. If you use it, read its licence first: Individuals (personal or commercial use), organisations or teams with a total headcount of 3 or less, non-profits, and anyone evaluating Remotion before commercial use. A company does not qualify merely because it is unprofitable. Everyone not eligible for the Free License needs a Company License. Remotion licence FAQ, checked Nov 4, 2026.

Source page screenshot, captured 2026-11-07

Remotion TikTok captions template

By remotion-dev on GitHub

Official Remotion template for animated word by word captions. The catch is that it has no licence file, Remotion's company terms apply, and the first run downloads a large model.

Use it for: Builds word highlight captions as code.

Licence, price and checks
  • Licence Remotion licence: free for individuals, up to 3 employees and non-profits; company licence above that
  • Reuse Remotion licence: free for individuals, for-profit organisations with up to 3 employees and non-profits; a company licence is needed for larger for-profits (LICENSE.md in remotion-dev/remotion, read 6 Nov 2026)
  • Library check works, Oct 17, 2026

Source reviewed on Oct 17, 2026. Not tested by us.

In your editor: Premiere, Resolve, After Effects, CapCut

Designed card

Submagic: how to make Hormozi captions

By Submagic

Vendor blog post with three ways to build the popular bold word captions, naming the fonts. The catch is that it also promotes the vendor's product and shows no licence.

Use it for: Recreates bold word highlight captions on a short.

Licence, price and checks
  • Licence not shown
  • Reuse article, video or post; we reuse nothing from it
  • Price not shown
  • Library check works, Oct 14, 2026

Source reviewed on Oct 14, 2026. Not tested by us.

Variations

The same composition rendered again with different settings. Nothing was rebuilt.

Subtle: blue highlight, smaller text{"accent":"#2f6bff","size":76}
Bold: bigger text, hot pink{"accent":"#ff2d6f","size":96}
Long lines that wrap{"lines":"long"}

Spec and test details

Engine
HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
Length and frame rate
6.208 seconds at 24 fps, rendered at 1920x1080
Video files on this page
H.264: 1920x1080 for Expand (5399 KB), 1280x720 in the page (1973.7 KB), 640x360 in galleries (434.5 KB); the 1080p and 720p files carry the film's sound
Picture check
The 1080p file scores VMAF 98.21 against our render master and keeps 98% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
Old Thom, Barley and the Captain's crew, a sniper close-up cutaway, then the trio; 'How's it looking, Barley? We should have about ten minutes... Well, that's perfect.' (Tears of Steel, 3:16)
Tested in editors
None yet
Flash check
Passed: at most 1 general and 0 red flashes in any second. automated approximation of WCAG 2.3.1 on a 96x54 grid, whole loop including the restart; not a certification.
Licence
Composition adapted by us from the HyperFrames registry (Apache-2.0); text fonts from Google Fonts under the SIL Open Font License.
Last tested
Nov 7, 2026
Machine
Laptop: AMD Ryzen 7 7735U (8 cores, 16 threads), 31 GB RAM, Windows 11 Home; CPU rendering
Technical details: render times and file sizes
  • Render of the 6-second master: 103.2 s (2 render workers, on the laptop above).
  • full.mp4: 5399 KB
  • hero.mp4: 1973.7 KB
  • hero.webp: 38.8 KB
  • tile.mp4: 434.5 KB
  • tile.webp: 14.2 KB
  • Variation "subtle": rendered in 69 s, 427.7 KB
  • Variation "bold": rendered in 70.4 s, 438.8 KB
  • Variation "long": rendered in 69.2 s, 439.4 KB

Credits

  • Built from the HyperFrames registry component caption-highlight by HeyGen (Apache-2.0), adapted by us.
  • Fonts from Google Fonts, under the SIL Open Font License.
  • Footage: Tears of Steel, (c) Blender Foundation, mango.blender.org, licensed CC-BY 3.0. We cropped the shots to 16:9 and laid our graphics over them.
  • Editor templates and other routes on this page belong to their creators, who are credited on each card.

Related effects and jobs

Page checked on Nov 4, 2026.