Communitygithub.com

rTanure/lumiere-motion-map

规划每个镜头的动态设计(前5秒钩子、缩放、文字、图片、HyperFrames/three.js/Remotion叠加层、音效),生成 motion-map.json,并在渲染前获得用户批准。这是 Lumiere 流程的第5步,也是决定质量的关键步骤。

lumiere-motion-map 是什么?

此技能是 Lumiere 视频制作流水线中的第5步,也是最关键的一步:动态设计规划。它负责为每个已审批的镜头(clip)生成详细的动态地图(motion-map.json),包括前5秒的钩子效果、缩放、文字、图片、贴纸、B-roll、基于 HyperFrames 或 Remotion 的叠加层以及音效。技能会为每个镜头自动触发一个 `motion-director` 代理,该代理参考项目的学习记录和视觉标识文件,独立编写动态地图,并以表格形式(时间 → 内容 → 原因)清晰呈现给用户。代理强制要求用户审批:用户可批准、要求增加/减少动态或指定调整,而代理会将偏好记录以便后续学习。审批后,动态地图才可用于后续的渲染步骤。该技能支持 Filmcraft 和编程渲染引擎(HyperFrames/Remotion),提供了丰富的预置模板(例如 hook-title、stat-card、three.js 对象)和自定义扩展能力。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rTanure/lumiere/tree/HEAD/skills/lumiere-motion-map

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

动态地图(规划阶段——此处不进行任何渲染)

委托

为每个已审批的镜头在一条消息内触发一个 motion-director 代理。传递:slug、clip id,以及 ~/.lumiere/learnings.md 中的永久规则摘要 + visual-identity.md 中的关键点。每个代理编写 clips/<clip>/motion-map.json + motion-map.md 并返回摘要。

审批(必须执行)

  1. 对每个镜头,以紧凑方式显示 motion-map.md(时间 → 内容 → 原因表格)。高亮前5秒。
  2. 询问:批准、增加动态、减少动态、或特定调整。
  3. 调整:自行编辑 motion-map.json(小改动)或重新发送给代理(大改动,通过 SendMessage 发给同一代理)。用 lumiere learn 记录偏好。
  4. 批准后:lumiere approve <slug> <clip> motion(在 JSON 中记录 approved: true)。

Schema(参考:插件根目录的 templates/motion-map.example.json)

时间以最终时间线(words.json)的秒数为单位。事件类型:

类型字段实现位置
text(角色 hook/title/keyword/label)text, end, highlight[], position, anim, colorFilmcraft(原生图形)
zoomend, scale (1.1-1.35), ease punch/smoothFilmcraft(摄像机)
shakeend, amountFilmcraft(摄像机)
flashduration, colorFilmcraft
image/stickerasset, end, position, size(宽度比例), anim, rotationFilmcraft
brollasset(视频/图片), end, source_in, ken_burnsFilmcraft,全屏
overlayengine hyperframes/remotion, template, props, end, keep_captions代码渲染 → WebM alpha
sfxsfx(类别:whoosh, pop, impact, ding, riser, click, glitch, swoosh), gain_dbFilmcraft A2-A4
任何事件均可接受 sfx + sfx_offset。平面层级:camera、captions(engine filmcraft/remotion、hide、emphasis)、progress_bar、music。

现成的 HyperFrames 块(templates/hyperframes/):hook-title、stat-card、list-reveal、three-object(three.js)、word-kinetic(精确时间同步词动)。如果是全新的内容,模板可设为 custom——在渲染阶段由 clip-builder 代理编写 HTML。

Individual skills in this repo

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

相关技能