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.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
const CONFIG={"mode": "w2-song-compose", "demoTitle": "Composer", "palette": ["#071a1d", "#f3fcf5", "#63d6b2", "#266f75", "#b4e1d8"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "品牌"}, {"start": 3.0, "label": "歌曲请求"}, {"start": 7.0, "label": "封面素材"}, {"start": 10.0, "label": "上传参考"}, {"start": 13.0, "label": "歌曲段落"}, {"start": 18.0, "label": "歌词与副歌"}, {"start": 22.0, "label": "节奏调节"}, {"start": 27.0, "label": "调性选择"}, {"start": 32.0, "label": "音频波形"}, {"start": 38.0, "label": "多作品展开"}, {"start": 52.0, "label": "名称"}, {"start": 57.0, "label": "品牌"}], "objects": ["提示条", "参考封面", "段落标签", "歌词", "BPM数字", "调性选择", "波形", "作品队列"], "rules": ["从开放式请求进入可控制的段落、速度、调性,最后落到波形与作品", "参数选择是因、输出变化是果,不能先输出再补输入", "深青流体背景持续低频运动,工具卡片承担清晰阅读"], "transfer": ["迁移到创作型工具时保留输入→结构→参数→成果链", "波形是音频存在的视觉符号,需另附真实音轨才能验证音画关系"], "unknown": ["未听辨和重建音频;波形示例不是音源实测振幅,流体为程序近似。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Verse", "Chorus", "1:12"], "coverTime": 8.2, "labels": ["品牌", "歌曲请求", "封面素材", "上传参考", "歌曲段落", "歌词与副歌", "节奏调节", "调性选择", "音频波形", "多作品展开", "名称", "品牌"], "brand": "ElevenLabs", "accent": "#63d6b2", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Controllable song composition", "summary": "A song prompt becomes sections, lyrics, tempo, key and audio outputs.", "styleDescription": "Deep teal space, fluid accents and waveform cards.", "reviewFocus": "Separate visual waveform illustration from measured audio."}}, "creativeSummary": "从开放式请求进入可控制的段落、速度、调性,最后落到波形与作品。参数选择是因、输出变化是果,不能先输出再补输入。", "guideChapters": {"overview": "展示可控制的歌曲创作", "composition": "段落、歌词与声音参数", "motion": "先设参数再出现作品", "rhythm": "输入、结构与试听分段", "transfer": "保留创作控制而替换音乐方向"}, "guidePlan": {"intro": "把歌曲创作讲成可逐项控制的过程:先输入方向,再安排段落和歌词,调整速度与调性,最后进入试听与作品集合。", "sections": [{"title": "从开放请求进入具体控制", "text": ["提示框先写创作意图,参考封面或素材随后进入。接着将 Verse、Chorus、Bridge 等段落拆成独立块,让歌词落到对应段落,而不是把整首歌堆成一段文字。"], "demo": "sequence"}, {"title": "速度与调性各有固定位置", "text": ["BPM 数字在同一个位置变化,调性在选择器中切换。调整参数时,其他控制保持稳定,让观众知道改变的是哪一项。", "深青背景、青绿色重点与柔和流体形成音乐氛围;歌词用常规无衬线字体,段落标签与参数名略粗,数字保持对齐。"], "palette": true, "clip": [18, 32]}, {"title": "波形负责播放,作品卡负责选择", "text": ["结果出现后用播放线穿过波形表达试听进度,封面与名称保持可辨。多作品阶段将单卡展开成队列,保留同一组播放器元素。", "波形可作为节奏图形,但需要真实音轨时应让播放线与声音同步;不要让装饰性的跳动掩盖歌词与参数。"]}, {"title": "换音乐方向时保留控制结构", "text": ["替换创作提示、参考图、歌词与封面,重新选择速度和调性。可以改变背景材质和主色,保留输入、结构、参数、试听四种操作层级。"]}]}, "suggestedName": "Composer · 分段歌曲编辑", "templateId": "V059", "name": "Introducing Composer, a section-by-section song editor.\n\nStart with your own lyrics or track, a blank page, or a prompt,", "duration": 59.1, "initialTime": 8.2, "sourceCanvas": {"width": 960, "height": 540}, "actionRange": [3.0, 13.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": [[11.5, 14], [16, 17.5], [28.5, 29], [30, 33]], "samples": [[11.5, [476.0000011067558, 270.9999998910579]], [12, [425.0000010419037, 271.0000003639525]], [13, [377.0000015872438, 271.00000177751406]], [13.5, [357.0000024333333, 270.99999992222223]], [14, [343.00000241111115, 271.9999996444444]], [16, [463.0000004925, 336.0000002025]], [16.5, [463.00000041862813, 306.31251851022796]], [17, [462.9999999485714, 296.9999998742857]], [17.5, [462.9999996166666, 516.99999985]], [28.5, [673.000000375, 394.999999925]], [29, [674.0000005333334, 394.99999990000003]], [30, [680.0000005333334, 398.99999990000003]], [33, [706.0000004000001, 414.999999925]]], "maxCompressionErrorVsObservations": 1.6666657222222057, "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": [[11.5, 14], [16, 17.5], [28.5, 29], [30, 33]], "samples": [[11.5, 63.95527267456055], [13, 65.9543342590332], [13.5, 58.000000000000085], [14, 63.99999999999997], [16, 188.00000004499998], [16.5, 188.62503722045588], [17, 181.99999989142847], [17.5, 18.0], [28.5, 10.0], [29, 10.0], [30, 10.0], [33, 10.0]], "maxCompressionErrorVsObservations": 2.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": [[11.5, 14], [16, 17.5], [28.5, 29], [30, 33]], "samples": [[11.5, "[Versel |"], [12, "[Verse]"], [12.5, "[Verse] ||"], [13, "[Verse] I w|"], [13.5, "[Verse] I woke |"], [14, "[Verse] I woke up chas|"], [16, "Verse\nVerse"], [17.5, "Verse"], [28.5, "Verse"], [29, "Verse"], [30, "Verse"], [33, "Verse"]], "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": [[11.5, 14], [16, 17.5], [28.5, 29], [30, 33]], "samples": [[11.5, 245.34661865234375], [12, 208.1439666748047], [12.5, 254.8203582763672], [13, 319.3541564941406], [13.5, 438.0], [14, 666.0], [16, 50.00000006499994], [17.5, 50.0], [28.5, 30.0], [29, 31.999998092651367], [30, 31.999998092651367], [30.5, 30.0], [32, 34.0], [33, 32.000000000000114]], "maxCompressionErrorVsObservations": 0.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": [[16, 19.5], [28.5, 33]], "samples": [[16, [462.0000005339065, 336.9999999204214]], [16.5, [462.0000005002047, 306.99999991790435]], [17, [256.9999990184244, 294.9999998074778]], [17.5, [240.99999894812493, 143.99999981010828]], [18, [236.9999986977537, 135.99999977250394]], [18.5, [211.0000010284877, 136.00000028781588]], [19, [236.99999891792484, 135.99999979330096]], [19.5, [223.00000085977697, 140.99999993688542]], [28.5, [329.9999995497259, 395.0000000733361]], [30, [324.9999994333333, 397.9999998]], [33, [305.00000042, 415.99999991999994]]], "maxCompressionErrorVsObservations": 1.666667755738331, "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": [[16, 19.5], [28.5, 33]], "samples": [[16, 18.449872970581055], [16.5, 18.148439407348576], [17.5, 25.2877197265625], [19.5, 22.311355590820312], [28.5, 10.133005142211971], [33, 11.999999999999943]], "maxCompressionErrorVsObservations": 1.7979373931884766, "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": [[16, 19.5], [28.5, 33]], "samples": [[16, "Chorus"], [17, "Chorus 18s"], [18.5, "Chorus"], [19, "Chorus 18s"], [19.5, "Chorus"], [28.5, "Chorus"], [33, "Chorus"]], "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": [[16, 19.5], [28.5, 33]], "samples": [[16, 64.12506866455078], [16.5, 60.044364929199276], [17, 126.20024871826172], [17.5, 134.2246398925781], [18, 138.22425842285156], [18.5, 90.27845764160156], [19, 138.14585876464838], [19.5, 86.07912445068354], [28.5, 36.03672027587896], [33, 42.0]], "maxCompressionErrorVsObservations": 1.3618935479058578, "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": [[28, 33]], "samples": [[28, [447.0000003, 134.0000002]], [28.5, [457.0000000250001, 148.99999987500001]], [29, [458.00000033333333, 152.0000002]], [29.5, [459.99999975000003, 151.000000075]], [33, [457.00000027500005, 132.999999925]]], "maxCompressionErrorVsObservations": 1.5714287964285631, "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": [[28, 33]], "samples": [[28, 12.000000000000028], [28.5, 9.999999999999972], [30.5, 12.000000000000028], [31.5, 8.0], [33, 9.999999999999972]], "maxCompressionErrorVsObservations": 1.4999999999999858, "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": [[28, 33]], "samples": [[28, "1:12"], [33, "1:12"]], "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": [[28, 33]], "samples": [[28, 22.0], [29, 24.0], [29.5, 20.0], [30, 23.999999999999943], [33, 22.000000000000057]], "maxCompressionErrorVsObservations": 1.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."}]};