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.3 KB
Raw Blame
const CONFIG={"mode": "w1-finance-story", "demoTitle": "Personal Finance", "palette": ["#f8f7f1", "#252824", "#d17754", "#35a97b", "#88acba"], "font": "生活旅行画面穿插暖白财务图卡,衬线说明配聊天气泡", "stages": [{"start": 0, "label": "旅行愿望"}, {"start": 10, "label": "财务能力引入"}, {"start": 14, "label": "授权连接账户"}, {"start": 20, "label": "收支总览"}, {"start": 32, "label": "追问资金去向"}, {"start": 39, "label": "支出与贷款"}, {"start": 50, "label": "生活画面回应"}, {"start": 55, "label": "预算方案"}, {"start": 66, "label": "酒店选择"}, {"start": 79, "label": "回到旅行愿望与品牌"}], "objects": ["愿望场景", "聊天请求", "账户连接", "收支图卡", "预算日历", "目的地结果"], "rules": ["先建立具体生活愿望,再用数据判断可行性,最后回到生活结果。", "图表按问题逐项出现;数字与说明有层级,不能同时堆满。", "实拍镜头作为愿望与回报,界面作为论证。"], "transfer": ["换为创作规划时保留目标→资源盘点→方案→成果的叙事。", "预算与财务数字均可替换,必须内部一致。"], "unknown": ["实拍旅行素材不随包提供;金融内容为样片语义而非建议。", "原字体、音轨同步与原工程缓动未恢复。", "HTML 为动作关系示例,不作为完整原样复刻。"], "brand": "Anthropic", "labels": ["1", "T", "S", "Hey Claude, we need a family vacation.", "3", "..."], "measureTexts": ["Hey Claude, we need a family vacation.", "We're thinking a week in Rome this spring.", "How are our finances looking??"], "coverTime": 14.3, "accent": "#d17754", "translations": {"en": {"templateName": "From a wish to a budget", "summary": "A travel wish motivates financial review and a plan, then returns as the outcome.", "styleDescription": "Lifestyle scenes alternating with warm white data cards.", "reviewFocus": "Keep the goal, budget evidence and outcome related."}}, "guideChapters": {"overview": "用一份计划回应一个愿望", "composition": "生活场景与数据界面", "motion": "问题带出图表和方案", "rhythm": "愿望、论证、回报", "transfer": "把旅行换成新的目标"}, "creativeSummary": "先建立具体生活愿望,再用数据判断可行性,最后回到生活结果。", "guidePlan": {"intro": "用一个旅行愿望贯穿财务演示。数据负责回答能否实现、怎样实现,最后回到生活场景。", "sections": [{"title": "愿望先于数据出现", "text": ["开场用旅行画面和一个具体问题建立目标。生活镜头铺满画面;转入工具后用暖白底、聊天气泡和衬线说明,形成场景与论证的分工。"], "palette": true, "reference": 0}, {"title": "账户连接是计划的前提", "text": ["提出财务问题后先显示连接账户,再展开收支总览。授权、数据和建议按顺序出现,避免一上来就给结论。"], "clip": [14, 32]}, {"title": "一次问题只带出一组数据", "text": ["总览之后用追问进入支出、贷款和预算。图表先建立结构,重点数字随后强调;旁边说明只解释当前决策。"], "table": {"headers": ["问题", "画面任务"], "rows": [["钱花在哪里", "支出分类与重点项目"], ["怎样腾出预算", "可调整项与时间安排"], ["下一步怎么做", "目的地选项与具体方案"]]}}, {"title": "中段回到生活,结尾兑现目标", "text": ["生活镜头穿插在数据段之间,让观众记住最初愿望。最终选择与预算相呼应,再用旅行场景收尾。"], "demo": "storyboard", "timeline": true}, {"title": "迁移到另一种人生计划", "text": ["可换成学习、搬家或创作目标,同时替换生活素材与资源数据。保留目标、资源盘点、方案、结果四者的因果;数值须在图表与文案之间一致。"]}]}, "templateId": "V283", "name": "Claude|个人财务", "duration": 91.166667, "initialTime": 14.3, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [10, 32]};
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": [[1.5, 9]], "samples": [[1.5, [1133.0232527441863, 533.0000000237014]], [2, [1133.0232628305648, 523.4767449867164]], [2.5, [1133.0232628305648, 471.627906936877]], [3, [1131.6278971255815, 445.1162792651163]], [3.5, [1133.0232628305648, 429.73255740764523]], [4, [1133.0232628305648, 403.4767449867164]], [4.5, [1133.023264, 248.37209302325576]], [6, [1133.023265637209, 207.90697677209297]], [7, [1133.027498429128, 190.4987927440335]], [7.5, [1133.0232479069768, 183.99999939965826]], [9, [1133.023264, 183.99999991128618]]], "maxCompressionErrorVsObservations": 0.4651162325581879, "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": [[1.5, 9]], "samples": [[1.5, 62.0], [2, 59.04651069641119], [2.5, 61.39534759521479], [3, 58.604648590087834], [3.5, 61.46511650085438], [4, 59.04651069641119], [5, 61.39534759521493], [6.5, 58.99999999999994], [7, 68.86875915527347], [7.5, 61.99999999999994], [9, 62.00000000000006]], "maxCompressionErrorVsObservations": 1.9922498067221, "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": [[1.5, 9]], "samples": [[1.5, "Hey Claude, we need a family vacation."], [9, "Hey Claude, we need a family vacation."]], "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": [[1.5, 9]], "samples": [[1.5, 982.3255615234377], [3, 985.1162719726562], [3.5, 982.3255615234375], [9, 982.3255615234375]], "maxCompressionErrorVsObservations": 1.8604736328126137, "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": [[2.5, 9]], "samples": [[2.5, [1091.1766034592388, 730.358038745856]], [3, [1088.3720854883722, 640.5000011506802]], [3.5, [1091.1853753166392, 624.3115821139202]], [4, [1091.162781655814, 601.2441850941527]], [4.5, [1089.7674361569766, 445.1046495639904]], [5, [1091.1853625436363, 428.9689890389381]], [5.5, [1088.3720865647842, 417.15116206608434]], [6, [1091.162781655814, 402.00000040625616]], [7, [1091.1627841993354, 385.00000093652704]], [7.5, [1091.162781655814, 378.11627793998065]], [9, [1091.1627841993354, 376.7209293060936]]], "maxCompressionErrorVsObservations": 1.3953489049833934, "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": [[2.5, 9]], "samples": [[2.5, 66.48587799072277], [9, 61.441860198974666]], "maxCompressionErrorVsObservations": 1.991001716026915, "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": [[2.5, 9]], "samples": [[2.5, "We're thinking a week in Rome this spring."], [9, "We're thinking a week in Rome this spring."]], "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": [[2.5, 9]], "samples": [[2.5, 1055.4801025390625], [3, 1060.465087890625], [3.5, 1055.4976806640625], [4.5, 1057.6744384765625], [5, 1055.46435546875], [5.5, 1060.4650878906248], [6, 1054.8836669921875], [6.5, 1060.4650878906248], [7, 1054.8836669921875], [9, 1054.8836669921875]], "maxCompressionErrorVsObservations": 1.702392578125, "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": [[2.5, 9]], "samples": [[2.5, [958.6046564053154, 807.9069763255814]], [3, [958.604657744186, 718.5000004095402]], [3.5, [958.604657744186, 704.4999994336874]], [4, [958.6046564053154, 682.5000003798204]], [4.5, [958.6046552616278, 521.999999496582]], [6.5, [958.6046558471761, 471.6279074152824]], [7, [958.6046564053154, 464.49999927089664]], [8, [958.6046561337209, 457.58139509517787]], [9, [957.209306356589, 457.58139493238724]]], "maxCompressionErrorVsObservations": 1.4069766644582273, "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": [[2.5, 9]], "samples": [[2.5, 58.60464859008789], [4, 59.000000000000114], [4.5, 61.999999999999886], [5, 56.00000000000006], [5.5, 59.0], [6, 56.116279602050724], [6.5, 61.39534759521479], [7, 58.99999999999994], [7.5, 61.39534759521479], [8, 67.16279220581055], [9, 67.16279220581043]], "maxCompressionErrorVsObservations": 0.2635676066081487, "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": [[2.5, 9]], "samples": [[2.5, "How are our finances looking??"], [9, "How are our finances looking??"]], "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": [[2.5, 9]], "samples": [[2.5, 789.7674560546874], [7.5, 789.7674560546875], [8, 795.3488159179688], [9, 792.5581054687499]], "maxCompressionErrorVsObservations": 1.3953552246091476, "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."}]};