Mografy Templates 模板庫 · 字幕

Word captions

A line opens into a picture window; below it the subtitles build word by word and each key word is swept in orange.

9:165 s免費 · MIT

加入模板

在 Mografy 資料夾執行這行。模板、共用模組和字型會複製進專案,你改過的檔案會保留。還不是專案的資料夾會直接建立成專案,並附上播放這個模板的場景。

終端機
mografy add caption-word projects/my-film

想單獨播放,把專案的 scene 指向這個模板: "scene": "scenes/templates/caption-word.ts"

放進影片

在影片的時間軸上播放模板並覆寫參數。疊加類模板傳入 backdrop: false,就會畫在你自己的畫面上。

scenes/main.ts
import * as captionWord from './templates/caption-word.js'
import { play } from './templates/kit.js'

// inside renderFrame(ctx, time): play it from 2 s, with your own copy
play(ctx, time, 2, captionWord, { text: "We built Northwind\nfor teams that ship\nwithout the busywork" })

也可以直接跟 Claude 或 Codex 描述影片:Mografy Skill 認得每個模板,會挑合適的來用。

給你的 agent Spoken subtitles for a voice-over: 2–3 lines of up to ~24 characters, one per "\n"; mark key words with [brackets] (default: the last word of each line). Put assets/caption.jpg in the project for the picture, or play it with backdrop false over your own footage.

參數

  • textstringWe built Northwind ⏎ for teams that ship ⏎ without the busywork
  • themeenum · light | darklight
  • accentcolor#D4643A
  • safeGuidebooleanfalse

時間與版面寫在模板檔案裡:在那裡修改,再用 check 與 review 檢查畫面。