Communitygithub.com

oyi77/1ai-skills

將音樂曲目轉換為節拍同步的 HyperFrames 影片 — 歌詞、幻燈片或動態促銷。當使用者提供音訊檔案、要從中提取音訊的影片,或提供生成音樂的情緒簡報時使用。音樂驅動節奏。教導節拍圖提取、基於段落的場景規劃和音訊響應式視覺效果。

1ai-skills 是什麼?

此技能為 AI 助手提供將音樂曲目生成節拍同步影片的端到端工作流程,利用 HyperFrames 組合框架。它能處理三種輸入:直接音訊檔案、從影片中提取音訊,或根據文字情緒簡報生成音樂。技能的核心是建立「節拍圖」—將音訊分為前奏、主歌、副歌和結尾等段落,然後將相應的視覺處理(如淡入、節奏爆發或靜止畫面)分配給每個段落。支援的輸出類型包括歌詞影片(文字與人聲同步)、節拍同步幻燈片(影像在節拍上切換)以及動態促銷(排版隨音樂脈動)。最終產出物為 MP4 檔案,所有動畫時間均錨定於節拍圖,確保精確同步。技能也明確記錄了何時不應使用(例如無音樂的影片或產品發布),並提供驗證檢查清單。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/oyi77/1ai-skills/tree/HEAD/content/hyperframes-music-to-video

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

概述

此技能可生成將音訊視覺化的影片——波形或節拍同步元素——使用 HyperFrames 組合從音樂檔案產生。當曲目需要配套視覺效果而無需手動編輯時使用。它從組合中渲染最終的 MP4。

HyperFrames — 音樂轉影片

音樂曲目 → 節拍同步的影片。歌詞、幻燈片或動態促銷。音樂驅動節奏。

使用時機

  • 使用者提供 音訊檔案 並希望為其製作影片
  • 使用者提供 要從中提取音訊的影片(音樂提取)
  • 使用者提供 情緒簡報(「用於產品發布的 upbeat lofi」)
  • 使用者想要 歌詞影片(文字與人聲同步)
  • 使用者想要 節拍同步幻燈片(影像在節拍上切換)
  • 使用者想要 動態促銷(排版隨音樂脈動)

不應使用時機

  • 使用者想要從 URL 進行產品發布(使用 hyperframes-product-launch-video)
  • 使用者想要談話頭影片(使用 hyperframes-talking-head-recut)
  • 使用者想要旁白/語音旁白(使用 hyperframes-faceless-explainer)
  • 不涉及音樂(使用 hyperframes-motion-graphics)

工作流程

1 · 解析音訊

三種輸入方式:

  • 提供音訊檔案: 使用 ffprobe 探查持續時間、BPM(估計或檢測)
  • 提供影片: 使用 ffmpeg -i input.mp4 -vn -acodec libmp3lame audio.mp3 提取
  • 情緒簡報: 透過 TTS/音樂模型生成,或從目錄 BGM 中選取

2 · 繪製節拍結構

聆聽(或分析)各個段落:

  • 前奏(0-8秒)→ 標題/建立
  • 主歌 → 內容/幻燈片
  • 副歌/高潮 → 高潮/動態巔峰
  • 結尾 → 行動呼籲/淡出

撰寫節拍圖:[{ time: 0, section: "intro" }, { time: 8, section: "verse" }, ...]

3 · 為段落規劃場景

每個音樂段落獲得一套視覺處理:

  • 前奏: 緩慢淡入,最小動態
  • 主歌: 平穩揭示,每 2-4 拍一個元素
  • 副歌: 最大能量——縮放爆發、顏色變化、快速切換
  • 橋段: 視覺喘息——靜止保持或慢速平移
  • 結尾: 解析至結束卡

4 · 建立組合

將每個動畫起始時間錨定到節拍圖。使用 CSS keyframes 或 GSAP,時間為與段落邊界匹配的絕對時間。

<div id="main" data-composition-id="music-video"
     data-start="0" data-duration="60" data-width="1080" data-height="1920" data-fps="30">
  <div class="clip chorus-hit" data-start="32" data-duration="8" data-track-index="1">
    <h1 class="lyric-line">副歌歌詞於此</h1>
  </div>
  <audio data-start="0" data-duration="60" src="./track.mp3"></audio>
</div>

5 · 渲染

