代码生成视频 / 产品发布派

24 秒玻璃拟态产品发布:一镜到底 24s Glassmorphism Product Launch, One Take

产品发布派18s · 1:1分享者:zero (@twoclipping)· 出处:X @twoclipping(经 YouMind 合集 Wayback 快照逐字解出)

预览为我们用这条提示词自行生成(seek(t) 逐帧渲染),非原作者成片

▶ 在线运行

Original Prompt

<inputs>
Ask me for: my product's name (one lowercase word, it becomes a black wordmark with a period), the one job a user hands it before bed, the three results it reports by morning, two photos of the same place at night and by day (aligned, so a crossfade reads as a real sunrise), one sunny daytime photo for outside the logo, and a song with a big hit near its start. If I skip any, use the defaults: "nightshift", "book 10 sales calls this week", 200 leads found / 200 emails sent / 10 calls booked.
</inputs>

<direction>
A 24 second square product launch video, 1440x1440 at 60fps, 2D only, one continuous take that loops. The whole video happens inside the period of the wordmark. Outside it's daytime (the sunny photo behind a black wordmark). Inside it's the night photo under iOS-style glass panels (the blurred photo behind each panel, a tint, a rim light). Nothing cuts: every scene grows out of the last, shapes morph, dots fly, colours change under floods. Every morph glides 0.8s on cubic-bezier(.45,0,.15,1) and the camera zoom rides the same curve. Geist, the real macOS pointer, soft shadows that grow with each shape's height.
Banned: flat or gradient backgrounds made in code, camera zooms into tiny points, hard cuts, crossfades between scenes, bouncy springs, particles, glows, holds longer than 1s, cropped type.
</direction>

