Communitygithub.com

Drama2557/4RealDigital-Video-Studio

Agent Media OS:单一技能满足 HyperFrames 项目中所有媒体需求。通过一个 `resolve` 动词即可将 BGM、音效、图片、图标、品牌 Logo、语音、色彩分级或 LUT 解析为本地文件或可粘贴的记录块;当目录缺失时自动通过 TTS/音乐/图像模型生成;通过共享音频引擎处理配音、转录、字幕和背景去除;支持媒体裁切、重帧和变换;并实现跨项目素材复用。同样适用于处理模糊反馈,如真实画面太暗、平淡、无聊,需要复古/摄像机/打印/ASCII 风格,需要隐私保护或媒体展示。

4RealDigital-Video-Studio 是什么?

Drama2557/4RealDigital-Video-Studio 是一个面向 HyperFrames 项目的全能媒体 AI 技能,旨在通过单一统一的 `resolve` 动词简化所有媒体操作流程。它支持从 HeyGen 目录、svgl、simple-icons 等来源解析 BGM、音效、图片、图标、Logo 等资源,并在目录缺失时自动调用 TTS、音乐和图像生成模型进行补充。该技能还集成了共享音频引擎,可处理配音、转录、字幕生成和背景去除等任务,并支持媒体裁切、重帧和变换操作。更重要的是,它能主动分析项目中的媒体缺口(如无配音、无背景音乐、画面偏色等),通过一次性的、基于证据的优化建议,帮助开发者提升作品质量,同时避免过度修改。适用于 Claude Code、Cursor 等 AI 编程助手,通过在 HyperFrames 项目中运行标准脚本即可完成安装和配置。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Drama2557/4RealDigital-Video-Studio/tree/HEAD/.agents/skills/media-use

在你喜欢的 AI 中提问

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

文档

media-use

面向 HyperFrames 的媒体操作系统:解析 · 生成 · 操作 · 记忆 —— 所有媒体类型,一个技能,零上下文噪音。

首次运行:安装并登录 heygen CLI(免费使用路径),然后使用 node <SKILL_DIR>/scripts/resolve.mjs --doctor 验证。设置和提供者:请参阅 references/setup-providers.md。

解析 —— 统一动词

node <SKILL_DIR>/scripts/resolve.mjs --type <type> --intent "<description>" --project <dir>

返回一行:resolved <id> → <path> (<type>, <metadata>)。所有搜索噪音保留在磁盘上。

类型一行意图描述
bgm背景音乐(HeyGen 目录,10k+ 首曲目)
sfx音效(捆绑的 19 文件库 + 目录)
image照片、背景(HeyGen 资产搜索,75k+ 矢量图)
icon图标、符号(透明)
logo官方品牌标识(svgl → simple-icons → GitHub 头像 → favicon;绝不重画)
voiceTTS 配音(HeyGen 免费使用路径;可选本地 Kokoro)
grade测量校正候选;广泛的润色/风格化遵循媒体处理部分
lut用户提供或明确选择的可重用已验证的 .cube 文件

在解析新内容前,使用 --candidates 列出可重用候选资源并自行判断适用性 —— 重用规则、所有标志、摄取(--from)和采纳,请参阅 references/resolve.md。

将广泛的视觉反馈视为媒体意图

当用户明确要求修复、润色、风格化、隐藏、强调或展示摄影媒体时,请阅读 references/media-treatments.md,即使他们没有提及色彩分级或效果。检查真实的 <img>/<video>,选择一个主要意图,然后使用确定性持久化和验证。使用匹配的配方作为可选测试种子,或检查 hyperframes media-treatment --capabilities --json,然后用 --capability <id> 请求一个相关的效果系列,并从规范控制中组装自定义处理。对于普通创作,切勿加载 --all。一个处理可以组合校正、预设、精修、兼容的着色器效果、支持的动画关键帧和可选的 Registry 叠加。仅添加来源合理的有限调整和兼容部分,绝不添加仅为了使结果看起来更复杂的效果。使用 hyperframes media-treatment 持久化最终组合的有效载荷。

