Comparison Video Builder (create-video)
Generates a complete 30-40s vertical "A vs B" explainer video project with Vietnamese TTS voiceover and audio-accurate caption timing.
Image & VideoAdvanced★ 208⑂ 120AI score 8/10Last updated: Sep 23, 2026
What it does
- Scaffolds a self-contained
videos/<slug>/HyperFrames project that passesnpm run checkand renders to MP4. - Locks in an A vs B topic and writes an exactly 12-line script following a fixed beat map (hook → explain A → explain B → side-by-side → payoff).
- Generates voiceover through Edge TTS (free, no key), VieNeu TTS (local) or Vbee, selected by
TTS_PROVIDERin the repo-root.env. - Reads real audio durations from
durations.jsonand applies verified gap formulas (0.3-0.35s within a beat, 0.4-0.45s across beats) to land the total in 30-40s. - Builds
index.htmlon the immutable 3-zone layout fromDESIGN.md, writes a shortBRIEF.md, updates the README video table, runs lint + contact-sheet snapshots, then renders. - Supports
AUTO_CREATE_VIDEO=1for a fully unattended run.
Who it's for
- Creators running this repo's knowledge-comparison series on TikTok/Reels/Shorts.
- Channel operators who want a frozen layout and swap only content for consistent output.
- Anyone automating a Vietnamese TTS + deterministic render pipeline.
Examples
- "Make a RAM vs ROM comparison video" →
videos/ram-vs-rom/with 12 caption lines, 12 MP3 files,ROOT_DURATION ≈ 34, and an MP4 inrenders/. - "Explain Dev vs DevOps" → applies phonetic respelling only in the TTS input text while on-screen captions keep the original spelling.
- Set
AUTO_CREATE_VIDEO=1and ask → the skill picks the topic, script and icons, generates VO and renders without stopping for approvals. - "Make a SaaS promo video from my landing page" → out of scope; the skill declines and points you to the generic HyperFrames workflow.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/Cuongyd196/auto-compare-video/HEAD/.claude/skills/create-video/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/create-video folder from the GitHub repo Cuongyd196/auto-compare-video into my ~/.claude/skills/cuongyd196-create-video/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/Cuongyd196/auto-compare-video.git && mkdir -p ~/.claude/skills && cp -r auto-compare-video/.claude/skills/create-video ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in your working directory.
- Clone the repo:
git clone https://github.com/Cuongyd196/auto-compare-video.git - Copy the skill:
mkdir -p ~/.claude/skills && cp -r auto-compare-video/.claude/skills/create-video ~/.claude/skills/- Note: it references
DESIGN.md,AGENTS.mdandvideos/dev-vs-devops/, so it's safest to run Claude Code inside the repo.
- Note: it references
- At the repo root run
cp .env.example .env. KeepTTS_PROVIDER=edgefor the free path, or fillVBEE_APP_ID/VBEE_ACCESS_TOKENfor Vbee. - Ensure Node.js 18+ is installed and
npx hyperframesworks. - Start Claude Code at the repo root and ask: "Make a comparison video: X vs Y".
- After the script is approved:
cd videos/<slug> && npm install && node scripts/generate-vo.mjs && npm run check && npm run render. - Confirm the MP4 exists in
renders/before publishing.
View source on GitHub ↗License: NOASSERTION