Communitygithub.com

品牌循环(无缝液态背景)

制作一个无缝循环的背景视频,展示品牌色彩的光滑3D液态水珠,在柔和的米白色布景中缓慢漂浮。

品牌循环(无缝液态背景) 是什么?

该技能利用Blender的EEVEE渲染器,生成品牌专属的无缝循环液态水珠背景视频。它通过数学上精确的正弦运动周期(每循环整数周期)确保第N帧与第0帧完美一致,实现无缝循环。用户只需提供品牌标志或十六进制颜色值,脚本即可自动提取配色方案,生成冷色系和暖色系两族互不混合的光滑金属质感水珠,它们像水银一样在零重力中缓慢漂浮、合并、分离。视频输出包含4K 60fps(H.264/HEVC 10-bit)和1080p 60fps等多种格式,且内置断点续传功能。该技能适用于网站背景、持续画面、活动屏幕或演示文稿等场景,为品牌提供高质感、免版权、可定制的循环动态背景。支持macOS/Linux(需Blender 4.2+、FFmpeg及libx264/libx265)。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/chydevit/Skill-create-videos/tree/HEAD/plugins/video-skills/skills/brand-loop

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

品牌循环(无缝液态背景) 是做什么的?

scripts/scene.py 在 Blender 中构建整个场景并渲染:

  • 水珠: 属于两族的元球,仅与自身融合。表面光滑、具液态质感,双色调色彩随每个水珠的挤压变化。
  • 背景: 暖米白色墙壁,中心向外扩散的涟漪环,每循环两个。
  • 灯光: 椭圆形主光,带柔和阴影,外加用于液态光泽的反射柔光箱。
  • 相机: 50 mm 镜头,f/2 光圈,营造浅景深效果。

每个运动都是每循环完整周期的正弦波,因此第 N 帧与第 0 帧完全一致。画面中央保留空白位置,用于放置标志或标题。视频不包含文字和声音。

要求:Blender 4.2+(自带 EEVEE,已在 5.2 版本、Apple Silicon GPU 上测试),以及支持 libx264 和 libx265 的 ffmpeg。

工作流程

1. 颜色

冷色系使用 5 种深浅不同的色调(从深到浅)用于大水珠。暖色系使用 3 种色调用于点缀水珠。可以通过以下两种方式获取:

  • 从标志提取: python3 scripts/palette.py logo.png 会打印其主要颜色以及建议的 --cool/--warm 组合。也可以直接将 --logo logo.png 参数传递给 loop.sh。
  • 从品牌十六进制值: 颜色数量较少也可以,因为脚本会进行插值。

确保两族颜色有明显区别,例如蓝色与橙色,或青色与珊瑚色。混合颜色会在水珠合并处变成灰色,因此保持分离。--paper "#fcfbf8,#f2eae0" 设置背景的中心和角落颜色。

2. 预览(约 1 分钟)

<skill>/scripts/loop.sh --name acme --cool "#0b3d91,#1565c0,#1e88e5,#42a5f5,#80d8ff" --warm "#ff6f00,#ffa000,#ffca28" --preview

查看 <name>/<name>-preview.png,它展示了整个循环中六个瞬间的画面,并检查:

  • 颜色是否准确体现品牌色调。
  • 背景不是灰色。
  • 两族颜色从未相互切入。

3. 渲染(时间长:请在后台运行)

<skill>/scripts/loop.sh --name acme --cool ... --warm ...            # 4K 60 fps, 10 秒
<skill>/scripts/loop.sh --name acme --res 1920x1080 ...              # 1080p, 约快 4 倍

在 M1 Pro 上,一个 10 秒的 4K60 循环大约需要 95 分钟(600 帧,每帧约 9.5 秒,使用 2 个 Blender 进程),1080p 大约需要 25 分钟。如果渲染中断,它会从停止处继续渲染。除非传递 --keep-frames,否则帧在编码后会被删除。

输出在 <name>/ 目录中:

  • <name>-4k60-loop.mp4:H.264 编码,可在所有播放器播放。
  • -loop-hevc10.mp4:10 位编码,渐变最平滑,适用于后期剪辑。
  • -1080p60-loop.mp4:适用于网络。
  • -still.png 和 -keyframes.png。