使用一个逐步升级的工作流程。对于视频,检查一个标注了早期/中期/后期的联系表,而不是单独读取帧。对于普通校正或润色,应用一个候选方案,然后检查一个后期处理表。仅当结果不明确、涉及时间变化、风格化、基于 LUT、HDR/LOG 敏感、隐私或品牌关键时,才升级到单独帧或移动草稿证据。

对于普通校正或润色,持久化最终处理的预设/调整 JSON。 不要仅仅为了编码曝光、阴影、对比度或色温而生成 .cube LUT。仅当用户提供 LUT 或所选处理明确拥有 LUT 时,才使用 LUT。resolve --type grade --for ... --analyze 是测量证据,而非用生成的 LUT 替代所选处理的许可。不要用 CSS/SVG 叠加来重新实现支持的暗角、颗粒、模糊、像素化、颜色或处理效果;这会绕过 Studio 控件和规范预览/渲染着色器路径。

主动出击 —— 进行一次媒体机会检查

人类通常无法判断哪些媒体能提升作品。你可以。当你构建或审核一个组合时,进行一次基于证据的扫描,然后问一次 —— 不要静默添加,也不要逐个资产啰嗦。

仅当存在具体信号时才提出优化机会:

检测到的信号提供的内容
屏幕上的文字 / 脚本但无配音TTS 配音(音频引擎)
Emoji 或样式化为图标的 <div>解析真实的 icons
占位符、太小或看起来放大的图片更好的 image(和/或放大 —— 参见 references/operations.md)
硬场景切换 / 无声音的过渡过渡 sfx
约 10 秒以上且无音乐背景的片段bgm
看起来过曝/欠曝或有色偏的镜头校正性分级(用 hyperframes media-treatment --selector '#hero' --analyze --json 检查)
感觉视觉上平淡或离题的摄影媒体一个具体的、来源合适的预设或自定义处理,并指明目标
感觉静态的重要媒体展示/揭示一个支持的、安全跳转的处理动画;除非请求也证明了预设的合理性,否则保持颜色不变

保持帮助性而非烦扰的规则:基于证据,而非泛泛而谈(无信号 → 无建议);有主见且具体(提出具体修复方案并设置默认值 —— 用户批准 全部 / 部分 / 无);每个项目一次(整合成一次性请求;尊重“保持原样”);展示,而非静默修改(色彩分级尤其如此:提出并预览 —— 一个灰世界的“校正”会毁掉有意营造的日落或霓虹效果)。

查看位置 —— 仅读取任务所需的文件

任务参阅文件
解析 / 重用 / 采纳 / 摄取、标志、级联、库存references/resolve.md
色彩分级、LUT、智能分级(--for)、分级比较references/grading.md
配音 / TTS、音乐、音效、字幕、转录(音频引擎)references/audio.md
裁切 / 重帧 / 变换现有媒体、精确错误扩散、HEVCreferences/operations.md
源感知的创意处理、实时效果、叠加、展示references/media-treatments.md
安装 + 认证、提供者表格、RAM 阶梯、--local-only、--providerreferences/setup-providers.md
记忆的偏好 + 冻结的配方(用户记忆)references/memory.md
所有权矩阵、使用统计、遥测、隐私(维护者面向)references/meta.md

Individual skills in this repo

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

Drama2557/4RealDigital-Video-Studio

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Drama2557/4RealDigital-Video-Studio

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). 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 this skill.

Drama2557/4RealDigital-Video-Studio

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

Drama2557/4RealDigital-Video-Studio

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. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

Drama2557/4RealDigital-Video-Studio

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

Drama2557/4RealDigital-Video-Studio

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

Drama2557/4RealDigital-Video-Studio

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Drama2557/4RealDigital-Video-Studio

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Agent skill / project related to launch or product demo video: Drama2557/4RealDigital-Video-Studio

相关技能