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.

11.3 KB
Raw Blame
const CONFIG={"mode": "w2-cashback", "demoTitle": "100% CASHBACK", "palette": ["#ffffff", "#111111", "#c1f51d", "#dd0284", "#c5c6bc"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "硬币与主张"}, {"start": 2.0, "label": "API与币堆"}, {"start": 4.0, "label": "奖池金额"}, {"start": 7.0, "label": "先到先得"}, {"start": 8.0, "label": "余额演示"}, {"start": 13.0, "label": "模型清单"}, {"start": 18.0, "label": "单户上限"}, {"start": 21.0, "label": "截止日期"}, {"start": 25.0, "label": "链接"}], "objects": ["硬币", "金额", "余额面板", "模型清单", "时间限制"], "rules": ["硬币强调收益,随后用余额减少与补回解释返现机制", "数字大字与小限定条件成组,不可只迁移醒目金额", "后段上限与截止时间收束行动条件"], "transfer": ["可迁移为促销条款动画,必须保留额度、比例、期限与适用范围", "硬币材质和品牌色可替换,余额计算关系保持一致"], "unknown": ["商业条款只是视频内容,未验证现行活动;币堆为二维示意。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Your", "Higgsfield {API}", "Balance"], "coverTime": 5.2, "labels": ["硬币与主张", "API与币堆", "奖池金额", "先到先得", "余额演示", "模型清单", "单户上限", "截止日期", "链接"], "brand": "Higgsfield", "accent": "#c1f51d", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Cashback offer mechanics", "summary": "Coins and headline figures lead to balances, eligibility limits and expiry.", "styleDescription": "Bright green and magenta promotional graphics on a clean field.", "reviewFocus": "Keep benefit figures attached to limits and conditions."}}, "creativeSummary": "硬币强调收益,随后用余额减少与补回解释返现机制。数字大字与小限定条件成组,不可只迁移醒目金额。", "guideChapters": {"overview": "把返现条款变成可读过程", "composition": "金额、余额与限制条件", "motion": "支出、返还与余额反馈", "rhythm": "利益点后立即给条件", "transfer": "替换优惠时重算金额关系"}, "guidePlan": {"intro": "用余额变化解释返现,而不只把优惠数字做大。醒目的利益点之后,立即交代额度、范围与期限。", "sections": [{"title": "先让优惠一眼可见", "text": ["大数字与返现名称组成主标题,硬币或币形从周边聚集,中心留给文字。白底配荧光绿和洋红,数字采用结实的无衬线粗体,条件说明用正常字重。"], "palette": true, "demo": "sequence"}, {"title": "余额是解释机制的主画面", "text": ["显示初始余额、支出、返还与最终余额。金额变化沿同一数值位置发生,支出和返还使用不同方向或状态词,避免只做无意义的数字滚动。", "账户额度、总奖池与单户上限属于不同概念,分别标注,不让一个金额在不同镜头里悄悄换含义。"], "clip": [8, 13]}, {"title": "把使用条件留在行动入口之前", "text": ["模型或服务范围、单户上限、截止时间与未使用额度处理方式依次交代。条件字不必与主金额一样大,但要有独立停留和足够对比。", "换活动时先重算余额关系,更新优惠比例、适用对象、限额与期限,再调整品牌色、币形和入口。"]}]}, "templateId": "V322", "name": "Higgsfield API|返现活动", "duration": 26.066667, "initialTime": 5.2, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [2.0, 8.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": [[8.5, 8.5], [9.5, 12.5]], "samples": [[8.5, [546.9767435348837, 313.9534880697675]], [9.5, [255.34883709302323, 668.372093511628]], [11.5, [255.34883709302323, 668.372093511628]], [12, [255.3488362848837, 598.6046513197675]], [12.5, [252.55813909883722, 124.18604698255817]]], "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": [[8.5, 8.5], [9.5, 12.5]], "samples": [[8.5, 36.27906799316406], [9.5, 58.60464859008789], [12, 58.60464859008789], [12.5, 75.34883880615236]], "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": [[8.5, 8.5], [9.5, 12.5]], "samples": [[8.5, "Your"], [9.5, "Your"], [12.5, "Your"]], "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": [[8.5, 8.5], [9.5, 12.5]], "samples": [[8.5, 89.30232238769531], [9.5, 147.90696716308594], [12, 147.906982421875], [12.5, 142.32557678222656]], "maxCompressionErrorVsObservations": 1.2207031261368684e-05, "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": [[8.5, 8.5], [9.5, 12], [13.5, 14]], "samples": [[8.5, [657.2093031395348, 355.9999996933651]], [9.5, [440.9588813035024, 735.0901505026133]], [11.5, [438.2299452476662, 736.4150349574847]], [12, [439.68580082262986, 666.5898351644389]], [13.5, [962.7907012713176, 413.0000012643836]], [14, [960.0539821779423, 411.57247916332017]]], "maxCompressionErrorVsObservations": 1.3550399409750753, "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": [[8.5, 8.5], [9.5, 12], [13.5, 14]], "samples": [[8.5, 47.99999999999983], [9.5, 79.07841491699219], [12, 81.97381591796875], [13.5, 83.99999999999994], [14, 91.8613052368164]], "maxCompressionErrorVsObservations": 1.3898223876954319, "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": [[8.5, 8.5], [9.5, 12], [13.5, 14]], "samples": [[8.5, "Higgsfield {API}"], [9.5, "Higgsfield {API}"], [12, "Higgsfield {API}"], [13.5, "г Higgsfield {API}"], [14, "2 Higgsfield {API}"]], "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": [[8.5, 8.5], [9.5, 12], [13.5, 14]], "samples": [[8.5, 304.1860351562499], [9.5, 514.4899291992188], [10, 517.2340698242188], [11.5, 514.5513916015624], [12, 517.6708374023438], [13.5, 647.4418334960936], [14, 654.2196655273438]], "maxCompressionErrorVsObservations": 1.79144287109375, "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": [[8.5, 8.5], [9.5, 12]], "samples": [[8.5, [731.1627897009967, 399.0697671627907]], [9.5, [568.0000027199999, 811.99999976]], [10, [572.0000026399999, 811.99999976]], [10.5, [568.0000027210974, 811.9999997727804]], [11, [569.3023241550388, 809.3023257054263]], [11.5, [568.0000027228078, 811.9999997942889]], [12, [569.3023272558139, 740.9302329767443]]], "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": [[8.5, 8.5], [9.5, 12]], "samples": [[8.5, 39.06976699829113], [9.5, 72.0], [10.5, 73.2769775390625], [11, 55.8139533996582], [11.5, 75.4212646484375], [12, 58.60464859008789]], "maxCompressionErrorVsObservations": 0.63848876953125, "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": [[8.5, 8.5], [9.5, 12]], "samples": [[8.5, "Balance"], [9.5, "Balance"], [12, "Balance"]], "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": [[8.5, 8.5], [9.5, 12]], "samples": [[8.5, 156.27906799316406], [9.5, 272.0], [10, 264.0], [10.5, 272.3352355957031], [11, 256.7441711425781], [11.5, 272.88555908203125], [12, 256.7441711425781]], "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."}]};