制作流程klöss @kloss_xyz2026-10-192:16

代码生成音乐视频

播放
9,589
点赞
154
评论
32
收藏
67

一段为Suno v6制作的蒙古呼麦dubstep曲目配的音乐视频,由Claude Opus 5.5在Claude Code中用HTML、GSAP和WebGL纯代码渲染,耗时超过9小时,作者还分享了反向还原出的提示词。

完整提示词1,968 字符

You're a motion director and creative coder. Make a finished music video for [song file], built entirely in code and rendered frame by frame.

Concept: [your idea in one or two sentences]
Look: [palette, mood, references]
On-screen text: [title only / none / lyrics]
Deliver: [full song or mm:ss to mm:ss], [16:9 / 9:16 / both, each recomposed, not cropped], [fps], H.264 + AAC for [platform]

How to work:
1. Analyze the song before any visuals. Split it into bands or stems and export per-frame features plus a timing map (beats, bars, sections, hits). Every visual event reads from the map and is listed in it.
2. Give each musical element one visual job that serves the concept. Keep one idea transforming across the song instead of cycling effects.
3. Storyboard with timings and 3 style frames, get a fresh critic's verdict on them, then a 4-second end-to-end test before the full build.
4. Make every value a pure function of the frame number. Render offline, encode with the original audio (gain only).
5. After each full render, send it to fresh critic subagents that never saw the build, each returning ranked problems with timestamps and a ship / one more pass verdict:
- sound-off: retells the story from a silent 2 fps contact sheet
- sync: every cut, hit and visual event within 1 frame of the timing map
- QA: specs, palette, text, artifacts, measured on the frames
- director: brutal critique against the brief
- one per extra aspect ratio: composition and platform UI zones
6. Fix render bugs first, then the biggest problem; re-render; log each round with before/after numbers. If critics conflict, the brief wins.
7. Stop after [5] rounds or when the bar passes. The final pass checks only for breakage.

The bar: exact duration, size and fps; frame one finished; no still over 0.5 s; cuts and hits within 1 frame; audio unedited except gain, about -14 LUFS, true peak under -1 dB; text readable and inside safe areas; understood with the sound off.

出处:作者在原帖下的回复。提示词保留原文语言,未做改写。

需自备参考素材:原作除了文字提示词,还用了图片、视频、音频、文档或代码库作为输入,本站未收录这些素材。只复制提示词得不到同样的结果。

作者提到的工具

SunoClaude CodeGSAPWebGL

原帖:https://x.com/kloss_xyz/status/2112006151885705553

全部作品数据开源在 GitHub · awesome-opus-5.5-video。

模型归属以作者自述为准,本站未独立复现。播放量为 2026-10-20 的快照。作品版权归原作者,修改署名或下架请在 X 私信 @GoSailGlobal。

更多制作流程案例