Skip to content
Skillpedia
Audio & voice75k Β· #2665

hyperframes-media

What it does

This skill creates the audio and media a HyperFrames video needs. It is for video makers who need narration, music, sound effects, transcripts, or captions.

When to use it

  • βœ“When your video needs a voiceover, background music, or sound effects.
  • βœ“When you need a transcript or captions made from audio.
  • βœ“When you want to remove the background from an image or video clip.

Skill link

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-media/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-media/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œAdd a voiceover, background music, and a whoosh sound to my video, and make captions from the narration.”

5 new skills a week. 1 minute to read.

How it works

The agent writes a request file and runs one audio tool, which creates the voice, music, and effects. It can use a HeyGen account when one is set up, or free local options when not.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

HyperFrames Media

Create the audio and media assets a composition needs β€” voiceover (TTS), background music + sound effects, transcription, captions, background removal β€” then consume and animate that data in HTML. For placing assets into compositions, see hyperframes-core.

The audio engine β€” one source for TTS Β· BGM Β· SFX

Workflows do NOT hand-roll audio or vendor a copy. There is one engine β€” scripts/audio.mjs β€” that takes a neutral audio_request.json and writes audio_meta.json (plus assets under assets/voice|bgm|sfx):

# <MEDIA_DIR> = this skill's directory
node <MEDIA_DIR>/scripts/audio.mjs --request ./audio_request.json --hyperframes . --out ./audio_meta.json

All three capabilities degrade on ONE switch β€” whether a HeyGen credential is present (resolved from $HEYGEN_API_KEY / $HYPERFRAMES_API_KEY / ~/.heygen, not the CLI):

Capability HeyGen credential present absent
TTS HeyGen Starfish REST (native word timestamps) β†’ ElevenLabs β†’ Kokoro (chain transcribe for words)
BGM HeyGen music retrieval Lyria β†’ MusicGen local generation (detached)
SFX HeyGen sound-effects retrieval (min_score 0.4) bundled 21-file library (assets/sfx/)
  • Request (audio_request.json): { provider?, lang?, speed?, lines: [{ id, text, sfx?: [names] }], bgm: { mode?, query?, prompt? } }. id joins each line back to the caller's model (a frame number, a scene id, …). bgm.mode = retrieve | generate | none; omit for auto (retrieve when credentialed, else generate). An explicit retrieve is strict β€” it skips rather than starting a detached generate (for callers with no wait-bgm step).
  • Output (audio_meta.json, id-keyed): { tts_provider, voice_id, bgm, bgm_pending, …, voices: [{ id, path, duration_s, words }], sfx: [{ id, name, file, source, offset_s, duration_s, volume }], total_duration_s }.
  • --only tts,bgm,sfx runs a subset and merges into an existing --out (e.g. TTS+BGM early, SFX once cues exist).
  • BGM generate is spawned detached (bgm_pending: true) β€” run scripts/wait-bgm.mjs before assembling.
  • scripts/heygen-tts.mjs is a single-shot CLI over the same code (one text β†’ wav + words) for when you just need HeyGen TTS without a request file.

Full flag list + the audio_meta.json schema live in the header of scripts/audio.mjs. The references below cover the provider details and edge cases behind each capability.

Preflight β€” show sign-in status before any audio

Always run this before generating voice or BGM β€” inside a full workflow or a one-off "generate me a BGM/voiceover" request. No HeyGen credential is not a reason to silently fall back to local engines: first recommend signing in and let the user decide. Run the shared preflight and relay its output verbatim β€” don't improvise your own "missing key" prompt, and don't offer to write keys into a per-repo .env:

npx hyperframes auth status
  • Signed in β†’ it prints the account; proceed.
  • Not signed in (exit 1 is expected here β€” "not signed in" is a normal state, not a failure) β†’ it prints registration-first guidance. Recommend signing in: npx hyperframes auth login is browser OAuth β€” it signs in and creates an account (always available through this repo's CLI). To use an existing HeyGen API key (from app.heygen.com/settings/api), run npx hyperframes auth login --api-key β€” it saves to the shared ~/.heygen (no per-repo .env). The output also lists the local engines voice/BGM will fall back to and a pip hint when deps are missing. Relay this output as-is β€” don't paraphrase it into your own wording. Then STOP and wait for the user to choose β€” sign in, or say "go" / "local" to continue offline β€” before generating anything. This is a real decision point, not a passing note: don't fold it into another question, and don't proceed past it on your own. (Exception: in autonomous / non-interactive mode, note the status and continue offline.)
  • npx hyperframes auth status --json returns { configured, recommended_action, offline_engines } for deterministic branching.
  • If the CLI can't run (not on PATH and npx can't fetch it) β†’ s
FAQ

Do I need a HeyGen account?

No. Without one, the skill uses free local options such as ElevenLabs or Kokoro for voice.

Are the audio files saved in my project?

Yes. Each asset is saved in the project with a record of its details.

Can it make captions?

Yes. It can transcribe the narration and use the result for captions.

Details

Original description by the author

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) β€” multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

repo: calesthio/OpenMontage

Popularity

GitHub stars
75k
Ranking position
#2665
License
AGPL-3.0
Updated
10/28/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills