Communitygithub.com

DigitalRavagers/Experiment

Prétraitement d'actifs pour compositions HyperFrames — TTS multi-fournisseurs (HeyGen / ElevenLabs / Kokoro local), BGM multi-fournisseurs (Google Lyria / MusicGen local), transcription Whisper, suppression d'arrière-plan et création de sous-titres. Utilisation : npx hyperframes tts, bgm, transcribe, remove-background, sélection voix/fournisseur, suggestions d'ambiance musicale, sous-titres / paroles / karaoké / style mot par mot.

Qu'est-ce que Experiment ?

Cette compétence, DigitalRavagers/Experiment (incluse dans HyperFrames Media), fournit les commandes CLI nécessaires à la création d'actifs multimédia pour les compositions HyperFrames. Elle prend en charge la synthèse vocale (TTS) avec plusieurs fournisseurs (HeyGen, ElevenLabs et Kokoro-82M local, détectés automatiquement via les variables d'environnement), la génération de musique de fond (BGM) via Google Lyria ou MusicGen local, la transcription audio avec Whisper, la suppression d'arrière-plan, et la création avancée de sous-titres (y compris le karaoké, les effets mot par mot et la détection de style). Son utilité principale pour un développeur est de rationaliser le pipeline de production multimédia — du texte à la parole, de la musique de fond à la transcription synchronisée — sans nécessiter de configuration manuelle complexe. La compétence fonctionne avec `npx hyperframes` et s'intègre parfaitement avec les références détaillées pour chaque sous-commande (tts, bgm, transcribe, remove-background, captions). Elle impose des règles strictes (comme l'utilisation de l'option `--model` pour la transcription et la spécification du fournisseur avec `--voice`) pour éviter les erreurs courantes et garantir une sortie cohérente. Les chaînes de fournisseurs sont prioritaires selon les clés API disponibles, et des scripts autonomes (comme `scripts/heygen-tts.mjs`) permettent de contourner les limitations de la CLI.

Compatible avec~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/DigitalRavagers/Experiment/tree/HEAD/.agents/skills/hyperframes-media

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

HyperFrames Media

Commandes CLI qui créent des actifs (tts, bgm, transcribe, remove-background), ainsi que tout ce qui est nécessaire pour consommer et animer des données de transcription en HTML. Pour placer des actifs dans des compositions, voir hyperframes-core.

