MCP READYQuery DESIGN.md protocols, components, templates & tools directly from Claude Code, Grok Build and VS Code.Connect MCP →
uifino
CatalogStylesComponentsTemplatesVideosToolsConnect AI
uifino

DESIGN.md protocols & progressive UI engineering for humans and AI coding agents.

CATALOG
Linear DESIGN.mdClaude DESIGN.mdVercel DESIGN.mdFlighty iOS Spec
STYLES
All StylesHairline GridFrosted GlassNeo-Brutalism
COMPONENTS
HeroAuthTablesCounters
TEMPLATES, VIDEOS & TOOLS
Starter TemplatesVideosBackground GeneratorShadow & Token LabMCP Server Setup
Home/Videos

Word-by-Word Highlight Captions

A caption line at the bottom brightens word by word at speaking pace while one soft block slides from word to word, and whole lines swap; for talking-head and explainer videos.

Motion5s1920×1080 · 30fpsTutorialFeatureBrandBilibiliDouyinXiaohongshuWeChat Channels
0s / 5sFrame 0
Copy it exactly
> 给用户的 AI:用 `/hyperframes` 复刻下面这条字幕。

做一条 1920×1080、30 fps、5 秒的逐词高亮字幕,背景是纯深绿色 `#0F1712`,没有渐变,画面上半部分留空。

字幕整行放在画面下方、横向居中,行底边距画面底边 120px,字号 72px、字重 500,西文 Hanken Grotesk、中文 Noto Sans SC,用本地 `@font-face`。不要描边、阴影、加粗。整行最宽不超过画面宽度的 80%(1536px),过宽就缩字号,最小 44px。

两句字幕,每句拆成几个词:
- 第一句「我们 / 把 / 好看的 / 宣传片」,0.5 秒开始读。
- 第二句「拆成了 / 能 / 照抄的 / 剧本」,接在第一句后面。
语速 5.2 字/秒(绝不超过 9 字/秒),每个词的权重 = 汉字数 + 0.45 × 其他字符数(最少 1),词时长 = 权重 ÷ 语速。最后一个词要在 4.7 秒(`finishBy`)前读完:语速 = min(9, max(5.2, 两句总权重 ÷ (4.7 − 第一句开始时间 − 0.69))),英文词多时会自动加快,所以英文版不会超过 5 秒。词与词之间左右各留 0.17em 的间距。

每一句的动作:
1. 整行模糊 8px 到 0、不透明度 0 到 1,0.3 秒 `expo.out`,在第一个词开始前 0.3 秒进场,没有位移。
2. 所有词一开始是灰绿 `#8FA096`;轮到某个词时,它变成 `#ECF2EE`(0.12 秒 `power3.out`),之后保持亮色。
3. 一个圆角 8px、强调色 `#7FD99A`、不透明度 0.22 的底块罩在当前词后面,宽度比词多左右各 8px、高度等于行高;轮到下一个词时,它的位置和宽度一起滑过去(0.14 秒 `power3.out`,提前 0.04 秒起步)。文字本身不动、不缩放。
4. 读完后停 0.2 秒,整行模糊淡出(0.15 秒 `power3.in`),再空约 0.34 秒进下一句。第二句读完后底块 0.2 秒淡出,字幕静止到片尾。

需要替换的地方:
- 两句文案(`line1`、`line2`,词之间用 `|` 分隔;英文可直接用空格分隔)。
- 底块和文字颜色(`accentColor`、`ink`、`dimInk`),背景(`bg`)。
- 语速(`charsPerSecond`)和第一句开始时间(`line1At`);有真实旁白时,用旁白里每个词的起止时间代替按字数分配。
- 字幕行底边距 120px 按目标平台调整:B 站、抖音横屏保持 120px;竖屏要抬到至少离底 672px。
Learn the technique
字幕逐词变亮时,用一块半透明的底色块(圆角 8px、强调色 22%)在词与词之间滑动,不让文字本身动;词时长按字数分配(每秒不超过 9 个字),整句用 0.3 秒模糊淡入、0.15 秒模糊淡出换句,字幕行底边留 120px 避开平台按钮和弹幕。
MCP
get_video({ "id": "motion-caption-word-highlight" })
Download project

Beats

TimePurposeVisualCameraTransitionOn-screen text
0–2.58sRead the first line word by word, then clear it as a wholeCaption at the bottom, unspoken words dim, spoken words bright, a soft green block follows; after 0.2 s the whole line blurs outstaticblur swap on one stageWe turned great launch videos
2.58–5sRead the second line the same way and hold to the endSecond line blurs in as a whole, the block slides word by word, then fades and the caption stays stillstatic—into scripts you can copy

Parameters

ParameterDefaultRangeKind
First line, words split by |
line1
我们|把|好看的|宣传片—Content
Second line, words split by |
line2
拆成了|能|照抄的|剧本—Content
Start of the first line
line1At
0.5s0.3 – 1.5sTiming
Speech pace, characters per second
charsPerSecond
5.2chars/s3 – 9chars/sTiming
Latest end of the last word; the pace speeds up to fit
finishBy
4.7s3.5 – 4.8sTiming
Block slide time between words
shiftDuration
0.14s0.08 – 0.25sMotion
Block opacity
blockOpacity
0.220.12 – 0.35Look
Max caption size, shrinks when too wide
fontSize
72px44 – 96pxLook
Block color
accentColor
#7FD99A—Look
Spoken and current word color
ink
#ECF2EE—Look
Unspoken word color
dimInk
#8FA096—Look
Background color
bg
#0F1712—Look

Good for

  • Subtitles for voiceover, explainer and tutorial videos
  • Lines of 8 to 12 Chinese characters or 4 to 6 English words
  • Landscape videos that must keep clear of the platform bottom bar and danmaku

Not for

  • Long scrolling subtitles
  • Speech faster than 9 characters per second
  • Karaoke lyrics with per-letter bounce

Source

project
project/assets/fonts
project/compositions
← PreviousSpec Caption on a SampleNext →Strike Out the Old Number