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
const CONFIG={"mode": "w2-perps-order", "demoTitle": "Trade Perps", "palette": ["#0e1520", "#ffffff", "#315ce8", "#33b085", "#f05563"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "市场主张"}, {"start": 6.0, "label": "导航入口"}, {"start": 9.0, "label": "交易终端"}, {"start": 12.0, "label": "选择资产"}, {"start": 15.0, "label": "金额与杠杆"}, {"start": 18.0, "label": "止盈止损"}, {"start": 21.0, "label": "下单"}, {"start": 24.0, "label": "持仓反馈"}, {"start": 27.0, "label": "平仓"}, {"start": 30.0, "label": "行动号召"}, {"start": 35.0, "label": "品牌"}], "objects": ["资产行", "图表", "金额框", "杠杆滑块", "风险条件", "订单按钮", "持仓反馈"], "rules": ["从全局终端推近操作表单,依次填写金额、杠杆、风险条件后才提交", "成交后回到持仓查看并平仓,形成交易操作闭环", "蓝色柔光承托深色UI,绿色红色仅表示状态"], "transfer": ["迁移为复杂表单产品时保持选择→配置→确认→结果顺序", "真实数字和收益需替换;不要把演示中盈利当保证"], "unknown": ["未恢复真实市场数据或后台行为;源片价格与交易条件不作当前金融信息。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["NVDA-USD", "Leverage", "Long"], "coverTime": 10.2, "labels": ["市场主张", "导航入口", "交易终端", "选择资产", "金额与杠杆", "止盈止损", "下单", "持仓反馈", "平仓", "行动号召", "品牌"], "brand": "Polymarket", "accent": "#315ce8", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Perpetual order workflow", "summary": "The interface moves from asset selection through order setup to position feedback.", "styleDescription": "Dark trading terminal with blue glow and green-red states.", "reviewFocus": "Keep configuration before confirmation and feedback after it."}}, "creativeSummary": "从全局终端推近操作表单,依次填写金额、杠杆、风险条件后才提交。成交后回到持仓查看并平仓,形成交易操作闭环。", "guideChapters": {"overview": "完整展示一笔订单操作", "composition": "资产、图表与表单", "motion": "配置、确认与持仓反馈", "rhythm": "操作细节逐项停留", "transfer": "替换数字保留表单因果"}, "guidePlan": {"intro": "按真实操作次序讲清一笔订单:选资产,设置金额和杠杆,配置风险条件,确认后查看持仓。", "sections": [{"title": "从终端全貌推近订单", "text": ["先建立导航和交易界面的全貌,再聚焦资产与订单面板。价格线和订单区分别占据稳定位置,推近时保留资产名,让读者知道仍在操作同一对象。", "深色底与蓝色柔光承托终端,涨跌状态用红绿辅助。标题、表单标签使用无衬线,价格与金额采用对齐数字;避免颜色成为唯一状态信息。"], "palette": true, "demo": "sequence"}, {"title": "字段依次激活,提交保持在最后", "text": ["资产选择之后输入金额,再调杠杆,最后设置止盈止损。当前字段短暂突出,其余信息仍可读;滑块变化与旁边数字同步。"], "clip": [12, 24], "table": {"headers": ["先后", "画面反馈"], "rows": [["选择资产", "名称与价格区同步更新"], ["调整参数", "字段数值与控制同步"], ["确认订单", "按钮先响应,再出现成交状态"], ["查看持仓", "显示持仓或平仓动作"]]}}, {"title": "用持仓反馈结束一轮操作", "text": ["提交后回到持仓区,展示状态和后续平仓入口。结尾行动号召与网址独立停留。", "替换为其他复杂表单时保留选择、配置、确认、反馈四步;金融题材同时保留必要条件与风险信息,演示数值不能变成结果承诺。"]}]}, "templateId": "V066", "name": "Perps 上线", "duration": 37.125, "initialTime": 10.2, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [6.0, 15.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": [[9.5, 13], [21.5, 23], [26.5, 26.5], [28, 28]], "samples": [[9.5, [444.7728754098756, 499.10725618560525]], [10, [503.0000006833334, 358.9999998833333]], [10.5, [512.0000006666667, 325.99999990000003]], [11, [473.0000012714286, 216.99999987142854]], [11.5, [504.00000181824, 170.66666637407747]], [12, [545.9999979666667, 127.00000008333333]], [12.5, [552.9999990546473, 123.00000010731088]], [13, [567.0000012114847, 148.99999971633093]], [21.5, [270.0000001777778, 246.99999992222223]], [22, [254.89108964156333, 260.9108906928641]], [22.5, [324.9129521601142, 197.65077731430472]], [23, [328.99999918333333, 176.00000013333337]], [26.5, [490.66666516942337, 253.3333328656722]], [28, [693.9760818549535, 354.3245533165275]]], "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.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[9.5, 13], [21.5, 23], [26.5, 26.5], [28, 28]], "samples": [[9.5, 34.83280563354492], [10, 17.999999999999943], [10.5, 16.000000000000114], [11, 38.00000000000003], [11.5, 45.776294708251925], [12, 37.99999999999994], [12.5, 43.900344848632756], [13, 40.1577072143555], [21.5, 14.000000000000028], [22, 26.5346546173096], [22.5, 25.324352264404325], [23, 19.999999999999943], [26.5, 49.84674453735357], [28, 73.20983123779297]], "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.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[9.5, 13], [21.5, 23], [26.5, 26.5], [28, 28]], "samples": [[9.5, "NVDA-USD"], [13, "NVDA-USD"], [21.5, "NVDA-USD"], [23, "NVDA-USD"], [26.5, "NVDA-USD"], [28, "NVDA-USD"]], "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": [[9.5, 13], [21.5, 23], [26.5, 26.5], [28, 28]], "samples": [[9.5, 98.54257202148432], [10, 82.00000000000006], [10.5, 80.0], [11, 178.0], [11.5, 219.25210571289062], [12, 244.0], [12.5, 246.31730651855457], [13, 214.37258911132812], [21.5, 68.0], [22.5, 96.00621795654291], [23, 98.0], [26.5, 224.38845825195312], [28, 321.1886901855469]], "maxCompressionErrorVsObservations": 0.9337959289550213, "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": [[13.5, 16.5], [21.5, 24.5]], "samples": [[13.5, [435.00000081399537, 696.999999741435]], [14, [393.9999989645638, 696.9999997588575]], [14.5, [380.91847316712995, 682.2828022648755]], [15, [262.8233167071544, 314.6661838591706]], [15.5, [244.8812761754208, 263.55261820720307]], [16, [248.82888299889885, 225.99266581558368]], [16.5, [267.91582298463527, 114.90805324253354]], [21.5, [893.9999994, 295.00000009999997]], [22, [934.0000006666667, 265.9999998666667]], [22.5, [1023.0000003666667, 334.9999998333334]], [23, [1017.0000006333332, 340.99999990000003]], [23.5, [626.0000012, 111.99999986666671]], [24, [572.0000012663108, 108.9999998955912]], [24.5, [522.9999998999999, 112.99999998648653]]], "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": [[13.5, 16.5], [21.5, 24.5]], "samples": [[13.5, 31.363964080810547], [14.5, 30.124492645263672], [15, 47.227806091308594], [15.5, 40.09618759155279], [16, 41.698219299316435], [16.5, 38.75024795532235], [21.5, 10.000000000000057], [23, 9.999999999999943], [24, 14.264477729797406], [24.5, 10.000000000000043]], "maxCompressionErrorVsObservations": 1.9999999999999236, "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": [[13.5, 16.5], [21.5, 24.5]], "samples": [[13.5, "Leverage"], [16.5, "Leverage"], [21.5, "Leverage"], [24.5, "Leverage"]], "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": [[13.5, 16.5], [21.5, 24.5]], "samples": [[13.5, 130.3079681396485], [14, 128.252197265625], [14.5, 134.71310424804693], [15, 192.64271545410162], [15.5, 198.99417114257812], [16, 199.22387695312497], [16.5, 189.13111877441406], [21.5, 36.0], [22, 40.0], [23, 38.0], [23.5, 72.0], [24, 76.04826354980469], [24.5, 74.0]], "maxCompressionErrorVsObservations": 1.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.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[10, 14.5], [22, 22], [26.5, 26.5]], "samples": [[10, [518.0000004000001, 456.9999999]], [10.5, [675.0000000333333, 425.999999975]], [11, [455.99999945714285, 414.99999975714286]], [11.5, [474.66666570666666, 407.99999951999996]], [12, [514.1089112634143, 404.91089263310226]], [12.5, [518.9999994125001, 403.99999972499995]], [13, [538.0000006, 398.9999999375]], [13.5, [529.9999994, 289.99999968]], [14, [484.0000006, 303.00000024999997]], [14.5, [479.00000041249996, 274.00000019999993]], [22, [946.0000001333333, 160.99999983333336]], [26.5, [466.6666658222223, 501.33333351111105]]], "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": [[10, 14.5], [22, 22], [26.5, 26.5]], "samples": [[10, 18.0], [10.5, 20.000000150000005], [11.5, 48.0], [12, 50.37623977661133], [12.5, 44.0], [13, 41.99999999999994], [13.5, 32.00000000000006], [14.5, 31.999999999999943], [22, 10.000000000000057], [26.5, 42.666664123535156]], "maxCompressionErrorVsObservations": 1.9999999999999432, "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": [[10, 14.5], [22, 22], [26.5, 26.5]], "samples": [[10, "Long"], [10.5, "Long\nLong"], [11, "Long"], [14.5, "Long"], [22, "Long"], [26.5, "Long"]], "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": [[10, 14.5], [22, 22], [26.5, 26.5]], "samples": [[10, 40.0], [10.5, 330.0000007333333], [11, 84.0], [11.5, 106.66666412353516], [12, 113.64356231689453], [12.5, 98.0], [13, 96.0], [13.5, 68.0], [14, 80.0], [14.5, 69.99999999999994], [22, 24.0], [26.5, 101.33332824707031]], "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."}]};