npx hyperframes render --output music-video.mp4

驗證同步:在段落邊界抽樣畫面,確認視覺變化落在節拍上(±2 畫面容差)。

反合理化表

合理化現實
「我將憑感覺定時」先建立節拍圖——每個場景錨定到段落時間
「我將全程使用相同能量」副歌比主歌更強烈——動態很重要
「我將跳過音訊探查」持續時間/BPM 不匹配會破壞整個渲染
「我將根據牆上時鐘做動畫」所有動畫可搜尋——組合中使用絕對時間

驗證

  • 音訊已解析(檔案、提取或生成)
  • 已撰寫帶有段落邊界的節拍圖
  • 每個段落有獨特的視覺處理
  • 動畫時間與節拍圖匹配(±2 畫面)
  • 輸出持續時間與音訊持續時間匹配
  • 副歌/高潮在視覺上與主歌有區別

Individual skills in this repo

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

oyi77/1ai-skills

Turn a weekly changelog .md into a finished branded changelog video using HyperFrames. Use when the user provides a changelog/digest markdown and wants the weekly video, or says 'changelog video'. Self-contained — fonts, background, lexicon, and scripts ship in the skill. Produces square 1080, ~45-60s videos with animated brand mock-UIs.

oyi77/1ai-skills

The transition technique catalog for HyperFrames videos — five velocity-matched SEAMS (zoom-through, inverse zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus in-scene techniques (waterfall entry, nudge curve). Covers partial-travel velocity matching, Z scale-sign rule, size-scaled blur, the 10/65/25 slide ratio, and the 2-3 transition budget. Read before authoring any transition, text-beat handoff, or kinetic text entry.

oyi77/1ai-skills

Add captions/subtitles to talking-head or launch videos using HyperFrames. Use when the user wants embedded captions, verbatim caption rails, or cinematic text behind the subject. Covers the drop/rail/embed caption model, the overlay law (captions are NOT a reserved band), matte occlusion for embedded climaxes, and word-timestamp alignment from TTS output.

oyi77/1ai-skills

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video using HyperFrames. Use when the user wants a topic explainer, concept breakdown, how-to, or listicle with no product/website to capture. Every visual is invented per scene (typography, abstract graphics, diagrams, data-viz). Not a video built from a website (use hyperframes-product-launch-video).

oyi77/1ai-skills

The fallback HyperFrames workflow for anything that doesn't fit other skills — longer multi-scene pieces, brand/sizzle reels, title cards, static loops, freeform compositions. Input- and length-agnostic. Also the home of companion mode (co-create with the full toolbox). Use when no other HyperFrames skill matches, or when the user wants a freeform video.

oyi77/1ai-skills

Create short, unnarrated, design-led motion graphics (~under 10s) using HyperFrames. Use when the user wants kinetic type, stat/chart hits, logo stings, lower-thirds, animated tweets/headlines, or transparent overlay motion graphics. MP4 or transparent overlay output. Teaches seek-safe keyframe authoring and the 2-3 transition budget rule.

oyi77/1ai-skills

Create product launch videos from a URL, brief, or script using HyperFrames (HTML→MP4). Use when the user wants a product launch video, site tour, social clip featuring a product's own visuals, or marketing/promoting a product. Up to ~3 min (sweet spot 30-90s). Teaches the HyperFrames production loop: plan → write HTML → wire seekable animations → add media → lint → preview → render.

oyi77/1ai-skills

The Video Production Manager — manages ALL video production under 1ai-content. Delegates to HyperFrames, Remotion, AI video, and FFmpeg based on the task. Has memory via 1ai-hub brain, follows 1ai-rules, and reports to Content Director. Use when the user says 'make a video', 'create video', 'edit video', 'video strategy', or needs any video production work.

oyi77/1ai-skills

Agent skill at content/video/gen/SKILL.md

oyi77/1ai-skills

Use when track portfolio company KPIs, variances, returns analysis. Use when user says "monitor portfolio", "track KPIs", "portfolio returns".

oyi77/1ai-skills

Use when go-to-market planning — launch sequencing, channel strategy, audience building, PR outreach. Use when planning product launches, building launch checklists, or coordinating multi-channel campaigns.

oyi77/1ai-skills

Use when portfolio manager — capital allocation, risk management, and performance metrics tracking for trading strategies.

相關技能