Hyperframes music to video

From oyi77/1ai-skills · View interactive version

Hyperframes music to video is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when turning a music track into a beat-synced video with lyrics or slides. 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.

How to use this skill

Skill file

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

When NOT to Use

Workflow

1 · Resolve the audio

Three input paths:

2 · Map the beat structure

Listen (or analyze) for sections:

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

3 · Plan scenes to sections

Each musical section gets a visual treatment:

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

| Rationalization | Reality |

|----------------|---------|

| "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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.