Turn one topic into a finished Vox-style paper-collage explainer/ad video — automated end to end on Atlas Cloud + ffmpeg. An agent skill.
Python aiai-videoclaude-codeclaude-skillcollage-videodsh-pluginexplainer-videoffmpeggenerative-aillmmotion-graphicspythontext-to-videottsvideovideo-generationvox
README: reframe as an agent skill; trim top credits; add AGENTS.md
Alisa0808994d8a78d02d
diff --git a/AGENTS.md b/AGENTS.mdnew file mode 100644index 0000000..fae74f7--- /dev/null+++ b/AGENTS.md@@ -0,0 +1,29 @@+# Vox Director — Agent Guide++This repository is an **agent skill**: a self-contained workflow that turns one+topic into a finished Vox-style paper-collage video (script → collage keyframes →+motion → voice-over → music → captions). It is not tied to any single assistant —+any coding agent that can read instructions and run scripts can drive it.++## How to use it (for the agent)++1. Read **`SKILL.md`** — the full workflow and the two human approval gates.+ (`SKILL.zh.md` is the same in Chinese.)+2. Before writing any prompt, read **`references/`** (prompt structures, the+ vocabulary/theme bank, and the narrative-beat library).+3. Work one project at a time under `out/<project>/`, driven by a single+ `beats.json`. Run the stages in **`scripts/`** in order:+ `style_bakeoff.py → keyframes.py → clips.py → audio.py → assemble.py`.++## Requirements++- `ATLASCLOUD_API_KEY` in the environment — https://www.atlascloud.ai/console/api-keys+- `ffmpeg` + `ffprobe`+- Python 3 with `pillow`++## Agent notes++- **Claude Code** auto-loads this as a skill from `SKILL.md`'s frontmatter — just+ ask for a "vox video".+- **Codex / other agents**: follow `SKILL.md` as your instructions; this+ `AGENTS.md` is your entry point.diff --git a/README.md b/README.mdindex e6e598b..e2f8682 100644--- a/README.md+++ b/README.md@@ -4,29 +4,21 @@**Turn one topic into a finished Vox-style paper-collage explainer / ad video — script, collage keyframes, motion, voice-over, music and captions, all automated.**-A [Claude](https://claude.com/claude-code) skill that runs end to end on the [Atlas Cloud](https://www.atlascloud.ai) API + local `ffmpeg`. You give it a one-line topic; it gives you an `mp4`.+An **agent skill** — usable by any coding agent ([Claude Code](https://claude.com/claude-code), [Codex](https://developers.openai.com/codex/), …) — that runs end to end on the [Atlas Cloud](https://www.atlascloud.ai) API + local `ffmpeg`. You give it a one-line topic; it gives you an `mp4`.-  +  https://github.com/user-attachments/assets/ed08d230-7bcb-4b48-a17d-23c079208f9f<p align="center">- <em>"The evolution of Chinese civilization" — one topic in, this out. ▶ <a href="https://github.com/Alisa0808/vox-director/blob/main/assets/showcase-tang.mp4">Trouble playing the video? Watch it here</a>.</em>+ <em>"The evolution of Chinese civilization" — one topic in, this out.</em></p>---## What it is-The look is the modern editorial **paper-collage** popularized by Vox explainers and creators like Stav Zilber and rom1trs: hand-cut paper cut-outs, torn edges, tape, halftone dots, newspaper clippings, bold flat color per beat, big cut-out headlines — brought to life with motion, a narrator, music and captions.--Vox Director fuses three workflows into one repeatable pipeline:--| Source | Contribution |-|---|---|-| **Stav Zilber** (original) | interview-style product ads · Omni Flash paper/collage motion engine · end-frame link · reference-image consistency · narration discipline |-| **rom1trs / Remotion** | code-rendered Vox visuals (text & data stay razor-sharp) |-| **Higgsfield Explainer** | auto-research a topic · any-language narration · long-form explainers |+The look is the modern editorial **paper-collage** popularized by Vox explainers: hand-cut paper cut-outs, torn edges, tape, halftone dots, newspaper clippings, bold flat color per beat, big cut-out headlines — brought to life with motion, a narrator, music and captions.## How it works@@ -66,7 +58,7 @@ Model IDs drift — the skill fetches the live list from `GET https://api.atlasc## Install-This is a Claude skill (works in Claude Code and Claude apps that support skills).+This is an **agent skill** — it works with any coding agent that can read a workflow and run scripts (Claude Code, Codex, …). Claude Code auto-discovers it as a skill; other agents read [`AGENTS.md`](AGENTS.md) → [`SKILL.md`](SKILL.md).**Option A — from this repo:**```bash@@ -82,15 +74,15 @@ export ATLASCLOUD_API_KEY="sk-..."## Quick start-Just ask Claude, with the skill installed:+Just ask your coding agent, with the skill installed:> *"Make me a Vox-style collage video about the history of money — English, 9:16, 60 seconds."*-Claude will draft a beat map for your approval, run a style bake-off for you to pick from, then generate keyframes → motion → voice → music and assemble `out/<project>/final.mp4`.+The agent will draft a beat map for your approval, run a style bake-off for you to pick from, then generate keyframes → motion → voice → music and assemble `out/<project>/final.mp4`.## Requirements-- **Claude** with skills (e.g. Claude Code)+- A **coding agent** — Claude Code, Codex, or similar- **Atlas Cloud** API key- **ffmpeg** + **ffprobe** (`brew install ffmpeg`)- **Python 3** with **Pillow** (`pip install pillow`) — for caption/watermark overlays@@ -98,8 +90,9 @@ Claude will draft a beat map for your approval, run a style bake-off for you to## What's in the box```-SKILL.md the skill (English) — the workflow Claude follows+SKILL.md the skill (English) — the workflow the agent followsSKILL.zh.md the same skill in Chinese+AGENTS.md entry point for non-Claude agents (Codex, …)references/ the creative engineprompt-guide.md image + video prompt structuresvocab-bank.md 8 image dims + 9 video axes + 8 theme presetsdiff --git a/README.zh.md b/README.zh.mdindex 8f439a4..fac7ea0 100644--- a/README.zh.md+++ b/README.zh.md@@ -4,29 +4,21 @@**一个选题进,一条成片出——脚本、拼贴关键帧、动效、旁白、配乐、字幕,全流程自动化的 Vox 风格拼贴讲解/广告视频。**-一个 [Claude](https://claude.com/claude-code) 技能(skill),后端全跑 [Atlas Cloud](https://www.atlascloud.ai) API,本地用 `ffmpeg` 合成。你给一句话选题,它给你一个 `mp4`。+一个**通用 agent 技能**——任何能读工作流、跑脚本的编码 agent 都能用([Claude Code](https://claude.com/claude-code)、[Codex](https://developers.openai.com/codex/) 等),后端全跑 [Atlas Cloud](https://www.atlascloud.ai) API,本地用 `ffmpeg` 合成。你给一句话选题,它给你一个 `mp4`。-  +  https://github.com/user-attachments/assets/ed08d230-7bcb-4b48-a17d-23c079208f9f<p align="center">- <em>主题《中华文明的变迁》——一句选题进,这条片子出。▶ <a href="https://github.com/Alisa0808/vox-director/blob/main/assets/showcase-tang.mp4">视频加载不出来?点这里看</a>。</em>+ <em>主题《中华文明的变迁》——一句选题进,这条片子出。</em></p>---## 这是什么-风格是 Vox 讲解片和 Stav Zilber、rom1trs 等创作者带火的现代编辑感**纸质拼贴**:手撕纸片、毛边、胶带、半调网点、报纸剪贴、每一拍一块大胆平涂色、大号剪纸标题——再配上动效、旁白、配乐和字幕,让整张海报活过来。--Vox Director 把三套工作流融进一条可复用的管线:--| 来源 | 贡献 |-|---|---|-| **Stav Zilber**(原始) | 访谈式产品广告 · Omni Flash 纸片/拼贴动效引擎 · 尾帧链接 · 参考图一致性 · 旁白纪律 |-| **rom1trs / Remotion** | 代码渲染 Vox 视效(文字、数据绝对清晰) |-| **Higgsfield Explainer** | 自动调研选题 · 任意语言旁白 · 长片讲解 |+风格是 Vox 讲解片带火的现代编辑感**纸质拼贴**:手撕纸片、毛边、胶带、半调网点、报纸剪贴、每一拍一块大胆平涂色、大号剪纸标题——再配上动效、旁白、配乐和字幕,让整张海报活过来。## 工作原理@@ -66,7 +58,7 @@ Vox Director 把三套工作流融进一条可复用的管线:## 安装-这是一个 Claude 技能(在 Claude Code 及支持 skill 的 Claude 应用里可用)。+这是一个**通用 agent 技能**——任何能读工作流、跑脚本的编码 agent 都能用(Claude Code、Codex 等)。Claude Code 会自动把它识别成 skill;其他 agent 读 [`AGENTS.md`](AGENTS.md) → [`SKILL.md`](SKILL.md)。**方式 A —— 从本仓库:**```bash@@ -82,15 +74,15 @@ export ATLASCLOUD_API_KEY="sk-..."## 快速开始-装好技能后,直接跟 Claude 说:+装好技能后,直接跟你的编码 agent 说:> *「做一条 Vox 风格的拼贴视频,讲货币简史——全英文,9:16,60 秒。」*-Claude 会先起草分镜脚本给你确认,再跑一轮风格试片让你挑,然后生成关键帧 → 动效 → 旁白 → 配乐,合成 `out/<项目>/final.mp4`。+agent 会先起草分镜脚本给你确认,再跑一轮风格试片让你挑,然后生成关键帧 → 动效 → 旁白 → 配乐,合成 `out/<项目>/final.mp4`。## 环境要求-- **Claude** 且支持 skill(如 Claude Code)+- 一个**编码 agent**——Claude Code、Codex 或类似工具- **Atlas Cloud** API key- **ffmpeg** + **ffprobe**(`brew install ffmpeg`)- **Python 3** + **Pillow**(`pip install pillow`)——用于字幕/水印叠加@@ -98,8 +90,9 @@ Claude 会先起草分镜脚本给你确认,再跑一轮风格试片让你挑,## 目录结构```-SKILL.md 技能本体(英文)——Claude 遵循的工作流+SKILL.md 技能本体(英文)——agent 遵循的工作流SKILL.zh.md 同一技能的中文版+AGENTS.md 非 Claude agent(Codex 等)的入口references/ 创意引擎prompt-guide.md 生图 + 生视频的提示词结构vocab-bank.md 8 个生图维度 + 9 个生视频轴 + 8 套主题预设