4. 检查

  • 脚本会打印 无缝检查 结果。最后一帧与第一帧之间的 PSNR 值必须接近正常相邻帧的 PSNR 值;如果远低于正常值,则说明某些部分不是周期性的。
  • 查看 -keyframes.png。
  • 告知用户视频是无缝循环的,并提醒他们在播放器或编辑器中开启循环播放。

调节参数

可以通过编辑 loop.sh 的 LOOK 数组或直接运行 Blender,将以下任意参数传递给 scene.py:

  • --key、--fill 和 --wash:光照强度。
  • --emit 和 --world:背景亮度。
  • --ringamt 和 --ringbump:涟漪强度。
  • --fstop:模糊程度(值越小越模糊)。
  • --glow:水珠鲜艳度。
  • --dur:循环长度;在任何长度下运动都保持周期性。

水珠的布局、大小和路径由 scene.py 中的 BLOBS 列表控制。位置单位为米,对焦平面上的画幅尺寸为 0.864 × 0.486 米。移动水珠后,请检查两族水珠之间的距离是否始终大于它们各自的尺寸之和。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

brand-promo

Make a ~50-second dark, kinetic studio showreel / promo video from a brand's own videos, its logo animation and a few lines of text. It has a typed intro, a ring of 3D cards, a glitchy title drop, and 3-5 spotlights (each work on a tilted card or a phone, playing its own sound). Then "Your story… next.", a 3D rush of clips, and the liquid logo reveal with the name, chips and website. It comes with an original synthesised score, narration (VoxCPM2, English or Khmer) and sound effects, as a 1080p60 MP4. Use it whenever the user wants a showreel, studio reel, portfolio video, agency or brand promo, "demo video" of their work, a promo like a template video, or a Khmer version of one, or types /brand-promo, even if they only hand over a few videos and a logo.

generate-logo

Turn any logo image (PNG, JPG, WebP or SVG) into finished 5-second animated logo reveals in five styles (liquid, neon, bounce, lens, rise). Each comes as a 1080p60 MP4 with synthesised sound effects, a transparent WebM (optional ProRes 4444 .mov) for video editors, and a keyframe sheet. It can add a two-tone wordmark, render square or vertical versions for social media, and build a bespoke style for a particular logo. Use it whenever the user wants a logo animation, animated logo, logo reveal, intro, outro or sting, motion logo, a brand intro for a video, or "make my logo move", or types /generate-logo, even if they only attach a logo and say "animate this".

portfolio-reel

Make a ~30-second creator / freelancer / developer portfolio intro reel (1080p60 MP4) in one fixed, friendly motion-design style (template "skill 2"). A mustard-yellow gradient asks a hook question ("Looking for a … Video editor?"), a white circle wipes to a profile hero (round avatar, badge pill, "Hello, I'm …", roles split by bars, a black "Here's my work ↑" button). The page then scrolls through 1-4 work sections on light grey with window-light shadows, each a title plus 1-3 rounded cards playing the user's own clips or showing their pictures. A yellow light wipe brings two closing lines, then a black social profile card pops up with counting stats, a cursor clicks Follow (it turns into Following) and the card flips in 3D to its back. Two UIs: "classic" (the template) and "app" (a search bar that types the hook and opens a results dropdown, a bento dashboard of glass tiles, a carousel of browser and phone mockups, a chat screen for the closing lines, and a profile card with a co...

saas-promo

Make a kinetic SaaS / startup / product / developer promo video (1080p60 MP4) in one fixed, fast motion-design style: an ~11-second teaser, or a ~50-second version with chapters (one per product or project) cut on the beat of the user's own song. It opens with glyph flashes and purple/lime neon shapes, then types a word with a cursor while a 3D swirl of your screenshots orbits it. Cards slide onto a painted meadow and build a bento wall with words typing inside them, and the camera zooms into a card. A glowing gradient orb then reveals the headline word by word, and a glitch drops into a long-exposure flower on a blue-to-orange sky with flying symbols and "From … / To …". Every frame is drawn in code, with typing, whoosh, riser and impact sound effects and a synthesised ambient bed or your own song (its tempo and drop are measured, so every cut lands on the beat), mixed to -14 LUFS. English or Khmer. Use it whenever the user wants a SaaS promo, product or app teaser, a developer or...

相关技能