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.7 KB
Raw Blame
const CONFIG={"mode": "w2-plugin-workflow", "demoTitle": "Create with Higgsfield", "palette": ["#ffffff", "#171717", "#c3f629", "#f086c2", "#ade0db"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "平台标记"}, {"start": 3.0, "label": "产品接入"}, {"start": 5.0, "label": "模型列表"}, {"start": 8.0, "label": "选择插件"}, {"start": 12.0, "label": "输入任务与技能"}, {"start": 17.0, "label": "执行过程"}, {"start": 20.0, "label": "批量成果"}, {"start": 23.0, "label": "查询表现"}, {"start": 26.0, "label": "数据图表"}, {"start": 28.0, "label": "排名素材"}, {"start": 32.0, "label": "定期执行"}], "objects": ["插件选择", "模型列表", "任务输入", "批量结果", "图表", "排名卡"], "rules": ["先选插件与技能,再输入跨工具任务,执行步骤顺序出现", "结果从素材网格转换为性能指标和排名,表达生成后的运营闭环", "最后将一次任务设为重复流程"], "transfer": ["可迁移为设计插件的生成→发布→分析流程", "更换数据和作品时保持排名与指标一致"], "unknown": ["本地输入为裁切片段;模型名称和广告数据是来源画面文字,不是当前产品事实。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["ROAS", "Top 5 of 20", "GENERATING..."], "coverTime": 6.2, "labels": ["平台标记", "产品接入", "模型列表", "选择插件", "输入任务与技能", "执行过程", "批量成果", "查询表现", "数据图表", "排名素材", "定期执行"], "brand": "Higgsfield", "accent": "#c3f629", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Creative plugin workflow", "summary": "Plugin selection leads to batch creative production, performance ranking and automation.", "styleDescription": "Dense tool UI, media grids and high-contrast result summaries.", "reviewFocus": "Preserve the transition from creation to evaluation and follow-up."}}, "creativeSummary": "先选插件与技能,再输入跨工具任务,执行步骤顺序出现。结果从素材网格转换为性能指标和排名,表达生成后的运营闭环。", "guideChapters": {"overview": "从插件入口走到效果分析", "composition": "工具选项、素材格与排行榜", "motion": "批量生成后筛选结果", "rhythm": "创作、评估与后续行动", "transfer": "替换内容也替换评价指标"}, "guidePlan": {"intro": "从插件的入口走到可批量使用的成果,再用表现数据决定下一步。让生成与筛选构成一个连续工作流。", "sections": [{"title": "先交代插件能在哪里使用", "text": ["用平台标记、插件入口和模型或技能清单建立环境。名称使用清晰无衬线字体,选中项用强调底色而不是低对比彩字;其他选项降低权重。", "白底、黑字与荧光绿形成主要层级,粉色和浅蓝只用于不同媒体或结果分类。"], "palette": true}, {"title": "一条批量请求,对应一组完整成果", "text": ["输入中交代产品来源、创意方向和输出数量。随后展示任务进行状态,再展开图像或视频网格;网格中的内容要有变化,同时仍属于同一批任务。"], "demo": "sequence"}, {"title": "从作品墙切到表现排行", "text": ["先让观众看到成品,再显示评价指标与排序。排行榜突出一项时,保留对应的作品身份或缩略图,不能只展示一组脱离作品的柱子。", "最后的自动化动作应来自筛选结果,例如继续迭代高表现方向或安排下一轮生产。"], "clip": [20, 34]}, {"title": "替换任务,也替换评价标准", "text": ["可改为产品图、活动视频或设计方案。提示词、素材目录、输出集合、评价指标和后续动作同步改写;不同任务不必都用同一个商业指标。"]}]}, "templateId": "V305", "name": "Higgsfield — plugin now in the ChatGPT app", "duration": 35.3, "initialTime": 6.2, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [3.0, 12.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": [[23.5, 24], [25, 31]], "samples": [[23.5, [459.06977318023246, 537.2674418649789]], [24, [468.83721562790697, 516.5000011696266]], [25, [1512.55813992795, 301.39534911293333]], [25.5, [1515.3488364252894, 284.65116246198886]], [26, [1512.5581405813955, 272.09302308139536]], [26.5, [1512.5581390124514, 248.3720931658433]], [27, [679.5348844809322, 491.1627902972964]], [27.5, [680.9302334055371, 479.9999998492972]], [28, [375.3488380823004, 531.6279068236696]], [31, [375.34883824581857, 530.2325585026608]]], "maxCompressionErrorVsObservations": 1.1627902695996681, "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": [[23.5, 24], [25, 31]], "samples": [[23.5, 75.46511840820318], [24, 73.0], [25, 28.620735168457088], [25.5, 34.191837310791016], [26, 25.11627769470215], [26.5, 28.39529800415039], [27, 137.48799133300776], [27.5, 136.74531555175776], [28, 61.580051422119084], [28.5, 65.60844421386713], [31, 65.22257232666016]], "maxCompressionErrorVsObservations": 0.3086975097655795, "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": [[23.5, 24], [25, 31]], "samples": [[23.5, "ormance trend, sorted by ROAS"], [24, "ormance trend, sorted by ROAS."], [25, "ROAS"], [31, "ROAS"]], "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": [[23.5, 24], [25, 31]], "samples": [[23.5, 918.1395263671875], [24, 937.6743774414062], [25, 83.95613861083984], [25.5, 89.56373596191406], [26, 83.7209243774414], [26.5, 83.88243865966797], [27, 422.50555419921875], [27.5, 425.05938720703125], [28, 193.4427337646485], [31, 193.7440185546875]], "maxCompressionErrorVsObservations": 0.3667933146158475, "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": [[27, 31]], "samples": [[27, [655.9999987156764, 640.0000007930403]], [27.5, [657.2093014681991, 623.7209306632101]], [28, [362.7906997685901, 599.9999988488432]], [28.5, [362.79069599961053, 597.2093024312051]], [31, [362.79069599961053, 597.2093024312051]]], "maxCompressionErrorVsObservations": 4.184518047622987e-07, "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": [[27, 31]], "samples": [[27, 81.9963607788086], [27.5, 72.03472900390625], [28, 34.43316841125488], [31, 34.088504791259766]], "maxCompressionErrorVsObservations": 0.28721968332926195, "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": [[27, 31]], "samples": [[27, "Top 5 of 20"], [31, "Top 5 of 20"]], "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": [[27, 31]], "samples": [[27, 368.4288330078125], [27.5, 360.4325256347655], [28, 167.62826538085938], [31, 167.5608367919922]], "maxCompressionErrorVsObservations": 0.05619049072265625, "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": [[20.5, 21]], "samples": [[20.5, [953.8747649746133, 576.2401376258143]], [21, [954.418605316145, 564.9069765978713]]], "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": [[20.5, 21]], "samples": [[20.5, 663.6766835107204], [21, 661.8139539498108]], "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": [[20.5, 21]], "samples": [[20.5, "NGENERATING...\nGENERATING...\nGENERATING...\nCGENERATING...\nGENERATING...\nGENERATING..."], [21, "→ GENERATING...\n5) GENERATING...\nGENERATING...\nJ GENERATING...\nGENERATING...\nGENERATING..."]], "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": [[20.5, 21]], "samples": [[20.5, 1301.5527962179472], [21, 1289.302323013002]], "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."}]};