Communitygithub.com

音乐转视频 — 节拍同步视频工作流

将一段音乐(音频文件、视频提取的音频或根据情绪提示生成的音轨)转化为节拍同步的视频——歌词视频、幻灯片或动态宣传片。音乐驱动所有节奏;用户提供的任何图片/视频都会按相同的节拍网格进行剪辑,即使没有任何素材也能生成完整的视频。

音乐转视频 — 节拍同步视频工作流 是什么?

本技能(music-to-video)是 HyperFrames 系统中的一个核心技能,专门用于将用户提供的音乐或自动生成的配乐转化为节拍同步的视频。它支持歌词视频、幻灯片和动态宣传片等多种输出格式,且无需用户提供任何额外素材(纯排版和模板即可完成)。技能的核心工作流程包括:从音频文件中提取节拍和能量分阶段(通过唯一的 analyze-beatgrid.py 分析器),将音轨切割成帧,为每一帧分配模板或运动原语,然后串联并渲染为最终的 MP4 视频。它支持用户上传的图片和视频,这些素材会自动同步到相同的节拍网格上。技能遵循严格的执行步骤(包括设置、分析、规划、构建、组装和渲染),并包含两个用户检查点(步骤3的规划审批和步骤6的渲染审批)。在自主模式下,规划阶段会自动通过,而渲染审批仍会向用户确认。技能还包含子代理(frame-worker),可并行构建每一帧,从而显著提高效率。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Elis3omndz/Claude_Skills/tree/HEAD/.claude/skills/music-to-video

在你喜欢的 AI 中提问

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

文档

插件安装: 在执行 setup 或 freshness 命令之前,请遵循 插件执行规则(当此技能是 HyperFrames 插件的一部分时)。独立安装则保留下面的更新说明。

首先,保持技能最新——与用户确认后再运行: npx hyperframes skills update music-to-video。如果一切为最新状态,它是一个快速的无操作命令;否则,在你依赖此技能及它所依赖的核心领域技能之前,它会先刷新它们。

music-to-video — 一个基于音乐、节拍同步的视频工作流

使用此技能将 音乐曲目 转化为节拍同步的 HyperFrames 视频。你只需分析一次音轨,规划帧布局,填充每帧的计划,然后将每帧构建为合成画面。输入是一段音乐,外加用户可选的图片或视频——没有旁白,也没有网页捕获。排版和模板是基础(一个完整的视频不需要任何素材);用户提供的任何媒体都会按相同的节拍网格被剪入。

你是协调者。在 videos/<project>/ 目录下工作。按顺序执行步骤,并通过每个关卡后再继续。有两个步骤需要用户:步骤 3(规划审批)和 步骤 6(渲染审批)——两者都是 checkpoint 关卡,详见 ../hyperframes/references/brief-contract.md(在步骤 0 之前阅读):在自主模式下,将步骤 3 的摘要作为通知发布并继续;步骤 6 的渲染审批仍需询问,因为它是唯一保留的用户确认点。自行完成所有步骤,步骤 4 除外,在该步骤中,你需要为每帧派发一个子代理。设计和动效规则不要放在此文件中——它们位于 references/ 和 frame-worker 子代理中。

SKILL_DIR = 此技能目录。PROJECT_DIR = videos/<project-name>/。

工作流程:步骤 0 设置 → hyperframes.json + assets/bgm.mp3;步骤 1 分析 → audiomap.json;步骤 2 骨架 → STORYBOARD.md(帧,组为 TBD);步骤 3 规划 → 完成 STORYBOARD.md + frame.md;步骤 4 构建 → compositions/frames/NN-*.html;步骤 5 组装 → index.html;步骤 6 渲染 → renders/video.mp4。(原文被截断,但标准流程如上所述)

Individual skills in this repo

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

Elis3omndz/Claude_Skills

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Elis3omndz/Claude_Skills

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Elis3omndz/Claude_Skills

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

Elis3omndz/Claude_Skills

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

Elis3omndz/Claude_Skills

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Elis3omndz/Claude_Skills

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

Elis3omndz/Claude_Skills

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

Elis3omndz/Claude_Skills

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

Elis3omndz/Claude_Skills

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

Elis3omndz/Claude_Skills

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

Elis3omndz/Claude_Skills

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

相关技能