Communitygithub.com

motion-captions

Animated captions / subtitles for Instagram Reels, TikTok and YouTube Shorts in Remotion: 6 trending styles — Bold Pop (Hormozi-style uppercase, stroke, keyword colour, word pop), Karaoke (active word grows), Editorial Mix (small words + one giant serif quote), Serif Mix, Box Line (plate + highlighted word), Minimal (lowercase fade). Covers word timing (Whisper word timestamps or silence-based estimation for low-resource languages), pagination, safe zone and when NOT to caption. Triggers: "captions", "subtitles", "animated captions", "karaoke captions", "hormozi captions", "word by word subtitles".

What is motion-captions?

motion-captions is a Claude Code agent skill that animated captions / subtitles for Instagram Reels, TikTok and YouTube Shorts in Remotion: 6 trending styles — Bold Pop (Hormozi-style uppercase, stroke, keyword colour, word pop), Karaoke (active word grows), Editorial Mix (small words + one giant serif quote), Serif Mix, Box Line (plate + highlighted word), Minimal (lowercase fade). Covers word timing (Whisper word timestamps or silence-based estimation for low-resource languages), pagination, safe zone and when NOT to caption. Triggers: "captions", "subtitles", "animated captions", "karaoke captions", "hormozi captions", "word by word subtitles".

Works with✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/bahodirbuxorov/claude-motion-skills/tree/HEAD/skills/motion-captions

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Captions — 6 animated subtitle styles (Remotion)

Code: starter/src/captions/Captions.tsx (components + wordsFromPhrase, paginatePhrases, paginate) and CaptionsDemo.tsx in claude-motion-skills. Pick ONE caption style per video and keep it for the whole reel.

Pick a style

StyleLooks likeBest onUse for
BoldPopUPPERCASE heavy sans, 6 px dark stroke + drop shadow, keyword in accent, each word pops (spring d11 s260, scale 0.7→1)talking head, busy videoenergetic tips, sales, hooks
Karaokewhole page small; spoken word 104 px in accent, past words white, future words 55 %anyfast speech, retention
Editorialsmall sans words inline + keyword as a giant serif-italic quote on its own linedark / photostorytelling, statements
SerifMixcalm grotesk; keyword switches to serif italic; words fade from 25 %dark / cinematicpremium, emotional
BoxLinewhite rounded plate, active word and keyword on accent platelight groundsproduct, education (most readable)
Minimallowercase medium, one line, soft fadeaesthetic footagevlogs, calm content

Timing (the part that makes or breaks captions)

  1. Word timestamps from ASR: Whisper with word_timestamps=True (or @remotion/openai-whisper / @remotion/install-whisper-cpp). Check them — ±0.15 s max drift.
  2. Low-resource languages (where ASR words are unreliable, e.g. Uzbek): measure phrase start/end with ffmpeg -af silencedetect=noise=-34dB:d=0.15, then wordsFromPhrase("text with *keyword*", start, end) spreads words by character length. Mark the keyword with *word*.
  3. Pages: prefer paginatePhrases(phrases, 24, 4) — pages never mix two sentences and each fits one plate line (≤ 24 chars incl. spaces, ≤ 4 words). paginate(words, n) (fixed word count) only for quick tests. A page stays ≥ 0.6 s; never split a number from its unit.
    • A lone dash/punctuation token (—, …) is glued to the previous word by wordsFromPhrase, so it never gets its own highlight.
  4. Captions must say exactly what the voice says (if TTS skipped a word, drop it from captions too).

Layout rules

  • Safe zone: text inside y 285–1248, x 80–910 (1080×1920). Default caption band y 1020–1240; move up when the lower third holds a product.
  • One keyword per page in the accent colour (never red text for keywords — low contrast); contrast ≥ 4.5:1 with stroke/plate/shadow as needed.
  • When NOT to caption: if the big on-screen headline already says the voice line (kinetic-type styles like Aura or News Flash), skip captions for that scene — never show the same sentence three times (headline + caption + voice).
  • Fonts must contain your language's glyphs (Uzbek ʻ ʼ: Inter, Inter Tight, Playfair Display ✓).

Quality checklist

  • Contact sheet of the whole video: no caption over faces/products, no page flicker, keyword colour consistent.
  • Scrub the 3 fastest sentences: caption ↔ voice drift ≤ 0.15 s.
  • Watch once muted on a phone: can a viewer follow the whole story from captions alone?

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

motion-aura-type

Remotion motion style "Aura Type" (soft gradient aura + minimal kinetic typography): white ground, 2–3 huge blurred colour blobs drifting slowly, words resolving one by one from blur to sharp, one serif-italic word in colour. For hooks, quotes, relatable one-liners, statements. Triggers: "aura gradient", "blur text animation", "kinetic typography", "quote reel", "minimal text reel".

motion-bento

Remotion motion style "Bento" (bento-grid feature board) for Instagram Reels and carousels: light ground, rounded tiles of different sizes in a tight grid, one fact per tile (big number, icon, 3D object, short label), one hero tile in brand colour; tiles pop in on a stagger, numbers count up. For product features, "what''s inside", dashboards, results. Triggers: "bento grid", "feature grid animation", "app features reel", "dashboard reel".

motion-data-bars

Remotion motion style "Data Bars" (editorial finance infographic) for Instagram Reels and carousels: cream ground, numbers as the hero, tall bars growing on springs, monotone percentage counters, one highlighted "answer" bar, grotesk headline with one serif-italic word, "sample numbers" tag. For data stories, breakdowns, comparisons, salary/tax/finance explainers. Triggers: "infographic reel", "bar chart animation", "data visualization video", "finance reel".

motion-glass-object

Remotion motion style "Glass & Object" for Instagram Reels, TikTok and YouTube Shorts: one glossy/puffy 3D object hero (Google Flow / Nano Banana), light studio ground, frosted glass cards, floating pill tags, lime highlight box, spreadsheet-cell selection signature, spring animations. Use for product, fintech and SaaS reels, explainers and hooks. Triggers: "glass object", "3D object reel", "fintech reel", "glassmorphism motion", "puffy 3D".

motion-newsflash

Remotion motion style "News Flash" (newspaper headline + hand-drawn annotations) for Instagram Reels: newsprint ground, masthead rule, huge condensed headline, yellow brush highlight that paints in, red marker circle and arrow that draw on, faint text columns, source on screen. For tax news, law changes, deadlines, announcements. Triggers: "newspaper style", "news reel", "breaking news animation", "deadline reminder", "hand drawn annotation".

motion-swiss-grid

Remotion motion style "Swiss Grid" (International Typographic Style revival): paper ground, visible column grid that draws in, big circle + square primitives in brand colours, one giant grotesk word, narrow mono text columns, numbers as graphic elements. For series covers, rules, checklists, step-by-step reels. Triggers: "swiss design", "grid poster", "bauhaus motion", "minimal poster animation", "series cover".

Related Skills