The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · motion.md</title><link rel="stylesheet" href="viewer/guide.css"><link rel="stylesheet" href="viewer/board.css"></head>
<body style="--paper:#fafafa;--brand-ink:#16191b;--accent:#ef875e;--sample-font:Arial, sans-serif">
<header class="shell"><a class="wordmark" href="#">ııı <strong>motion</strong><span>.md</span></a><span class="shell-divider"></span><span class="shell-name">视频风格规范</span><nav><button class="tab active" data-tab="board">样式板</button><button class="tab" data-tab="source">motion.md</button><a href="motion.md" download>下载文档 ↗</a></nav></header>
<main id="board-view"><header class="intro"><div class="kicker">xAI / Grok <span>/</span> V328</div><div class="intro-line"><h1>Grok — one prompt to a published app</h1><button id="allPause" class="quiet">播放编排 ▷</button></div><div class="intro-copy"><p>让一句要求经过可操作的预览和局部修改,最后成为能发布的应用。手机与桌面分别承担不同使用场景。</p></div></header>
<div class="overview"><section class="hero"><div class="tile-label">构图与编排 <span>可播放 · 可替换内容</span></div><figure class="demo" id="demo-sequence" data-demo="{"id": "sequence", "title": "整体编排", "src": "demos/sequence.html", "duration": 55.2, "status": "authored", "description": "动作与构图示意", "initialTime": 12.3, "params": [{"key": "title", "label": "示例主文案", "type": "text", "value": "Build and publish", "maxLength": 60}, {"key": "accent", "label": "强调色", "type": "color", "value": "#ef875e"}], "presets": [{"label": "默认内容", "values": {"title": "Build and publish", "accent": "#ef875e"}}, {"label": "OpenDesign 改编", "values": {"title": "OpenDesign", "accent": "#7050da"}}]}"><div class="demo-heading"><span>整体编排</span><span class="status">规则示例</span></div><div class="demo-stage"><iframe loading="eager" sandbox="allow-scripts" title="整体编排" data-src="demos/sequence.html"></iframe></div><div class="demo-controls"><button class="play" type="button" disabled>播放</button><button class="reset" type="button" disabled aria-label="从头播放">↺</button><input class="seek" type="range" min="0" max="55.2" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 55.20 秒</output><select class="speed" aria-label="播放速度"><option value="1">1×</option><option value="0.5">0.5×</option><option value="0.25">0.25×</option></select></div><div class="demo-params"></div><figcaption>动作与构图示意 <a href="demos/sequence.html" target="_blank" rel="noopener">独立打开 ↗</a><details class="demo-source"><summary>查看 HTML 源码</summary><pre><code><!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fafafa}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="sequence"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html></code></pre></details></figcaption></figure></section><aside class="identity"><section class="type-sheet"><div class="tile-label">字形与层级 <span>字形示意</span></div><div class="type-brand">xAI / Grok</div><div class="type-sample">Build and publish</div><p>白底超大留白、手机与桌面产品录屏、黑色短句</p><div class="type-baseline"></div></section><section class="palette"><div class="tile-label">配色 <span>点击复制色值</span></div><div class="swatches"><button class="swatch" data-color="#fafafa" style="--swatch:#fafafa" aria-label="复制色值 #fafafa"><span></span><code>#FAFAFA</code></button><button class="swatch" data-color="#16191b" style="--swatch:#16191b" aria-label="复制色值 #16191b"><span></span><code>#16191B</code></button><button class="swatch" data-color="#ef875e" style="--swatch:#ef875e" aria-label="复制色值 #ef875e"><span></span><code>#EF875E</code></button><button class="swatch" data-color="#51575b" style="--swatch:#51575b" aria-label="复制色值 #51575b"><span></span><code>#51575B</code></button><button class="swatch" data-color="#d9dce0" style="--swatch:#d9dce0" aria-label="复制色值 #d9dce0"><span></span><code>#D9DCE0</code></button></div></section></aside></div>
<div class="roles"><span class="label">画面元素</span><span>模式菜单</span><span>手机</span><span>赛车预览</span><span>车型选择</span><span>桌面应用</span><span>发布钮</span></div>
<div class="board-heading"><div><span class="eyebrow">MOTION LANGUAGE</span><h2>动作与构图</h2></div><p>局部动作 · 构图规则</p></div><div class="rule-grid"><section class="rule text-only" id="section-1"><div class="rule-label"><span>01</span><h2>白底把注意力留给应用本身</h2></div><div class="rule-copy">
<p>在大面积白色留白中放手机或桌面窗口,品牌说明使用短黑字。界面正文用无衬线,代码或状态文字降低字号与对比,预览结果保持最大面积。</p>
</div></section><section class="rule has-demo" id="section-2"><div class="rule-label"><span>02</span><h2>第一个例子先证明能玩</h2></div><figure class="demo" id="demo-clip-2" data-demo="{"id": "clip-2", "title": "第一个例子先证明能玩", "src": "demos/clip-2.html", "duration": 19, "status": "authored", "description": "0–19 秒 · 动作示意", "initialTime": 0.6}"><div class="demo-heading"><span>第一个例子先证明能玩</span><span class="status">规则示例</span></div><div class="demo-stage"><iframe loading="eager" sandbox="allow-scripts" title="第一个例子先证明能玩" data-src="demos/clip-2.html"></iframe></div><div class="demo-controls"><button class="play" type="button" disabled>播放</button><button class="reset" type="button" disabled aria-label="从头播放">↺</button><input class="seek" type="range" min="0" max="19" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 19.00 秒</output><select class="speed" aria-label="播放速度"><option value="1">1×</option><option value="0.5">0.5×</option><option value="0.25">0.25×</option></select></div><div class="demo-params"></div><figcaption>0–19 秒 · 动作示意 <a href="demos/clip-2.html" target="_blank" rel="noopener">独立打开 ↗</a><details class="demo-source"><summary>查看 HTML 源码</summary><pre><code><!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fafafa}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="0" data-end="19"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html></code></pre></details></figcaption></figure><div class="rule-copy">
<p>从模式选择进入手机上的赛车应用,打开预览后给出一段连续操作。车型选择出现时,把选中的车同步带回同一个游戏画面。</p>
</div></section><section class="rule text-only" id="section-3"><div class="rule-label"><span>03</span><h2>桌面例子说明能继续修改</h2></div><div class="rule-copy">
<p>切换到履历或项目管理应用时,沿用请求、预览、修改的关系。让输入区与结果区并排,修改发生后保留前后对应的位置。</p>
</div></section><section class="rule has-demo" id="section-4"><div class="rule-label"><span>04</span><h2>发布是任务的终点</h2></div><figure class="demo" id="demo-clip-4" data-demo="{"id": "clip-4", "title": "发布是任务的终点", "src": "demos/clip-4.html", "duration": 18, "status": "authored", "description": "32–50 秒 · 动作示意", "initialTime": 0.6}"><div class="demo-heading"><span>发布是任务的终点</span><span class="status">规则示例</span></div><div class="demo-stage"><iframe loading="eager" sandbox="allow-scripts" title="发布是任务的终点" data-src="demos/clip-4.html"></iframe></div><div class="demo-controls"><button class="play" type="button" disabled>播放</button><button class="reset" type="button" disabled aria-label="从头播放">↺</button><input class="seek" type="range" min="0" max="18" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 18.00 秒</output><select class="speed" aria-label="播放速度"><option value="1">1×</option><option value="0.5">0.5×</option><option value="0.25">0.25×</option></select></div><div class="demo-params"></div><figcaption>32–50 秒 · 动作示意 <a href="demos/clip-4.html" target="_blank" rel="noopener">独立打开 ↗</a><details class="demo-source"><summary>查看 HTML 源码</summary><pre><code><!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fafafa}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="32" data-end="50"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html></code></pre></details></figcaption></figure><div class="rule-copy">
<p>应用内容完整后再出现 Publish。点击后给清楚的落点,最后用跨设备短句概括覆盖范围,不在生成中间提前结束。</p>
</div></section><section class="rule text-only" id="section-5"><div class="rule-label"><span>05</span><h2>多个例子如何共用一条线</h2></div><div class="rule-copy">
<p>先用手机交互建立直观体验,再用桌面任务扩大用途。每个例子都比前一个多交代一项能力,结尾汇到发布。</p>
</div></section><section class="rule text-only" id="section-6"><div class="rule-label"><span>06</span><h2>替换应用与品牌</h2></div><div class="rule-copy">
<p>新版本可改成画板、课程工具或团队工作台。准备一个能展示交互的例子和一个能展示修改的例子,最后给它们相同的交付动作。</p>
</div></section></div>
<section class="timeline-sheet" id="timing"><div class="board-heading"><div><span class="eyebrow">SEQUENCE</span><h2>段落与节奏</h2></div><p>点击段落,定位到上方编排示意。</p></div><div class="beats"><button class="beat" data-time="0.0"><span>0.00<small>s</small></span><b>选择构建模式</b></button><button class="beat" data-time="8.0"><span>8.00<small>s</small></span><b>手机生成赛车</b></button><button class="beat" data-time="12.0"><span>12.00<small>s</small></span><b>试用与改车型</b></button><button class="beat" data-time="19.0"><span>19.00<small>s</small></span><b>构建发布主张</b></button><button class="beat" data-time="23.0"><span>23.00<small>s</small></span><b>网页履历工具</b></button><button class="beat" data-time="32.0"><span>32.00<small>s</small></span><b>项目管理应用</b></button><button class="beat" data-time="42.0"><span>42.00<small>s</small></span><b>点击发布</b></button><button class="beat" data-time="46.0"><span>46.00<small>s</small></span><b>跨设备主张</b></button><button class="beat" data-time="50.0"><span>50.00<small>s</small></span><b>品牌</b></button></div><div class="filmstrip"><figure><img src="assets/reference-1.jpg" alt="0.00 秒的构图参考" loading="lazy"><figcaption>0.00s</figcaption></figure><figure><img src="assets/reference-2.jpg" alt="12.00 秒的构图参考" loading="lazy"><figcaption>12.00s</figcaption></figure><figure><img src="assets/reference-3.jpg" alt="19.00 秒的构图参考" loading="lazy"><figcaption>19.00s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="32.00 秒的构图参考" loading="lazy"><figcaption>32.00s</figcaption></figure><figure><img src="assets/reference-5.jpg" alt="42.00 秒的构图参考" loading="lazy"><figcaption>42.00s</figcaption></figure><figure><img src="assets/reference-6.jpg" alt="50.00 秒的构图参考" loading="lazy"><figcaption>50.00s</figcaption></figure></div><p class="tiny">画面参考 · 离散静帧</p></section>
<section class="production"><div><span class="eyebrow">KEEP THE RELATIONSHIPS</span><h2>制作其他主题</h2>
<ul><li>可替换成设计工具:输入→交互预览→局部修改→发布。</li><li>产物必须可识别,不能用泛化卡片替代全部实例。</li></ul>
</div><div class="production-rules"><h3>制作约束</h3>
<p>模式菜单 / 手机 / 赛车预览 / 车型选择 / 桌面应用 / 发布钮</p>
<ul><li>先展示生成后能实际操作,再切到桌面展示另一类可发布应用。</li><li>车型切换必须反映到同一赛车对象,预览与编辑有连续性。</li><li>最后点击发布作为交付终点,不能只留下生成中的界面。</li></ul>
</div></section>
<footer>
<p><a href="style.json">视觉与对象</a> · <a href="timeline.json">段落时序</a> · <a href="tracks.json">位置数据</a> · <a href="manifest.json">文件清单</a></p>
<p>此规范根据参考视频整理。HTML 为可编辑的编排示例;具体数据的来源、精度与有效区间随文件标注。</p><span>xAI / Grok / MOTION.MD</span></footer></main>
<section id="source-view" hidden><pre># Grok — one prompt to a published app
让一句要求经过可操作的预览和局部修改,最后成为能发布的应用。手机与桌面分别承担不同使用场景。
```motion-demo
{
"id": "sequence",
"title": "整体编排",
"src": "demos/sequence.html",
"duration": 55.2,
"status": "authored",
"description": "动作与构图示意",
"initialTime": 12.3,
"params": [
{
"key": "title",
"label": "示例主文案",
"type": "text",
"value": "Build and publish",
"maxLength": 60
},
{
"key": "accent",
"label": "强调色",
"type": "color",
"value": "#ef875e"
}
],
"presets": [
{
"label": "默认内容",
"values": {
"title": "Build and publish",
"accent": "#ef875e"
}
},
{
"label": "OpenDesign 改编",
"values": {
"title": "OpenDesign",
"accent": "#7050da"
}
}
]
}
```
## 白底把注意力留给应用本身
在大面积白色留白中放手机或桌面窗口,品牌说明使用短黑字。界面正文用无衬线,代码或状态文字降低字号与对比,预览结果保持最大面积。
## 第一个例子先证明能玩
从模式选择进入手机上的赛车应用,打开预览后给出一段连续操作。车型选择出现时,把选中的车同步带回同一个游戏画面。
```motion-demo
{
"id": "clip-2",
"title": "第一个例子先证明能玩",
"src": "demos/clip-2.html",
"duration": 19,
"status": "authored",
"description": "0–19 秒 · 动作示意",
"initialTime": 0.6
}
```
## 桌面例子说明能继续修改
切换到履历或项目管理应用时,沿用请求、预览、修改的关系。让输入区与结果区并排,修改发生后保留前后对应的位置。
## 发布是任务的终点
应用内容完整后再出现 Publish。点击后给清楚的落点,最后用跨设备短句概括覆盖范围,不在生成中间提前结束。
```motion-demo
{
"id": "clip-4",
"title": "发布是任务的终点",
"src": "demos/clip-4.html",
"duration": 18,
"status": "authored",
"description": "32–50 秒 · 动作示意",
"initialTime": 0.6
}
```
## 多个例子如何共用一条线
先用手机交互建立直观体验,再用桌面任务扩大用途。每个例子都比前一个多交代一项能力,结尾汇到发布。
| 时间 | 段落 |
|---|---|
| 0.00–8.00s | 选择构建模式 |
| 8.00–12.00s | 手机生成赛车 |
| 12.00–19.00s | 试用与改车型 |
| 19.00–23.00s | 构建发布主张 |
| 23.00–32.00s | 网页履历工具 |
| 32.00–42.00s | 项目管理应用 |
| 42.00–46.00s | 点击发布 |
| 46.00–50.00s | 跨设备主张 |
| 50.00–55.20s | 品牌 |
## 替换应用与品牌
新版本可改成画板、课程工具或团队工作台。准备一个能展示交互的例子和一个能展示修改的例子,最后给它们相同的交付动作。
## 配色与字形
白底超大留白、手机与桌面产品录屏、黑色短句。
#fafafa · #16191b · #ef875e · #51575b · #d9dce0
## 元素与制作规则
模式菜单 / 手机 / 赛车预览 / 车型选择 / 桌面应用 / 发布钮
- 先展示生成后能实际操作,再切到桌面展示另一类可发布应用。
- 车型切换必须反映到同一赛车对象,预览与编辑有连续性。
- 最后点击发布作为交付终点,不能只留下生成中的界面。
## 内容替换
- 可替换成设计工具:输入→交互预览→局部修改→发布。
- 产物必须可识别,不能用泛化卡片替代全部实例。
## 制作参数
[视觉与对象](style.json) · [段落时序](timeline.json) · [位置数据](tracks.json) · [文件清单](manifest.json)
此规范根据参考视频整理。HTML 为可编辑的编排示例;具体数据的来源、精度与有效区间随文件标注。
```motion-board
{
"version": 1,
"brand": "xAI / Grok",
"id": "V328",
"palette": [
"#fafafa",
"#16191b",
"#ef875e",
"#51575b",
"#d9dce0"
],
"typography": "白底超大留白、手机与桌面产品录屏、黑色短句",
"sample": "Build and publish",
"objects": [
"模式菜单",
"手机",
"赛车预览",
"车型选择",
"桌面应用",
"发布钮"
],
"frames": [
{
"path": "assets/reference-1.jpg",
"timeSeconds": 0.0,
"frameId": "K0001",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-2.jpg",
"timeSeconds": 12.0,
"frameId": "K0033",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-3.jpg",
"timeSeconds": 19.0,
"frameId": "K0054",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-4.jpg",
"timeSeconds": 32.0,
"frameId": "K0080",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-5.jpg",
"timeSeconds": 42.0,
"frameId": "K0097",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-6.jpg",
"timeSeconds": 50.0,
"frameId": "K0105",
"role": "reference-evidence",
"status": "measured"
}
],
"stages": [
{
"start": 0,
"label": "选择构建模式",
"end": 8,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 8,
"label": "手机生成赛车",
"end": 12,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 12,
"label": "试用与改车型",
"end": 19,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 19,
"label": "构建发布主张",
"end": 23,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 23,
"label": "网页履历工具",
"end": 32,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 32,
"label": "项目管理应用",
"end": 42,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 42,
"label": "点击发布",
"end": 46,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 46,
"label": "跨设备主张",
"end": 50,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 50,
"label": "品牌",
"end": 55.2,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
}
],
"duration": 55.2,
"fontFamily": "Arial, sans-serif"
}
```
</pre></section><div class="toast" role="status" aria-live="polite"></div><script src="viewer/guide.js"></script><script src="viewer/board.js"></script></body></html>