Communitygithub.com

oyi77/1ai-skills

Turn a music track into a beat-synced HyperFrames video — lyric, slideshow, or kinetic promo. Use when the user provides an audio file, a video to pull audio from, or a mood brief for generated music. Music drives pacing. Teaches beat-map extraction, section-based scene planning, and audio-reactive visuals.

O que é 1ai-skills?

1ai-skills is a Claude Code agent skill that turn a music track into a beat-synced HyperFrames video — lyric, slideshow, or kinetic promo. Use when the user provides an audio file, a video to pull audio from, or a mood brief for generated music. Music drives pacing. Teaches beat-map extraction, section-based scene planning, and audio-reactive visuals.

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Overview

This skill generates a video that visualizes audio — waveform or beat-synced elements — from a music file using a HyperFrames composition. Use it when a track needs a companion visual without manual editing. It renders the final MP4 from the composition.

HyperFrames — Music to Video

A music track → a beat-synced video. Lyric, slideshow, or kinetic promo. Music drives pacing.

When to Use

  • User provides an audio file and wants a video for it
  • User provides a video to pull audio from (music extraction)
  • User provides a mood brief ("upbeat lofi for product launch")
  • User wants a lyric video (words synced to vocals)
  • User wants a beat-synced slideshow (images changing on beats)
  • User wants a kinetic promo (typography pulsing with the track)

When NOT to Use

  • User wants a product launch from a URL (use hyperframes-product-launch-video)
  • User wants a talking-head video (use hyperframes-talking-head-recut)
  • User wants narration/voiceover (use hyperframes-faceless-explainer)
  • No music involved (use hyperframes-motion-graphics)

Workflow

1 · Resolve the audio

Three input paths:

  • Audio file provided: probe with ffprobe for duration, BPM (estimate or detect)
  • Video provided: extract with ffmpeg -i input.mp4 -vn -acodec libmp3lame audio.mp3
  • Mood brief: generate via TTS/music model, or pick from catalog BGM

2 · Map the beat structure

Listen (or analyze) for sections:

  • Intro (0-8s) → title/establishing
  • Verse → content/slideshow
  • Chorus/Drop → climax/kinetic peak
  • Outro → CTA/fade

Write a beat map: [{ time: 0, section: "intro" }, { time: 8, section: "verse" }, ...]

3 · Plan scenes to sections

Each musical section gets a visual treatment:

  • Intro: slow fade-in, minimal motion
  • Verse: steady reveals, one element per 2-4 beats
  • Chorus: maximum energy — scale bursts, color shifts, rapid cuts
  • Bridge: visual breather — static hold or slow pan
  • Outro: resolve to end card

4 · Build the composition

Anchor every animation start time to the beat map. Use CSS keyframes or GSAP with absolute times matching section boundaries.

<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">CHORUS LYRIC HERE</h1>
  </div>
  <audio data-start="0" data-duration="60" src="./track.mp3"></audio>
</div>

5 · Render

npx hyperframes render --output music-video.mp4

Verify sync: sample frames at section boundaries, confirm visual changes land on beats (±2 frames tolerance).

Anti-Rationalization Table

RationalizationReality
"I'll eyeball the timing"Beat map first — every scene anchored to section times
"I'll use the same energy throughout"Chorus hits harder than verse — dynamics matter
"I'll skip the audio probe"Duration/BPM mismatch breaks the whole render
"I'll animate to wall-clock"All animations seekable — absolute times in composition

Verification

  • Audio resolved (file, extracted, or generated)
  • Beat map written with section boundaries
  • Each section has a distinct visual treatment
  • Animation times match beat map (±2 frames)
  • Output duration matches audio duration
  • Chorus/climax is visually distinct from verse

Individual skills in this repo

This repo contains 9 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

Habilidades Relacionadas