<structure>
Beats are the song's. The song enters on its big hit as the first pill appears.
Open: the letters slide into the period and vanish into it while it glides to the middle. The period opens like an iris onto the night inside it, and "you log off at 6", then "[product] doesn't", roll through one mask line over the night photo.
Ask: a glass "Ask [product]" pill springs in. The cursor clicks it, it glides into an input and the job types out.
Find: send shrinks the input to a dot that ripples into a 23x15 grid. A scan line sweeps it, 200 dots light up and a counter counts them.
Write: the lit dots pour into a glass email composer. A second, purple cursor labelled "[product]" types a personal opener and presses Send, and the counter runs to 200/200.
Night: the composer becomes a glass orb with a progress ring. A clock chip swaps 11:42 PM, 3:17 AM, 5:02 AM, 6:59 AM while the sky relights from night to dawn and "while you sleep" rolls in.
Results (beat 20): the orb turns black and goo-splits into the three result pills. The checks pop green.
Morning: the pills merge into a Dynamic Island that grows into a phone lock screen: the day photo, the date, a big 7:00, the bezel growing out of the screen edge. Three glass notifications stack in, and the cursor taps the first, which opens like iOS.
Proof: a week calendar (10 meetings pop in, a hover shows one's time), then a pipeline chart ($48,200 counts up, the line draws, a hover follows it). A black flood from the line's end becomes "Start your night shift →" and the cursor clicks it.
Out: the button shrinks into a dot, the whole scene closes down into it like an iris, and the letters slide back out of the period. The tagline rises. Last frame = first frame.
</structure>

<build>
1. One HTML canvas. Everything is a pure function of time inside seek(t): no timers, no state between frames.
2. One element morphs through every state (size, radius, colour, material) from a table of beat times, so retiming is one edit.
3. Render the inside world into an offscreen canvas and reveal it through the period with a circular mask. Never zoom the camera into the dot.
4. Glass: a pre-blurred copy of the photo clipped to the shape, then a tint and a gradient rim.
5. Goo: blur + alpha threshold on an offscreen layer for the split and the merge.
6. Sound: a downloaded SFX for every event, each placed by its measured peak. The song enters on its hit. Loudnorm to -14 LUFS.
7. Render with Playwright at 60fps with 4 motion-blur subframes. Scan every frame for single-frame jumps and fix each one.
</build>

<gotchas>
A camera zoom into an off-centre dot swings sideways and spikes, so open the dot instead. Ease a closing iris by area, not radius, or its first frames jump. A helper that sets globalAlpha must restore the caller's, or fading cards pop. Counters read the frame's time, not the subframe's, or the digits smear.
</gotchas>

<start>
Ask me for the inputs, then show me the beat map and 6 stills (open, find, write, results, phone, out) before you render.
</start>
copy original

中文对照

〔要点对照〕<inputs> 问我要:产品名(小写单词+句点构成黑色字标)、用户睡前交给它的一个任务、清晨汇报的三个结果、同一地点对齐的日夜两张照片(交叉淡化读作真日出)、一张晴天照片、开头有重击的歌曲;跳过则用默认值(nightshift / 本周约 10 个销售电话 / 200 线索、200 邮件、10 通话)。
<direction> 24 秒方形产品发布片 1440x1440@60fps,纯 2D 一镜到底且循环:整段视频发生在字标句点内部——句点外是白天,之内是夜景上的 iOS 玻璃面板(预模糊照片 + tint + 轮廓光);零剪切,一切场景从上一场景生长而出,morph 以 0.8s cubic-bezier(.45,0,.15,1) 滑行,相机缩放同曲线。禁:代码纯色/渐变背景、相机缩进微点、硬切、交叉淡化、弹跳、粒子、辉光、超 1 秒静止、裁切文字。
<structure> 按歌的节拍:开场字母滑入句点、句点如光圈打开露出夜晚、"you log off at 6 / [product] doesn't" 遮罩线滚过 → Ask 玻璃胶囊弹入被点击、任务打出 → 发送缩成点、涟漪成 23x15 网格、扫描线点亮 200 点 → 圆点倾泻进玻璃邮件编辑器、第二个紫色光标打出开场白并发送、计数到 200/200 → 编辑器变玻璃球进度环、时钟轮换 11:42PM→6:59AM、天色重新点亮 → 玻璃球 goo 分裂成三颗结果胶囊、对勾弹绿 → 胶囊并成灵动岛长成手机锁屏、三条玻璃通知点开 → 一周日历 + 管道图($48,200 计数、折线自绘)→ 黑色色块涌出成按钮被点击 → 按钮缩回一点、场景如光圈收拢、字母滑回、标语升起、末帧=首帧。
<build> 单 canvas seek(t) 纯函数;单一元素按节拍表 morph 全部状态(改节奏只改一处);内部世界渲到离屏 canvas 经句点圆形遮罩揭示;玻璃=预模糊照片+tint+渐变轮廓;goo=模糊+alpha 阈值;SFX 按实测峰值定位、Loudnorm -14 LUFS;Playwright 60fps 4 运动模糊子帧、逐帧扫描单帧跳变。
<gotchas> 相机别缩向偏心点(侧摆尖峰),改"打开圆点";收拢光圈按面积而非半径缓动;globalAlpha 用完要还原否则淡入卡片突现;计数器读帧时间而非子帧时间否则数字拖影。
复制对照

产品叙事的“一镜到底”范本。 创意钩只有一句话:整段视频发生在字标的句点内部——白天在外面,夜晚在里面,产品在你睡觉时工作。所有功能演示(问、找、写、汇报、结果)都被缝进这一条不剪切的 morph 链条里。

<inputs> 段的默认值设计很聪明:每项输入都配了 If I skip any, use the defaults——brief 立刻从“模板”变成“填空题”,你只填产品名也能出片。

工程上最值钱的一条 gotcha:Never zoom the camera into the dot — open the dot instead(别把相机缩进圆点,去“打开”圆点)。这是作者踩过的坑(相机缩向偏心点会侧摆尖峰),预埋进 brief 让模型少走弯路——gotchas 段的本质是把人类经验注入模型。

#规格模板#产品发布#一镜到底#玻璃拟态#morph