Communitygithub.com

网站转HyperFrames视频

捕获一个网站,并从中生成HyperFrames视频。适用于:用户提供URL并希望生成视频,或提出“捕获这个网站”、“把它变成视频”、“给我的网站做个宣传片”等需求。

网站转HyperFrames视频 是什么?

“网站转HyperFrames”是一款AI agent技能,专门用于将现有网站内容自动化转化为专业视频(如社交媒体广告、产品演示、功能预告片等)。它支持Claude Code、Codex等平台,核心工作流程分为7个严格步骤:从网站捕获与理解、创建设计文档和脚本、编写分镜头脚本、生成配音并映射时间轴、构建合成画面、最后进行验证与交付。输出的视频格式包括横屏(1920×1080)、竖屏(1080×1920)和方形(1080×1080),时长从10到60秒不等,适用于各类营销场景。该技能通过引用详细的参考文件(如step-1-capture.md等)指导每一步操作,并利用HyperFrames引擎确保最终输出高质量的MP4视频或Studio项目链接。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/libz-renlab-ai/TeamBrain/tree/HEAD/.agents/skills/website-to-hyperframes

在你喜欢的 AI 中提问

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

文档

网站转HyperFrames

捕获一个网站,然后从中生成专业视频。

用户可能会说:

  • “捕获 https://... 并为我制作一个25秒的产品发布视频”
  • “把这个网站变成一个15秒的Instagram社交广告”
  • “从 https://... 创建一个30秒的产品演示”

工作流程共7步。每一步都会生成一个工件,作为下一步的前置条件。


步骤 1:捕获与理解

阅读: references/step-1-capture.md

执行捕获,读取提取的数据,使用“写下并遗忘”方法构建工作摘要。

前置条件: 打印你的网站摘要(名称、主色、字体、关键资源、一句话风格描述)。


步骤 2:编写 DESIGN.md

阅读: references/step-2-design.md

为捕获的网站编写一个简单的品牌参考文档。6个章节,约90行。这是一份速查表,不是创作计划——创作计划在步骤4中编写。

前置条件: DESIGN.md 存在于项目目录中。


步骤 3:编写脚本 (SCRIPT)

阅读: references/step-3-script.md

编写旁白脚本。故事的骨架。场景时长由旁白决定,而非猜测。

前置条件: SCRIPT.md 存在于项目目录中。


步骤 4:编写分镜头脚本 (STORYBOARD)

阅读: references/step-4-storyboard.md

编写逐节拍创意方向:情绪、镜头、动画、转场、资源、景深层、音效。这是创作的北极星——工程师根据它构建每个合成画面。

前置条件: STORYBOARD.md 存在,包含逐节拍指导和资源审计表。


步骤 5:生成配音 + 映射时间

阅读: references/step-5-vo.md

生成TTS音频,转录以获取字级时间戳,并将时间戳映射到节拍。用实际时长更新 STORYBOARD.md。

前置条件: narration.wav(或 .mp3)+ transcript.json 存在。STORYBOARD.md 中的节拍时间已更新。


步骤 6:构建合成画面

阅读: hyperframes 技能(加载它——每一条规则都很重要) 阅读: references/step-6-build.md

按照分镜头脚本构建每个合成画面。完成后:进行自我审查,检查布局、资源放置和动画质量。

前置条件: 每个合成画面都经过自我审查。没有重叠元素,没有错位的资源,没有静止不动的图像。


步骤 7:验证与交付

阅读: references/step-7-validate.md

Lint检查、验证、快照、预览。首先向用户提供本地Studio项目URL(http://localhost:<port>/#project/<project-name>),只有在明确请求时才渲染为MP4。不要将 index.html 视为项目交接链接;它只是源代码上下文。

前置条件: npx hyperframes lint 和 npx hyperframes validate 通过,零错误,最终响应中包含有效的Studio项目URL。


快速参考

视频类型

类型时长节拍数旁白
社交广告(IG/TikTok)10-15秒3-4可选,钩子句
产品演示30-60秒5-8完整旁白
功能预告15-30秒3-5完整旁白
品牌短片20-45秒4-6可选,以音乐为主
发布预热10-20秒2-4极少,高能量

格式

  • 横屏:1920x1080(默认)
  • 竖屏:1080x1920(Instagram Stories, TikTok)
  • 方形:1080x1080(Instagram feed)

参考文件

文件何时阅读
step-1-capture.md步骤 1 — 读取捕获的数据
step-2-design.md步骤 2 — 编写 DESIGN.md
step-3-script.md步骤 3 — 编写旁白脚本
step-4-storyboard.md步骤 4 — 逐节拍创意方向
step-5-vo.md步骤 5 — TTS、转录、时间映射
step-6-build.md步骤 6 — 构建合成画面并自我审查
step-7-validate.md步骤 7 — Lint、验证、快照、预览
techniques.md步骤 4 和 6 — 11种视觉技术及代码模式(SVG绘制、Canvas 2D、3D、排版、Lottie、视频、打字效果、可变字体、MotionPath、转场、音频响应式)

Individual skills in this repo

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

libz-renlab-ai/TeamBrain

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

libz-renlab-ai/TeamBrain

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, and registry discovery.

libz-renlab-ai/TeamBrain

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.

libz-renlab-ai/TeamBrain

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames — for example "port my Remotion project to HyperFrames", "convert this Remotion code to HyperFrames", "migrate from Remotion", "translate this Remotion comp", or "rewrite this as HyperFrames HTML". Do NOT use when (a) the user is authoring a NEW HyperFrames composition, even if they have or are A/B-testing a similar Remotion video; (b) the user mentions Remotion in passing without asking for migration; (c) the user shares Remotion code as reference material rather than asking for a translation; (d) the user asks for "the same video as my Remotion one" without explicitly asking to migrate the source — treat that as a fresh HyperFrames build. When in doubt, default to authoring a native HyperFrames composition with the `hyperframes` skill instead. Skill detects unsupported patterns (use...

libz-renlab-ai/TeamBrain

HyperFrames CLI tool — hyperframes init, lint, inspect, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting, validating, inspecting visual layout in compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.

相关技能