Communitygithub.com

品牌循環液體背景

製作一個無縫循環的背景影片,內容為在品牌色調中的光澤3D液體融合體,適用於網頁、簡報或品牌展示。

品牌循環液體背景 是什麼?

這個技能能夠自動生成一個無縫循環的動態背景影片,內容是兩組不同顏色的光澤3D液體滴(metaballs)在零重力環境中緩慢浮動、融合與分裂,類似水銀般的效果。影片以柔和的灰白色工作室背景為底,帶有暖色漸層、微弱的漣漪環、柔和陰影與淺景深。使用者只需提供品牌色系(可從標誌提取或直接指定十六進制色碼),腳本便會建構整個 Blender 場景並渲染出 H.264、HEVC 10-bit 及 1080p 三種格式的 4K 60fps 影片,且最後一幀與第一幀完美銜接。支援 Blender 4.2+ 與 EEVEE 渲染器,並內建預覽與無縫檢測功能,適合設計師、行銷人員或開發者快速產出品牌背景素材。

相容平台~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 中建構整個場景並進行渲染:

  • 液滴: 兩組 metaballs,每組只與同組融合。它們具有光澤且似液體,帶有會隨液滴壓扁變化的雙色調色彩。
  • 背景: 暖色灰白牆面,中心有漣漪環擴散,每個循環產生兩次。
  • 燈光: 橢圓形主光搭配柔和陰影,外加僅反射的柔光箱來營造液體光澤。
  • 攝影機: 50 mm 鏡頭,光圈 f/2,產生淺景深效果。

所有動作皆為整數週期的正弦波,因此第 N 幀與第 0 幀完全相同。畫面中央保留空白,可在上方放置標誌或標題。影片不含文字與音效。

系統需求:Blender 4.2+ 搭配 EEVEE(已在 Apple Silicon GPU 上的 5.2 版測試),以及支援 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-bit 格式,漸層最平滑,適合後期剪輯。
  • -1080p60-loop.mp4:適合網頁使用。
  • -still.png 及 -keyframes.png。

4. 檢查

  • 腳本會輸出無縫檢測結果。最後一幀與第一幀之間的 PSNR 應接近正常相鄰幀的 PSNR;若明顯偏低,則表示某些部分未達成週期性。
  • 檢視 -keyframes.png。
  • 告知使用者此循環影片無可見接縫,並提醒他們在播放器或剪輯軟體中開啟循環播放。

可調參數

以下參數可直接傳遞給 scene.py,透過編輯 loop.sh 中的 LOOK 陣列或直接執行 Blender 即可:

  • --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...

相關技能