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.4 KB
Raw Blame
const CONFIG={"mode": "f3-slides", "mechanism": "slides", "demoTitle": "Build your presentation", "brand": "Beautiful.ai", "palette": ["#032329", "#eef3f6", "#cf278c", "#3587aa", "#2d3148"], "accent": "#cf278c", "font": "无衬线输入与列表,成品幻灯片有自己的标题层级;竖版集中排布", "stages": [{"start": 0, "label": "引入"}, {"start": 2, "label": "提示输入"}, {"start": 4, "label": "生成状态"}, {"start": 6, "label": "大纲列表"}, {"start": 9, "label": "编辑章节"}, {"start": 13, "label": "确认大纲"}, {"start": 16, "label": "版式骨架"}, {"start": 18, "label": "整套成品"}, {"start": 20, "label": "停留"}], "objects": ["提示胶囊", "大纲条目", "编辑浮层", "生成状态", "幻灯片网格"], "rules": ["先把主题变成可编辑大纲,再把大纲变成一组完整幻灯片,让两次生成各有清楚结果。", "输入主题之后先出现章节列表,编辑某个条目时浮层贴近对应行。确认列表后才进入幻灯片生成,章节顺序贯穿到成品。", "先出现每页内容框,再依次填标题、图表、色块与数字。成品以多格缩略图平铺,保持页面宽高比,避免列表和成品同时抢占画面。"], "transfer": ["选择能用图表、要点和数据页表达的主题,保持章节标题与成品一致。长标题需要换行,不能只缩成难读小字。"], "unknown": ["时序与对象关系按所阅概览归纳,原始关键帧、缓动和字体文件未知。", "HTML 是 authored 机制示例,不是逐像素复刻;未进行 fresh agent 复刻。", "未分析音轨。"], "measureTexts": ["Sales Performance Overview (7 slides)", "Deal progress and success stories", "Presentation of strategic goals for the next quarter."], "labels": ["Build your presentation"], "coverTime": 18.5, "creativeSummary": "先把主题变成可编辑大纲,再把大纲变成一组完整幻灯片,让两次生成各有清楚结果。", "guidePlan": {"intro": "先把主题变成可编辑大纲,再把大纲变成一组完整幻灯片,让两次生成各有清楚结果。", "sections": [{"title": "大纲是第一次生成的交付", "text": ["输入主题之后先出现章节列表,编辑某个条目时浮层贴近对应行。确认列表后才进入幻灯片生成,章节顺序贯穿到成品。"], "clip": [5.8, 13.5]}, {"title": "从骨架变成真实版式", "text": ["先出现每页内容框,再依次填标题、图表、色块与数字。成品以多格缩略图平铺,保持页面宽高比,避免列表和成品同时抢占画面。"]}, {"title": "暗青舞台与紫红光强调生成", "text": ["输入和状态用紫红光晕,工作区使用较暗半透明面板。无衬线列表文字保持清楚,幻灯片可引入蓝、橙等内容色;竖版上下排列留出稳定边距。"], "palette": true}, {"title": "替换主题时同时准备大纲与页内容", "text": ["选择能用图表、要点和数据页表达的主题,保持章节标题与成品一致。长标题需要换行,不能只缩成难读小字。"]}]}, "evidenceReview": {"kind": "prepared-overview", "fullOverviewReviewed": true, "ocrReviewed": true, "sampleCount": 24, "reviewedFrameIds": ["K0001", "K0003", "K0006", "K0008", "K0011", "K0013", "K0016", "K0018", "K0020", "K0023", "K0025", "K0028", "K0030", "K0033", "K0035", "K0038", "K0040", "K0042", "K0045", "K0047", "K0050", "K0052", "K0055", "K0057"], "note": "All frames visible in prepared/overview.jpg and text-index.json reviewed. Boundaries inferred between samples."}, "translations": {"en": {"templateName": "Beautiful.ai — Build your presentation", "summary": "An editable outline becomes a grid of complete presentation slides in two distinct generation stages.", "styleDescription": "Sans-serif lettering with a restrained type hierarchy and source colors #032329, #eef3f6, #cf278c, #3587aa, #2d3148.", "reviewFocus": "Preserve the named object relationships, stage order, typography hierarchy and content replacement rules. Demonstration is authored."}}, "templateId": "V370", "name": "用 AI 创建演示文稿", "duration": 21.033333, "initialTime": 18.5, "sourceCanvas": {"width": 720, "height": 1280}, "actionRange": [2, 9]};
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": [[6, 15.5]], "samples": [[6, [329.99999730000013, 266.999999675]], [6.5, [330.00000264999994, 170.99999991250002]], [15.5, [329.99999572, 170.00000008]]], "maxCompressionErrorVsObservations": 1.0000009949999935, "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": [[6, 15.5]], "samples": [[6, 25.999999999999943], [15.5, 28.000000000000114]], "maxCompressionErrorVsObservations": 1.5789473684210442, "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": [[6, 15.5]], "samples": [[6, "Sales Performance Overview (7 slides)"], [15.5, "Sales Performance Overview (7 slides)"]], "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": [[6, 15.5]], "samples": [[6, 424.0], [13.5, 424.0], [15.5, 427.99999999999994]], "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-1.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[6.5, 12]], "samples": [[6.5, [292.0185146531867, 735.0178450485555]], [7, [291.9999974333334, 711.00000005]], [7.5, [292.0185090661746, 677.0178451501374]], [8, [292.0185090661746, 413.01784515013753]], [12, [291.99999615000013, 411.000000075]]], "maxCompressionErrorVsObservations": 1.7656144557454354, "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": [[6.5, 12]], "samples": [[6.5, 29.157963752746582], [7, 22.0], [7.5, 29.156643867492676], [8, 29.156643867492676], [8.5, 22.0], [12, 21.999999999999886]], "maxCompressionErrorVsObservations": 1.9999999999999503, "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": [[6.5, 12]], "samples": [[6.5, "Deal progress and success stories"], [12, "Deal progress and success stories"]], "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": [[6.5, 12]], "samples": [[6.5, 308.5445861816407], [12, 307.99999999999994]], "maxCompressionErrorVsObservations": 0.4950783469460589, "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, 11.5], [12.5, 13.5], [16, 16]], "samples": [[8, [312.0000057333332, 957.0000000333332]], [8.5, [311.0000028499999, 952.9999999166666]], [11.5, [311.00000341999987, 953.9999999199999]], [12.5, [311.00000427499987, 897.9999998999999]], [13, [311.0000028499999, 955.9999998999999]], [13.5, [311.00000341999987, 955.9999999199999]], [16, [308.00000613333316, 968.0]]], "maxCompressionErrorVsObservations": 0.500000001666649, "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, 11.5], [12.5, 13.5], [16, 16]], "samples": [[8, 18.0], [11.5, 16.0], [12.5, 16.0], [13.5, 16.0], [16, 16.0]], "maxCompressionErrorVsObservations": 0.8571428571428577, "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, 11.5], [12.5, 13.5], [16, 16]], "samples": [[8, "Presentation of strategic goals for the next quarter."], [11.5, "Presentation of strategic goals for the next quarter."], [12.5, "Presentation of strategic goals for the next quarter."], [13.5, "Presentation of strategic goals for the next quarter."], [16, "Presentation of strategic goals for the next quarter."]], "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, 11.5], [12.5, 13.5], [16, 16]], "samples": [[8, 344.0], [11.5, 342.0], [12.5, 342.0], [13.5, 342.0], [16, 368.00000000000006]], "maxCompressionErrorVsObservations": 1.7142857142857224, "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."}]};