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": "f3-wonderful", "mechanism": "wonderful", "demoTitle": "$550M", "brand": "Wonderful", "palette": ["#242424", "#fafaf6", "#92b8a5", "#bd8f6c", "#8caaca"], "accent": "#92b8a5", "font": "无衬线超大细数字,融资轮次与品牌小字置于上下;窄字距干净排布", "stages": [{"start": 0, "label": "超大金额"}, {"start": 1, "label": "金额叠影"}, {"start": 1.5, "label": "金额居中"}, {"start": 4, "label": "彩色竖幅"}, {"start": 5, "label": "投资方"}, {"start": 8, "label": "全球主张"}, {"start": 10, "label": "国家数递增"}, {"start": 10.8, "label": "地图与照片"}, {"start": 12, "label": "and counting"}, {"start": 13.2, "label": "产品定位"}, {"start": 16, "label": "品牌"}], "objects": ["超大金额", "模糊风景带", "投资方名单", "国家数字", "地图照片", "品牌字标"], "rules": ["先把融资金额做成视觉事件,再用投资方和全球覆盖解释这次增长,最后回到产品定位。", "开头数字超出边缘,竖向叠影和快速缩放把它收进中心。背景是低细节的风景色带,品牌与轮次分别落在金额上下;金额停住后背景才切成彩色竖幅。", "投资方以两列文字和细色线连接,不用堆 Logo。全球段先出现少量地点照片,再让数字递增,最后展开地图与更多照片。照片和地点数量要对应叙事。"], "transfer": ["可用于融资、用户增长或覆盖范围公告。替换金额、轮次、名单、国家计数与地点素材,不沿用旧数字;结尾说明这些增长服务于什么产品。"], "unknown": ["时序与对象关系按所阅概览归纳,原始关键帧、缓动和字体文件未知。", "HTML 是 authored 机制示例,不是逐像素复刻;未进行 fresh agent 复刻。", "未分析音轨。", "风景摄影与地图底图为简化色带、点阵代理;金额只为源片文案示例。"], "measureTexts": ["$550M", "wonderful", "wonderful raises"], "labels": ["$550M"], "coverTime": 2.3, "creativeSummary": "先把融资金额做成视觉事件,再用投资方和全球覆盖解释这次增长,最后回到产品定位。", "guidePlan": {"intro": "先把融资金额做成视觉事件,再用投资方和全球覆盖解释这次增长,最后回到产品定位。", "sections": [{"title": "金额从超画幅缩成完整公告", "text": ["开头数字超出边缘,竖向叠影和快速缩放把它收进中心。背景是低细节的风景色带,品牌与轮次分别落在金额上下;金额停住后背景才切成彩色竖幅。"], "clip": [0, 4.6]}, {"title": "名单与地图承担可信的细节", "text": ["投资方以两列文字和细色线连接,不用堆 Logo。全球段先出现少量地点照片,再让数字递增,最后展开地图与更多照片。照片和地点数量要对应叙事。"]}, {"title": "高密度信息之后回到安静字标", "text": ["白底名单和地图与深灰开头、结尾交替。数字用大号细无衬线,辅文显著缩小但保持可读;风景采用低饱和绿棕蓝,避免抢过白字。"], "palette": true}, {"title": "替换数字与地点,保持事实一致", "text": ["可用于融资、用户增长或覆盖范围公告。替换金额、轮次、名单、国家计数与地点素材,不沿用旧数字;结尾说明这些增长服务于什么产品。"]}]}, "evidenceReview": {"kind": "prepared-overview", "fullOverviewReviewed": true, "ocrReviewed": true, "sampleCount": 24, "reviewedFrameIds": ["K0001", "K0003", "K0005", "K0007", "K0009", "K0011", "K0013", "K0015", "K0017", "K0019", "K0021", "K0023", "K0026", "K0028", "K0030", "K0032", "K0034", "K0036", "K0038", "K0040", "K0042", "K0044", "K0046", "K0048"], "note": "All frames visible in prepared/overview.jpg and text-index.json reviewed. Boundaries inferred between samples."}, "translations": {"en": {"templateName": "Wonderful — $550M", "summary": "Oversized funding typography resolves into a partner list and expanding global presence.", "styleDescription": "Sans-serif lettering with a restrained type hierarchy and source colors #242424, #fafaf6, #92b8a5, #bd8f6c, #8caaca.", "reviewFocus": "Preserve the named object relationships, stage order, typography hierarchy and content replacement rules. Demonstration is authored."}}, "templateId": "V391", "name": "Wonderful|融资公告动效", "duration": 17.84, "initialTime": 2.3, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [1, 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": [[1.04, 4.68]], "samples": [[1.04, [943.9999952703383, 583.87780139457]], [1.56, [953.0232539941859, 541.3953481976744]], [2.08, [958.6046484331396, 541.3953478779069]], [3.64, [959.9999975704513, 542.7906967797537]], [4.16, [934.883718609547, 542.7906968739289]], [4.68, [888.8372122982216, 539.9999994336524]]], "maxCompressionErrorVsObservations": 1.8604656220929883, "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.04, 4.68]], "samples": [[1.04, 886.1978933075364], [1.56, 306.9767456054688], [3.12, 301.3953552246094], [4.16, 304.18603515624994], [4.68, 309.7674255371093]], "maxCompressionErrorVsObservations": 1.8604634602864962, "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.04, 4.68]], "samples": [[1.04, "$550M\n$550M\n$550M"], [1.56, "$550M"], [4.68, "$550M"]], "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.04, 4.68]], "samples": [[1.04, 1041.7159423828125], [1.56, 1013.023254394531], [2.08, 1024.18603515625], [3.64, 1021.3953247070312], [4.16, 999.0697631835936], [4.68, 1018.6046752929688]], "maxCompressionErrorVsObservations": 0.93023681640625, "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": [[1.56, 4.68], [14.56, 17.68]], "samples": [[1.56, [830.232556802622, 339.0697675728291]], [2.08, [940.4651187399577, 301.23255841189746]], [3.64, [939.1000776131004, 302.7900397247109]], [4.16, [927.9069784011626, 301.3953483139535]], [4.68, [877.6744200465114, 301.39534837209305]], [14.56, [966.9767440078449, 539.9999995104536]], [15.08, [964.1860463647604, 539.9999995095961]], [17.68, [964.1860463541091, 539.9999995129128]]], "maxCompressionErrorVsObservations": 0.9926994912672171, "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": [[1.56, 4.68], [14.56, 17.68]], "samples": [[1.56, 81.66490173339844], [2.08, 78.4651145935058], [2.6, 92.39457702636719], [3.12, 83.720932006836], [3.64, 92.6690902709961], [4.16, 83.720932006836], [4.68, 83.720932006836], [14.56, 100.42469024658197], [15.08, 102.9885482788086], [17.68, 100.92271423339838]], "maxCompressionErrorVsObservations": 1.1821701049804005, "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": [[1.56, 4.68], [14.56, 17.68]], "samples": [[1.56, "wonderful"], [2.08, "wonderful raises"], [4.68, "wonderful raises"], [14.56, "wonderful"], [17.68, "wonderful"]], "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": [[1.56, 4.68], [14.56, 17.68]], "samples": [[1.56, 321.114715576172], [2.08, 541.3953247070312], [2.6, 546.3295288085938], [3.12, 541.395324707031], [3.64, 546.2925415039062], [4.68, 544.1860351562499], [14.56, 422.0243225097656], [15.08, 394.773681640625], [17.68, 394.2820739746094]], "maxCompressionErrorVsObservations": 1.053253173828125, "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.08, 4.68]], "samples": [[2.08, [940.4651187399577, 301.23255841189746]], [3.64, [939.1000776131004, 302.7900397247109]], [4.16, [927.9069784011626, 301.3953483139535]], [4.68, [877.6744200465114, 301.39534837209305]]], "maxCompressionErrorVsObservations": 0.9926994912672171, "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.08, 4.68]], "samples": [[2.08, 78.4651145935058], [2.6, 92.39457702636719], [3.12, 83.720932006836], [3.64, 92.6690902709961], [4.16, 83.720932006836], [4.68, 83.720932006836]], "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.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[2.08, 4.68]], "samples": [[2.08, "wonderful raises"], [4.68, "wonderful raises"]], "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.08, 4.68]], "samples": [[2.08, 541.3953247070312], [2.6, 546.3295288085938], [3.12, 541.395324707031], [3.64, 546.2925415039062], [4.68, 544.1860351562499]], "maxCompressionErrorVsObservations": 1.053253173828125, "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."}]};