OpenZhenZhen AI 提示词画廊 · Claude Opus 5.5 · video
纯代码生成的UI动效展示
UI Motion Effects Generated Purely with Code
作者用 Opus 5.5 完全用代码生成了一段 UI 动效视频,没有使用 After Effects,并公开了用于制作该作品的完整可复用提示词模板。 原作需要参考素材;请自行准备图片、视频、音频、文档或代码库等输入。

提示词 / Prompt
English prompt
<inputs> Ask me for: 8 to 12 UI states the shape should turn into (e.g. button, loader, player, slider, toggle, tabs, chart, command palette, toast), a pure black-and-white palette or one accent color, and a royalty-free track around 120 BPM (e.g. from Mixkit, free for commercial use). </inputs> <direction> Dribbble-level UI motion. One shape, no cuts: each state is the same element changing size, radius and color, while its content swaps with a quick blur. A cursor triggers every change through actual clicks and drags. Use a light warm-gray canvas, black-and-white components and one clean UI font (Geist). Springs throughout, with only a slight overshoot. Zoom the camera so each state fills the frame. Match the final frame to the first for a seamless loop. Banned: bouncy easing, particle bursts, glows, gradients on UI chrome, inconsistent icon strokes, dead time, anything that feels like a template. </direction> <structure> 120 BPM, 7 bars, with an action on every beat. Button → loader → check → dynamic island → music player with a play/pause morph → scrub the progress bar → it turns into a volume slider that stretches when dragged past max → a toggle switches on the beat → its knob becomes a liquid tab indicator → the tabs expand into a chart that draws itself, with a tooltip on hover → it folds into ⌘K → type to filter → enter → toast → back to the button. </structure> <build> 1. One HTML file, square 1440x1440. Compute every style from time inside seek(t): no CSS transitions, timers or state carried between frames. 2. Use closed-form step responses for springs. If a value changes target multiple times, add one spring for each change so it remains a pure function of time. 3. Give the tab indicator’s two edges separate springs, letting the leading edge stretch ahead of the trailing one. Use the same approach for the toggle knob. 4. Make drags direct: while the cursor is held down, calculate the value from its position. On release, spring back from that position. 5. Analyze the song with numpy to find the beat grid and begin on a downbeat. Position each UI sound using its measured peak. 6. Render with Playwright: 4 subframes per frame, blended with ffmpeg tmix for motion blur at 60fps. 7. Render one frame per beat before the full render. Fix anything off-grid, cramped or difficult to read. </build> <gotchas> Don’t use will-change on anything the camera scales, or the text will look blurry. Text swapping inside a morphing container needs separate enter and exit timing to avoid overlap. Make the final frame identical to the first including cursor position and speed or the loop will stutter. </gotchas> <start> Ask me for the inputs, then show me the state list on the beat grid before writing any code. </start>
主题与风格
探索更多图片和视频提示词 · 生成图片 · 生成视频 · 在 AI 画布中创作
相关作品
- 谁叫你这么运镜的
https://www.runninghub.ai/zh-cn/ai-detail/2109209394184478722/?inviteCode=rh-v1256 一键复刻
- 哈士奇111
subject_definitions: <Subject 1> 是本片唯一的宠物主角 — FACE from <Picture 1>(哈士奇雪橇犬,冰蓝色眼睛,黑色鼻头,黑白双色、头顶黑色面罩纹、灰黑鞍部、白脸白胸白四肢,蓬松双层毛、体态骨架匀称结实,气质活泼)。只参考 <Picture 1> 的外观(五官、毛色、花纹、体型),不使用 <Picture 1> 的背景、场景与构图;视频全程保持与 <Picture 1> 外观完全一致。 summary: [reference generation] 0-5s 静谧微距张力;5-9s 爪部微距切全景;9-15s 摇臂升空+逆光剪影谢幕。主角全程
- 哈士奇
subject_definitions: <Subject 1> 是本片唯一的宠物主角 — FACE from <Picture 1>(哈士奇雪橇犬,冰蓝色眼睛,黑色鼻头,黑白双色、头顶黑色面罩纹、灰黑鞍部、白脸白胸白四肢,蓬松双层毛、体态骨架匀称结实,气质活泼)。只参考 <Picture 1> 的外观(五官、毛色、花纹、体型),不使用 <Picture 1> 的背景、场景与构图;视频全程保持与 <Picture 1> 外观完全一致。 summary: [reference generation] 0-4s 鼻头超微距视觉钩子;4-9s 变速极速拉出+3D环绕;9-15s 0.4x呼吸感定格
- 西格玛男人修仙
用了吃猪侠那个跑30秒的工作流 所以可以跑20秒视频
- 女孩真人感测试
**【参考图像锚定】** 图像 1 是 [年轻女性],保留参考图中的面部特征、精致妆容、浅金色长直发与空气刘海、简约白色上衣、脖颈细金链与小巧金坠吊坠,及整体外貌。人物仅锚人物本身,场景按下文文字重建,不得沿用图内任何构图或背景细节。 **【分镜】** **人物初始站位与空间关系**:夜晚路灯下,她站在街边一盏路灯正下方偏前的位置,手持手机以真实前置摄像头自拍视角拍摄,画面从胸以上的中近景开始,镜头随她的手持动作运动。头顶路灯洒下柔和的暖白光池,从上方偏正前照亮她的脸 —— 额头、鼻梁、颧骨受光,鼻下与眼窝投下朝下的柔影;浅金发顶和颊边碎发被灯光勾出一圈暖色轮廓光,发丝末梢泛一点暖亮的金;
- H3单采,7秒打斗测试
integrated_multimodal_description: (本段为极度硬核的高速CG兵器交锋。禁用2D动漫渲染。画面中只有加雷斯和洛恩两人。加雷斯在连续攻击中开口嘲讽,洛恩全程嘴唇紧闭死扛。) [Shot1] 0-2.5s, Unreal Engine 5 render, hyper-realistic, fast-paced sword fight, dynamic camera tracking. A muscular man in heavy red-black iron armor (Gareth) swings a massive greatsword downward