Skip to content

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.

13.0 KB
Raw Blame
const CONFIG={"mode": "w2-branch", "demoTitle": "Branch", "palette": ["#f7f8f6", "#222522", "#538cbe", "#b6cbb9", "#ffffff"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "标题重复分身"}, {"start": 3.0, "label": "原会话"}, {"start": 5.0, "label": "选择分支"}, {"start": 7.0, "label": "分成两份"}, {"start": 9.5, "label": "进入新分支"}, {"start": 11.0, "label": "继续输入"}, {"start": 13.5, "label": "品牌"}], "objects": ["原会话", "分支节点", "副本会话", "继续输入"], "rules": ["先显示可分支的历史位置,再复制共享上下文", "两份会话并排短暂比较,选中一份后推近继续", "标题重复呼应内容分叉,不用无关装饰"], "transfer": ["可换为设计方案分支,保留共同起点与后续差异", "替换分支内容,明确哪份是原始与新分支"], "unknown": ["未恢复全部界面内容、准确字体、声音与原工程曲线。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Here's the 30-second teaser with burned-in captions. I tightened the pacing around the product", "reveal and closed on the logo snap - both files are attached below.", "Branch"], "coverTime": 5.8, "labels": ["标题重复分身", "原会话", "选择分支", "分成两份", "进入新分支", "继续输入", "品牌"], "brand": "Manus", "accent": "#538cbe", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Conversation branching", "summary": "An existing conversation forks into a second continuation while retaining its origin.", "styleDescription": "Minimal white interface with a split-pane branch reveal.", "reviewFocus": "Show the shared starting context before diverging outcomes."}}, "creativeSummary": "先显示可分支的历史位置,再复制共享上下文。两份会话并排短暂比较,选中一份后推近继续。", "guideChapters": {"overview": "从同一上下文分出新方向", "composition": "原会话与分支会话", "motion": "分叉后独立继续", "rhythm": "先交代共同起点", "transfer": "换结果保留分支来源"}, "guidePlan": {"intro": "在同一段对话上打开第二条思路。分支出现之前,让观众明确它继承了什么;分支出现之后,再展示不同的继续方式。", "sections": [{"title": "先完整看到原会话", "text": ["原会话中保留任务、已完成成果和分支入口。文字使用清晰无衬线,浅色底与低对比消息块保持阅读秩序,强调色只落在新分支或新回复。"], "palette": true, "demo": "sequence"}, {"title": "分叉时保留共同部分", "text": ["点击分支后,将原会话留在一侧,新会话在另一侧展开。共同上下文的文本与顺序保持一致,新请求和新结果再逐步出现。", "两栏宽度可以重分配,但不要同时重排两边全部内容。用一条短连接或共同标题交代来源,随后让新分支成为阅读中心。"]}, {"title": "替换两种真正不同的方向", "text": ["例如同一品牌视频改为横版与方版,同一方案改为两个风格方向。共享部分不变,新增请求与成果分别对应各分支;不要只把两个窗口的标题换掉。"]}]}, "templateId": "V234", "name": "Branch|分支会话", "duration": 16.433333, "initialTime": 5.8, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [3.0, 9.5]};
const DATA={"tracks": [{"id": "text-0.center", "target": "text-0", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, [559.0000060599998, 104.99999989999998]], [6.5, [559.000005833333, 106.00000002824807]], [9.5, [559.0000060599998, 104.99999989999998]], [13.5, [558.9999924250002, 105.00000007499999]]], "maxCompressionErrorVsObservations": 0.7142858058914925, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, 14.000000000000028], [6.5, 15.999999523162813], [9.5, 14.000000000000028], [13.5, 14.000000000000028]], "maxCompressionErrorVsObservations": 1.4285710879734186, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, "Here's the 30-second teaser with burned-in captions. I tightened the pacing around the product"], [6.5, "Here's the 30-second teaser with burned-in captions. I tightened the pacing around the product"], [9.5, "Here's the 30-second teaser with burned-in captions. I tightened the pacing around the product"], [13.5, "Here's the 30-second teaser with burned-in captions. I tightened the pacing around the product"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.width", "target": "text-0", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, 606.0], [6.5, 606.0], [9.5, 606.0], [13.5, 606.0]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, [466.0000052999999, 126.99999992500003]], [6.5, [467.00000532499985, 125.99999994999999]], [9.5, [466.0000039999999, 125.99999980000001]], [13.5, [466.0000070666664, 126.99999990000003]]], "maxCompressionErrorVsObservations": 1.0000004166666372, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, 13.999999999999943], [6.5, 16.000000000000014], [9.5, 15.999999999999943], [13.5, 13.999999999999957]], "maxCompressionErrorVsObservations": 1.7500000000000018, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.text", "target": "text-1", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, "reveal and closed on the logo snap - both files are attached below."], [6.5, "reveal and closed on the logo snap - both files are attached below."], [9.5, "reveal and closed on the logo snap - both files are attached below."], [13.5, "reveal and closed on the logo snap - both files are attached below."]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.width", "target": "text-1", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 6.5], [9.5, 13.5]], "samples": [[3, 424.0], [6.5, 426.0], [9.5, 424.0], [12.5, 426.00000000000006], [13.5, 424.0]], "maxCompressionErrorVsObservations": 1.6666666666667425, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[1, 2.5], [4.5, 13.5]], "samples": [[1, [633.9999967272728, 360.2373759728696]], [2.5, [634.0000035999999, 360.04919051067816]], [4.5, [454.4319115794608, 219.59922149113137]], [5.5, [456.5724216314696, 220.11724178951826]], [6, [655.0000013250001, 48.99999997499998]], [6.5, [653.99999972, 50.999999820000006]], [7, [640.0000013199999, 51.99999992000001]], [7.5, [655.0000017666666, 50.99999996666668]], [8, [939.9999962000004, 281.00000009999997]], [9, [939.9999962000004, 281.00000009999997]], [9.5, [642.0000031333332, 260.9999999666667]], [10, [638.9999981000001, 263.00000002]], [12, [641.0000031666666, 260.9999999666667]], [12.5, [496.00000137916663, 332.9999999666666]], [13, [564.0000061599999, 332.9999999766667]], [13.5, [564.0000061599999, 333.999999975]]], "maxCompressionErrorVsObservations": 1.5000037999998312, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.height", "target": "text-2", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[1, 2.5], [4.5, 13.5]], "samples": [[1, 374.2902660630141], [2.5, 374.5459783744831], [4.5, 79.19844318226279], [5.5, 80.23448377903657], [6, 13.99999999999995], [6.5, 18.000000000000014], [7.5, 14.000000000000028], [8, 6.0], [9, 6.0], [10, 17.999999999999943], [11, 14.000000000000028], [11.5, 17.999999999999943], [12, 13.999999999999943], [12.5, 157.9999998666666], [13.5, 155.99999985]], "maxCompressionErrorVsObservations": 1.9999999999999716, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[1, 2.5], [4.5, 13.5]], "samples": [[1, "Branch\nBranch\nIntroducing Z, Branch\nBranch\nBranch"], [1.5, "Branch\nBranch\nIntroducing Z Branch\nBranch\nBranch"], [2.5, "Branch\nBranch\nIntroducing Z Branch\nBranch\nBranch"], [4.5, "Branch from here to explore an alternative\nTry branch now"], [6, "Branching task..."], [6.5, "Branching task.."], [7, "Branching task..."], [8, "1t Branched from brand ordod"], [8.5, "1t Branched from brand orded"], [9.5, "T Branched from brand-video"], [10, "Z Branched from brand-video"], [11, "Z, Branched from brand-video"], [11.5, "Z Branched from brand-video"], [12, "Z, Branched from brand-video"], [12.5, "2, Branched from brand-video\nBranch created. Reframing the teaser to 1:1 and moving the reveal up front -"], [13, "2, Branched from brand-video\nBranch created. Reframing the teaser to 1:1 and moving the reveal up front - your original cut stays"], [13.5, "T;, Branched from brand-video\nBranch created. Reframing the teaser to 1:1 and moving the reveal up front - your original cut stays"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.width", "target": "text-2", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[1, 2.5], [4.5, 13.5]], "samples": [[1, 720.0], [2.5, 720.0], [4.5, 252.86379956679957], [5.5, 249.14481980415042], [6, 106.00000000000011], [6.5, 108.0], [7, 132.0], [7.5, 106.0], [8, 75.99999237060558], [9, 75.99999237060558], [9.5, 188.0], [12, 190.0], [12.5, 479.99999090833353], [13, 616.0], [13.5, 616.0]], "maxCompressionErrorVsObservations": 1.8594898813245777, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}]};