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.

12.8 KB
Raw Blame
const CONFIG={"mode": "w2-workflow-nodes", "demoTitle": "Flows Agent", "palette": ["#f7f6f0", "#161616", "#d9763b", "#7fb7ae", "#d9d6c9"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "橙色入口"}, {"start": 3.0, "label": "自然语言输入"}, {"start": 9.0, "label": "任务分解"}, {"start": 13.0, "label": "节点生成"}, {"start": 17.0, "label": "结果与连线"}, {"start": 20.0, "label": "修改创意"}, {"start": 24.0, "label": "替换产品"}, {"start": 28.0, "label": "画幅选择"}, {"start": 31.0, "label": "配音选择"}, {"start": 35.0, "label": "广告成果"}, {"start": 39.0, "label": "工作流全景"}, {"start": 44.0, "label": "入口与品牌"}], "objects": ["输入条", "任务列表", "图像节点", "视频节点", "音频节点", "依赖连线", "变体组", "成品"], "rules": ["自然语言先转为节点依赖,输出节点应等待上游素材完成", "后续修改替换局部节点并保留其余连线,表现可编辑性", "画幅与声音选择在成品之前,结尾拉远展示整体工作流"], "transfer": ["可替换产品广告主题,保留计划→依赖→局部修改→成品结构", "节点种类应与真正媒体依赖一致,不能仅画装饰连线"], "unknown": ["广告影像和音频未重建;原始节点坐标及相机曲线为近似观察。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Flows Agent •", "Rodrigo - Calm, Friendly &...", "Built for speed and endurance. From first stride to final"], "coverTime": 10.2, "labels": ["橙色入口", "自然语言输入", "任务分解", "节点生成", "结果与连线", "修改创意", "替换产品", "画幅选择", "配音选择", "广告成果", "工作流全景", "入口与品牌"], "brand": "ElevenLabs", "accent": "#d9763b", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Prompt-to-media workflow", "summary": "A natural-language brief becomes connected media nodes and editable variants.", "styleDescription": "Orange atmosphere, light node boards and clean output cards.", "reviewFocus": "Preserve upstream dependencies when editing a local node."}}, "creativeSummary": "自然语言先转为节点依赖,输出节点应等待上游素材完成。后续修改替换局部节点并保留其余连线,表现可编辑性。", "guideChapters": {"overview": "把一句话展开成媒体工作流", "composition": "图像、视频、声音与连线", "motion": "构建依赖后局部修改", "rhythm": "完成上游再显示成品", "transfer": "换产品保留依赖结构"}, "guidePlan": {"intro": "让自然语言长成一张可编辑的媒体工作流。节点代表真实产物,连线代表依赖,后续修改只替换相关部分。", "sections": [{"title": "输入先形成任务,再形成节点", "text": ["简短提示框出现后,先列出图像、视频、配音或编辑任务,再按依赖顺序放入画布。节点标题与状态保持清楚,尚未完成的结果不要提前显示为成品。", "浅色节点与细线保持可读,橙色流体或柔光留在工作区外围。标题用清晰无衬线字,媒体类型、状态和参数以较小层级排列。"], "palette": true, "demo": "sequence"}, {"title": "连线表达素材怎么流动", "text": ["图像可以成为运动节点的输入,配音进入编辑,编辑输出成片。节点完成后才点亮下游,复杂图需要沿内容方向布置,尽量减少穿过文字的交叉线。"], "table": {"headers": ["节点关系", "制作约束"], "rows": [["参考→图像", "主体身份要延续"], ["图像→视频", "运动围绕已有主体展开"], ["声音→编辑", "时长与画面段落对应"], ["编辑→成片", "等待所需媒体就绪"]]}}, {"title": "局部修改保留其余工作", "text": ["更换产品、改变画幅或挑选配音时,突出相关节点,保留不受影响的节点和连线。随后呈现对应变体,观众能看出改动影响了哪里。"], "clip": [20, 35]}, {"title": "最后看作品,也看工作流", "text": ["先展示一段完整广告成果,再拉远到节点全景。换主题时一起替换产品、提示、媒体与声音;保留计划到依赖,再到局部修改和最终输出的结构。"]}]}, "templateId": "V300", "name": "Flows Agent — describe it, the agent wires the workflow", "duration": 48.666667, "initialTime": 10.2, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [3.0, 17.0]};
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], [22, 26.5], [28.5, 30.5], [43, 44]], "samples": [[3, [458.0000010399999, 300.99999978]], [4.5, [444.0000014499999, 297.9999997]], [5.5, [442.0000002333333, 297.0000001833333]], [6, [464.00000102857143, 296.99999990000003]], [22, [260.00000026892263, 157.00000021386018]], [24.5, [261.0000019749999, 155.9999999]], [25, [360.00000037142854, 80.00000025714286]], [25.5, [364.00000037142854, 78.00000025714287]], [26.5, [365.0000017833333, 74.99999968333333]], [28.5, [972.0000004000001, 59.000000325000016]], [29, [1004.0000004000001, 59.000000325000016]], [29.5, [1008.0000011428572, 58.9999998714286]], [30, [1022.0000003208729, 59.00000073575916]], [30.5, [1139.00000034, 60.00000024]], [43, [570.00000032, 344.0000002]], [43.5, [570.00000032, 344.0000002]], [44, [575.0000015630952, 342.99999968191594]]], "maxCompressionErrorVsObservations": 1.666665710000018, "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], [22, 26.5], [28.5, 30.5], [43, 44]], "samples": [[3, 22.0], [4, 24.341364860534668], [6, 22.0], [22, 27.633409500122042], [23, 29.760520935058594], [23.5, 24.0], [24, 24.0], [25, 35.99999999999994], [26.5, 37.99999999999995], [28.5, 25.99999999999998], [29.5, 22.0], [30, 26.538113594055197], [30.5, 23.999999999999986], [43, 20.000000000000114], [44, 19.316164016723576]], "maxCompressionErrorVsObservations": 1.9999999999999893, "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], [22, 26.5], [28.5, 30.5], [43, 44]], "samples": [[3, "Flows Agent •"], [6, "Flows Agent •"], [22, "Flows Agent •"], [26.5, "Flows Agent •"], [28.5, "Flows Agent •"], [30.5, "Flows Agent •"], [43, "Flows Agent •"], [44, "Flows Agent •"]], "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], [22, 26.5], [28.5, 30.5], [43, 44]], "samples": [[3, 131.99999999999994], [3.5, 138.0], [4.5, 140.0], [5, 144.00000000000006], [6, 144.0], [22, 156.26390075683594], [24.5, 158.0], [25, 248.0], [26.5, 258.0], [28.5, 160.0], [30.5, 158.0], [43, 120.0], [43.5, 120.0], [44, 114.20039367675781]], "maxCompressionErrorVsObservations": 1.7583099365234887, "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": [[28.5, 30]], "samples": [[28.5, [1051.000002775, 470.99999997500004]], [29, [1083.000002775, 440.0]], [29.5, [1086.99999926, 392.99999999666665]], [30, [1101.0000011083334, 393.00000012499993]]], "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.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[28.5, 30]], "samples": [[28.5, 18.0], [29, 156.0], [30, 154.0000002499999]], "maxCompressionErrorVsObservations": 1.0000001983333107, "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": [[28.5, 30]], "samples": [[28.5, "Rodrigo - Calm, Friendly &..."], [29, "Rodrigo - Calm, Friendly &...\nRodrigo - Calm, Friendly &..."], [30, "Rodrigo - Calm, Friendly &...\nRodrigo - Calm, Friendly &..."]], "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": [[28.5, 30]], "samples": [[28.5, 222.0], [30, 222.00000511666644]], "maxCompressionErrorVsObservations": 2.508888968577594e-06, "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": [[29.5, 32]], "samples": [[29.5, [433.00000349999993, 330.99999990000003]], [30, [450.00000293333323, 332.9999998833333]], [30.5, [608.00000256, 377.9999998]], [31, [634.0000034857144, 400.99999990000003]], [31.5, [634.0000049999999, 390.99999990000003]], [32, [632.99999514, 215.00000009999997]]], "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.height", "target": "text-2", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[29.5, 32]], "samples": [[29.5, 14.000000000000057], [31.5, 26.0], [32, 22.000000000000085]], "maxCompressionErrorVsObservations": 1.0000000000000142, "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": [[29.5, 32]], "samples": [[29.5, "Built for speed and endurance. From first stride to final"], [32, "Built for speed and endurance. From first stride to final"]], "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": [[29.5, 32]], "samples": [[29.5, 350.0], [30, 351.99999999999994], [30.5, 383.9999999999999], [31, 488.0000000000001], [31.5, 500.0], [32, 486.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."}]};