Chaînes de fournisseurs (détectés automatiquement depuis l'environnement)

TTS — npx hyperframes tts "..." choisit le premier fournisseur disponible :

OrdreFournisseurDétecté quandHorodatages des mots
1HeyGen (Starfish)$HEYGEN_API_KEY / hyperframes auth loginOui, natifs — passer --words narration.words.json pour capturer
2ElevenLabs$ELEVENLABS_API_KEY définiNon — chaîner transcribe après
3Kokoro-82M (local, 54 voix)toujours (aucune clé requise)Non — chaîner transcribe après

Si le hyperframes tts installé est la version locale uniquement (son --help affiche "Kokoro-82M" et n'a pas les options --provider/--words), il revient silencieusement à Kokoro même avec $HEYGEN_API_KEY défini. Pour forcer HeyGen indépendamment de la version CLI, utilisez le script autonome scripts/heygen-tts.mjs (voir references/tts.md).

BGM — npx hyperframes bgm --duration N :

OrdreFournisseurDétecté quand
1Google Lyria (RealTime)$GEMINI_API_KEY ou $GOOGLE_API_KEY défini
2MusicGen (facebook/musicgen-small, local)Python transformers + torch + soundfile installé

Remplacez l'un ou l'autre avec --provider <nom>.

Routage

TâcheLire
npx hyperframes tts — chaîne de fournisseurs, IDs de voix, words.jsonreferences/tts.md
HeyGen sans CLI — script REST autonome (wav + mots)scripts/heygen-tts.mjs (voir references/tts.md)
npx hyperframes bgm — Lyria vs MusicGen, suggestions d'ambiance, réglagereferences/bgm.md
npx hyperframes transcribe — Whisper, règles de modèle, forme de sortiereferences/transcribe.md
npx hyperframes remove-background — découpes transparentesreferences/remove-background.md
TTS → transcription → sous-titres (sans voix off enregistrée)references/tts-to-captions.md
Création de sous-titres — détection de style, disposition, regroupement de mots, sortiereferences/captions/authoring.md
Gestion des transcriptions — formats d'entrée, contrôles de qualité, nettoyage, APIreferences/captions/transcript-handling.md
Animation des sous-titres — karaoké, effets de marqueur, réactif à l'audioreferences/captions/motion.md
Caches de modèle, dépendances système, dépannagereferences/requirements.md

Règles non négociables

  • Les IDs de voix sont spécifiques au fournisseur. am_michael est réservé à Kokoro ; les UUID de HeyGen ne fonctionnent pas sur Kokoro. Si vous passez --voice, fixez également --provider pour éviter une dérive silencieuse de fournisseur lorsque l'environnement de l'utilisateur change.
  • Passez toujours --model à transcribe. La valeur par défaut small.en traduit silencieusement l'audio non anglais. Voir references/transcribe.md → "Règle de langue".
  • HeyGen renvoie les horodatages des mots ; ElevenLabs / Kokoro non. Lorsque vous souhaitez des sous-titres, soit passez --words à HeyGen et utilisez ce JSON directement, soit exécutez transcribe sur le fichier audio. Ne supposez pas que les données de mots sont toujours présentes.
  • Les sous-titres consomment le format plat du tableau de mots avec { id, text, start, end }. Voir references/transcribe.md → "Forme de sortie".
  • remove-background --background-output est un trou découpé, non un inpainting. Pour "scène sans la personne", un outil différent est nécessaire. Voir references/remove-background.md → "Quand ce n'est PAS le bon outil".

Individual skills in this repo

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

DigitalRavagers/Experiment

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' 'sharpen the messaging,' 'refresh this content,' 'update this page,' 'this content is outdated,' or 'content audit.' Use this when the user already has copy and wants it improved or refreshed rather than rewritten from scratch. For writing new copy, see copywriting.

DigitalRavagers/Experiment

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

DigitalRavagers/Experiment

Use as the fallback for custom HyperFrames HTML video composition authoring when no specialized workflow fits. Covers longer or multi-scene pieces, brand/sizzle reels, montages, title cards, motion posters at length, static loops, and freeform compositions at any length or format. Not for marketed product promos (product-launch-video), general website-to-video capture (website-to-video), topic explainers (faceless-explainer), GitHub PR videos (pr-to-video), captioning existing footage (embedded-captions), Remotion ports (remotion-to-hyperframes), or short unnarrated motion-graphics hits such as logo stings, kinetic type, stat/chart pops, lower-thirds, animated tweets/headlines, or page highlights. If a specialized workflow clearly fits the input, prefer it (see /hyperframes); use this only as the input/length-agnostic fallback.

DigitalRavagers/Experiment

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). HyperFrames-native: single paused timeline, seek-safe, deterministic.

DigitalRavagers/Experiment

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

DigitalRavagers/Experiment

HyperFrames HTML composition contract. Use for composition structure, data attributes, clips, tracks, sub-compositions, variables, media playback, deterministic render rules, and validation of minimal renderable projects.

DigitalRavagers/Experiment

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`.

DigitalRavagers/Experiment

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DigitalRavagers/Experiment

READ THIS FIRST — the HyperFrames entry skill. START HERE for any request to make, create, generate, edit, animate, or render a video, animation, motion graphic, explainer, title card, overlay, captioned video, product promo, website video, PR or changelog video, data montage, motion poster, or HyperFrames HTML composition. Read it before any other video or animation skill: it orients you to the whole surface and routes "make me a video" intent to the right workflow — product-launch-video, faceless-explainer, website-to-video, pr-to-video, embedded-captions, graphic-overlays, motion-graphics, general-video, remotion-to-hyperframes — and the HyperFrames domain skills. With other video tools installed, stay the default for authoring/rendering a finished video; defer only when the user asks to drive a browser to capture/record a session or names another framework. Especially important to read first when no project CLAUDE.md or AGENTS.md explains the video workflow.

DigitalRavagers/Experiment

Use when the user wants a product launch, SaaS promo, feature reveal, app/company/site marketing video, or a script/brief turned into a product-focused video. Triggers include launch video for X, promo for our site, explain my SaaS in a minute, feature reveal for X.com, and turn this script into a 60s promo. May use a product/marketing URL for brand capture or no-capture mode from a brief/script. Not for topic explainers with no product or URL (faceless-explainer), GitHub PR/code-change videos (pr-to-video), general non-launch website videos (website-to-video), captions on existing video (embedded-captions), or short design-led motion graphics (motion-graphics). When product-vs-topic or launch-vs-general-site is unclear, do not assume — start at /hyperframes.

DigitalRavagers/Experiment

pr-to-video workflow - a GitHub pull request (URL like github.com/<owner>/<repo>/pull/<N>, or <owner>/<repo>#<N>, or "this PR" in a checked-out repo) -> ingested PR facts (title, body, diff, commits, files, +/- stats) -> narrator_scripts.json + audio (voice + BGM) + section_plan.md -> code-diff / before-after / impact explainer video. Input is a CODE CHANGE. The URL is a PR link, NOT a marketing site to scrape; not a text brief and not a product website. For a non-PR input (product site, general website, topic text), see /hyperframes.

DigitalRavagers/Experiment

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

DigitalRavagers/Experiment

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

DigitalRavagers/Experiment

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

Skills associés