ai21.net
語言

<inputs>

示範影片

<inputs> — 1

提示詞

<inputs> 
Ask me for: 
• my product + URL 
• 8–12 UI states that tell its story 
• the real data shown in each state 
• brand colors + fonts + accent color 
• required formats (1:1, 16:9, 9:16) 
</inputs>

<rules> 
One HTML file. One canvas
One draw(t) function

No CSS transitions
No timers
No state carried between frames

One shape, never cut

Every state is the same element changing size, radius and color while the content swaps

A cursor drives the sequence with real clicks, typing and one drag

Real UI. Real data. No placeholders.

</rules>
<structure> 
120 BPM grid

Something happens on every bea

logo → button → handle field → “is this you?” → loader → pin → globe filling with users → matches → tabs → RSVP → search → logo

</structure>

<motion> 
Closed-form springs everywhere with only a tiny overshoot.

If a value changes target multiple times, sum one spring per change

Content enters after its container starts morphing and leaves before the next morph so text never overlaps

Use a short blur on transitions

Never fade black directly into the accent color. Move an accent element between states instead

Make tab indicators stretch by putting each edge on a different spring

Zoom the camera so every state fills the frame

Make the last frame equal the first so the whole thing loops
</motion>

<export> 
First render one frame per beat as a contact sheet

Fix anything cramped or broken

Then render every frame in headless Chrome at 60fps, averaging 6 subframes for motion blur

Pipe into ffmpeg:
H.264 + yuv420p

Export all aspect ratios in parallel
</export>

motion design is becoming a prompt

中文翻譯

<inputs> 
向我索取:
• 我的產品 + URL
• 8–12 個能講出它故事的 UI 狀態
• 每個狀態中展示的真實數據
• 品牌色 + 字體 + 強調色
• 需要的畫幅(1:1、16:9、9:16)
</inputs>

<rules> 
一個 HTML 文件。一塊 canvas
一個 draw(t) 函數

不用 CSS 過渡
不用定時器
幀與幀之間不攜帶狀態

一個形狀,永不切鏡

每個狀態都是同一個元素在改變尺寸、圓角和顏色,同時內容在切換

一個光標用真實的點擊、打字和一次拖拽來驅動整個序列

真實 UI。真實數據。沒有佔位符。

</rules>
<structure> 
120 BPM 網格

每一拍都發生點什麼

logo → 按鈕 → handle 輸入框 → “is this you?” → 加載 → 定位針 → 逐漸被用戶填滿的地球 → 匹配 → 標籤頁 → RSVP → 搜索 → logo

</structure>

<motion> 
處處使用閉式解彈簧,只有極小的過沖。

如果一個值多次改變目標,就爲每次改變各疊加一個彈簧

內容在其容器開始變形之後進入,並在下一次變形之前離開,這樣文字永遠不會重疊

轉場時使用短暫的模糊

絕不讓黑色直接淡入強調色。改爲在狀態之間移動一個強調色元素

把標籤頁指示器的每條邊放在不同的彈簧上,讓它拉伸

縮放相機,讓每個狀態都填滿畫面

讓最後一幀等於第一幀,這樣整段就能循環
</motion>

<export> 
先按每一拍渲染一幀,拼成一張總覽圖

修掉任何擁擠或斷裂的地方

然後用無頭 Chrome 以 60fps 渲染每一幀,每幀平均 6 個子幀來生成運動模糊

通過管道送入 ffmpeg:
H.264 + yuv420p

並行導出所有畫幅比例
</export>

動態設計正在變成一段提示詞

溯源

原作者
verbove
發佈日期
2026-09-25(由推文 ID 反解)
原始出處
查看原帖 ↗
收錄來源
yihui-dev/awesome-opus5-5-videos · verbove-268381 · MIT