๐ฌ PentoVideo
AI Video Factory โ Write HTML. Render video. Built for agents.
AI ่ง้ขๅทฅๅ โ ๅ HTML๏ผๅบ่ง้ขใไธบ AI Agent ่็ใ
What is PentoVideo? | ่ฟๆฏไปไน๏ผ
PentoVideo is an AI-powered video factory that turns text, images, PPTs, and prompts into professional videos via HyperFrames HTML rendering. Four production lines, one engine. Forked from and built upon the open-source PentoVideo framework.
PentoVideo ๆฏไธไธช AI ่ง้ขๅทฅๅ๏ผ้่ฟ HyperFrames HTML ๆธฒๆๅฐไธป้ขใๅพ็ใPPTใๅฃๆญ็จฟ่ฝฌๅไธบไธไธ่ง้ขใๅๆก็ไบง็บฟ๏ผไธไธชๅผๆใๅบไบๅผๆบ PentoVideo ๆกๆถๆๅปบใ
| Line ็ไบง็บฟ | Input ่พๅ ฅ | Output ่พๅบ |
|---|---|---|
| A โ Pure CSS | Topic / Script | HTML + CSS animation โ MP4 |
| B โ Image Gen | Topic + SenseNova | AI images + HTML โ MP4 |
| C โ PPT | PPTX file | OCR โ HTML โ MP4 |
| D โ Images | Images + Script | OCR/align โ HTML โ MP4 |
| D-Fast โก | Images + Script (ready) | TTS โ HTML โ MP4 (4 steps) |
Quick Start | ๅฟซ้ๅผๅง
# Clone the skill
git clone https://github.com/zhbcher/pentovideo.git
# Install dependencies
pnpm install
# Start video production
# Agent auto-triggers: ยง0 gate โ route โ produce
Fastest Path | ๆๅฟซ่ทฏๅพ
Have images + script + style? Jump straight to Line D-Fast:
Images + Script โ Edge TTS โ Scene split โ HTML โ Render โ MP4
See workflows/line-d-fast.md for the 4-step workflow.
Architecture | ๆถๆ
ยง0 Pre-Flight Gate (7-field check)
โ
ยง1 Routing Decision Tree
โ
โโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโ
โผ โผ โผ
Line A (CSS) Line B (Gen) Line C/D (PPT/Img)
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโ
โผ
ยง2 Design System
ยง3 Prompt Expansion
ยง4 Build Timeline
ยง5 HTML Authoring
ยง6 Quality Gates (lint/validate)
ยง7 Preview โ Render โ Deliver
Key Features | ๆ ธๅฟๅ่ฝ
- ๐ Pre-Flight Gate (ยง0) โ 7-field check before any work starts. Prevents context-losing rework.
- ๐ Quick Jump โ 8 scenario-based entry points. Find your path in one click.
- โก Line D-Fast โ Images + script โ video in 4 steps. Our fastest production line.
- ๐จ 18 Style Presets โ Tech-dark, neon-gradient, business-green, and more.
- ๐๏ธ Edge TTS โ Free unlimited Chinese TTS. Inline Python command, no script dependency.
- ๐ผ๏ธ SenseNova Gen โ AI image generation via SenseNova U1 Fast. 11 sizes, 16:9 ready.
- โ Quality Gates โ lint/validate/inspect/contrast/design/animation-map. 6 checks before render.
- ๐ Bilingual โ Chinese + English throughout. Built for Chinese-speaking developers.
Production Lines | ็ไบง็บฟ่ฏฆๆ
| Line | Workflow | When to Use |
|---|---|---|
| A | line-a-pure-css.md | Topic โ HTML+CSS animation |
| B | line-b-image-gen.md | Topic โ SenseNova gen โ OCR โ HTML |
| C | line-c-ppt.md | PPT โ OCR โ HTML |
| D | line-d-images.md | Images โ OCR โ HTML |
| D-Fast โก | line-d-fast.md | Images + Script โ 4-step fast track |
Tools & Integration | ๅทฅๅ ท้ๆ
| Tool | Description | File |
|---|---|---|
| Edge TTS | Free Chinese text-to-speech | tools/edge-tts.md |
| SenseNova Gen | AI image generation | tools/sensenova-image-gen.md |
| OCR Check | Image text extraction QA | tools/ocr-check.md |
| Cover Gen | Video cover/thumbnail | tools/cover-generation.md |
| Build Timeline | Scene timing construction | tools/build-timeline.md |
Animations & Transitions | ๅจ็ปไธ่ฝฌๅบ
Full animation adapter support: GSAP, WAAPI, CSS, Anime.js, Three.js, Lottie. CSS + WebGL transition system.
| Adapter | Coverage |
|---|---|
| GSAP | Full timeline, easing, stagger |
| CSS Animations | Keyframes, delays, fill modes |
| WAAPI | element.animate(), deterministic seeking |
| Anime.js | Timelines, seek-driven rendering |
| Three.js | WebGL scenes, camera motion |
| Lottie | JSON + dotLottie, paused playback |
Project Structure | ้กน็ฎ็ปๆ
PentoVideo/
โโโ SKILL.md # Skill definition (bilingual)
โโโ README.md # This file
โโโ workflows/ # 4 production lines + line-d-fast
โโโ tools/ # TTS, image gen, OCR, cover, timeline
โโโ references/ # Design system, transitions, captions
โโโ styles/ # 18 style presets
โโโ animations/ # 6 animation adapters
โโโ packages/ # CLI, core, engine, producer
โโโ docs/ # Optimization plans, guides
โโโ templates/ # Project templates
Requirements | ็ฏๅข่ฆๆฑ
- Node.js >= 22
- FFmpeg
- pnpm
- OpenClaw (for skill integration)
License | ่ฎธๅฏ่ฏ
Apache 2.0 โ see LICENSE.
Forked from the open-source PentoVideo framework. Built with โค๏ธ for the OpenClaw community.
