vox-ai-motion-graphics-generator

Anil-matcha活跃维护

输入一个主题就能自动生成 Vox 风格的纸片拼贴解说视频,脚本、关键帧、动画、配音、配乐和字幕全流程搞定,还能作为 Claude Code 等编程智能体的技能调用。

🎬 Turn any topic into a finished Vox-style paper-collage explainer / motion graphics video — script, collage keyframes, animation, voice-over, music & captions, all automated. An agent skill for Claude Code, Codex & other coding agents.

暂无版本321star56fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
brew install ffmpeg
pip install pillow
export MUAPI_API_KEY="your-api-key"
export OPENAI_API_KEY="your-openai-key"
硬件要求按 README 说明

README 未说明本地显存或 GPU 要求,图像、视频、语音、音乐模型均通过 MuAPI 云端调用;本地只需能运行 Python 3 和 ffmpeg 的机器。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

输入一个主题或素材,自动产出 Vox 风格拼贴解说视频,脚本、画面、配音、字幕全流程打通

输入一个主题就能自动生成 Vox 风格的纸片拼贴解说视频,脚本、关键帧、动画、配音、配乐和字幕全流程搞定,还能作为 Claude Code 等编程智能体的技能调用。

核心能力

  • 按叙事弧线先写 beats.json 分镜脚本再生成画面
  • 同一分镜渲染 3~4 套主题做风格对比供挑选
  • 用 Veo 3.1 把拼贴海报关键帧动画成动态片段
  • 自动生成 TTS 旁白、Suno 背景音乐并压低配乐混音
  • 支持 A-roll 口播视频经 Whisper 分段后重绘为拼贴风格

容易踩的坑

需同时配置 MuAPI 与 OpenAI 两个 API Key,缺一不可;本地必须装好 ffmpeg 和 ffprobe,否则合成阶段会失败;图像、视频、配音、音乐全部依赖 MuAPI 云端模型,需要联网并消耗额度。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    🚨 The problem with making explainer videos today:

    • ❌ Fragmented workflow — separate tools for scripting, image gen, animation, voice-over, music, and captions
    • ❌ No narrative structure — raw text-to-video models don't understand story arcs, hooks, or pacing
    • ❌ Inconsistent look — the collage aesthetic drifts from shot to shot
    • ❌ Hours of manual editing — stitching, ducking music, and burning captions by hand

    💡 The solution:

    🎬 Screenwriter, Collage Artist, Animator, and Editor — all in one automated pipeline.

    Type one topic. The agent writes the story beats, renders each beat as a torn-paper collage poster, animates it, adds a narrator voice-over, music, and burned-in captions — then stitches everything into a finished final.mp4. You stay in control with just two approval gates: the story beat map and the visual theme.


    🎨 Explore 50+ more open-source AI apps →

    🎥 Demo

    https://github.com/user-attachments/assets/3db826d1-3271-4e8a-b4d0-a843013e67c7

    One topic in, a fully narrated & captioned Vox-style collage video out. (download the demo)

    "Make me a 15-second Vox-style collage video on the history of coffee." → a styled final.mp4, fully narrated and captioned.

    📽️ Generated Showcase Videos (Playable Demo Videos)

    Below are end-to-end videos generated using the pipeline:

    https://github.com/user-attachments/assets/d9b3e85b-2f4a-4c64-9692-747f085dfd28

    ▶ "History of Coffee (Ethiopia 850 AD)" · 5s (B-roll Film)

    https://github.com/user-attachments/assets/6628b678-78ff-481a-bc39-d7098ec1f2fe

    ▶ "Cold Brew Product Ad" · 5s (C-roll Film)

    ModeFilm TitleTopic / SubjectPlayable Video LinkKeyframe PosterMotion ModelNarration Voice
    B-roll☕ History of CoffeeEthiopia 850 ADPlay Video (out/demo/final.mp4)out/demo/keyframes/kf_1a.jpgveo3.1-image-to-videoMiniMax TTS (Q19bea09caa6IRAeW7)
    C-roll🍾 Cold Brew Product AdArtisanal Cold Brew BottlePlay Video (out/demo-croll/final.mp4)out/demo-croll/keyframes/kf_1.jpgveo3.1-image-to-videoMiniMax TTS (Q19bea09caa6IRAeW7)

    🎬 Generated Assets Summary:

    • ☕ B-roll (History of Coffee):
      • 📹 Video: Play Video (out/demo/final.mp4) | 🖼️ Poster: out/demo/keyframes/kf_1a.jpg | 📹 Clip: out/demo/clips/clip_1a.mp4 | 🎙️ Voice: out/demo/audio/narr_1.mp3 | 🎵 BGM: out/demo/audio/bgm.mp3
    • 🍾 C-roll (Cold Brew Product Anchor):
      • 📹 Video: Play Video (out/demo-croll/final.mp4) | 📸 Anchor Photo: out/demo-croll/anchor_photo.jpg | 🖼️ Poster: out/demo-croll/keyframes/kf_1.jpg | 📹 Clip: out/demo-croll/clips/clip_1.mp4 | 🎙️ Voice: out/demo-croll/audio/narr_1.mp3 | 🎵 BGM: out/demo-croll/audio/bgm.mp3

    📑 Table of Contents


    ✨ Key Features

    • 3 Input Modalities (A-roll, B-roll, C-roll):
      • B-roll (Topic → Film) — a single one-line prompt produces a complete, captioned, narrated video
      • A-roll (Talking-Head Video → Collage) — segment a presenter video with ASR (openai-whisper) and re-style into paper-collage while keeping real face, gestures, and lip-sync
      • C-roll (Single Photo / Product → Anchored Collage) — cut out a selfie or product shot as a photographic sticker and build animated collage posters around it
    • Authentic Vox collage aesthetic — torn paper, cutouts, tape, halftone dots, newspaper clippings, bold flat color, big headlines
    • Story-first — picks a narrative arc (timeline, problem-agitate-solution, how-it-works…) and writes a hook-led beat map before generating anything
    • Style bake-off — renders the same beat in 3–4 themes so you pick the look before committing
    • Living-poster motion — animates each collage keyframe into dynamic motion with Google Veo 3.1
    • Voice + music + captions — narration (TTS or voice cloning), background music ducked under the voice, and burned-in captions, all automated
    • Two human gates, everything else automated — approve the beat map, pick the theme; the pipeline handles the rest
    • Agent-native — a self-contained skill any coding agent (Claude Code, Codex, Antigravity, …) can read and run
    • One API key + ffmpeg — no cluster of accounts to wire up

    🎨 The Look

    The aesthetic is the modern editorial paper-collage popularized by Vox explainers and creators like Stav Zilber and rom1trs: hand-cut paper cutouts, torn edges, tape, halftone dots, newspaper clippings, bold flat colors per beat, and big cutout headlines — brought to life with dynamic motion, a narrator voice-over, music, and burned-in captions.

    The collage look is born in the image step (each beat is a finished collage poster), and the motion is added after — so the DNA of the style is locked in before anything moves.


    🔄 How It Works

    A single topic, video, or photo flows through the pipeline driven by beats.json under out/<project>/:

    topic / video / photo
      │
      ├─ 1. Beat Map        Pick a narrative arc → write beats.json          ◀── GATE 1: approve the beat map
      ├─ 2. Style Bake-Off  Render the same beat in 3–4 themes               ◀── GATE 2: pick the look
      ├─ 3. Keyframes       One collage poster per beat (nano-banana-2 / flux-dev)
      ├─ 4. Motion          Animate each poster into a clip (veo3.1-image-to-video)
      ├─ 5. Voice & Music   Narration (minimax-speech-2.6) + BGM (suno-create-music)
      ├─ 6. Assemble        Stitch clips, duck music, burn captions (ffmpeg)
      └─ final.mp4
    

    3 Modalities:

    • B-roll (Topic → Film): Topic in → script → keyframe posters → Veo 3.1 motion → TTS narration + Suno music → final.mp4.
    • A-roll (Talking-Head → Collage): Presenter video in → Whisper ASR beat segmentation → video-edit restyling → audio remuxing → final.mp4.
    • C-roll (Photo / Product → Collage): Product photo in → photographic sticker cutout → anchored collage posters → Veo 3.1 motion → cloned voice → final.mp4.

    🧩 Models

    Pipeline JobModel Endpoint
    Keyframes / Collage Postersnano-banana-2 / flux-dev
    Motion / Animationveo3.1-image-to-video / veo3.1-fast-image-to-video / runway-image-to-video
    Re-style Talking-Head (A-roll)gemini-omni-video-edit / veo3.1-image-to-video
    Anchor Photo in Collage (C-roll)nano-banana-2 / flux-dev
    Narration (TTS)minimax-speech-2.6-turbo
    Voice Cloning (C-roll)minimax-voice-clone
    Background Musicsuno-create-music
    Audio Transcription (A-roll ASR)openai-whisper
    Background Removalremove-background

    🚀 Quick Start

    1. Install local dependencies

    • ffmpeg + ffprobe (brew install ffmpeg on macOS / choco install ffmpeg on Windows)
    • Python 3 with Pillow (pip install pillow)

    2. Configure environment keys

    export MUAPI_API_KEY="your-api-key"     # image / video / voice / music models — key from muapi.ai
    export OPENAI_API_KEY="your-openai-key"  # story planning & ASR
    

    3. Run Pipeline via Agent or CLI:

    Mode 1: B-roll (Topic → Film)

    Ask your coding agent:

    "Make me a 15-second Vox-style collage video introducing the history of coffee."

    Or run CLI scripts manually:

    python scripts/style_bakeoff.py out/my-topic american-retro,swiss-modern,punk-zine
    python scripts/keyframes.py out/my-topic
    python scripts/clips.py out/my-topic
    python scripts/audio.py out/my-topic
    python scripts/assemble.py out/my-topic
    
    Mode 2: A-roll (Talking-Head Video → Collage)
    python scripts/asr_beats.py out/my-aroll source_presentation.mp4
    python scripts/aroll_clips.py out/my-aroll
    python scripts/aroll_assemble.py out/my-aroll
    
    Mode 3: C-roll (Single Photo / Product → Anchored Collage)
    python scripts/croll_keyframes.py out/my-croll
    python scripts/clips.py out/my-croll
    python scripts/audio.py out/my-croll
    python scripts/assemble.py out/my-croll
    

    🛠️ Project Structure

    .
    ├── SKILL.md            # full agent workflow + approval gates
    ├── AGENTS.md           # entry point for coding agents (Claude Code, Codex, Antigravity)
    ├── README.zh.md        # Chinese documentation
    ├── scripts/            # one script per pipeline stage
    │   ├── muapi_client.py    # MuAPI client wrapper
    │   ├── provider.py        # task queue & status polling
    │   ├── style_bakeoff.py   # multi-theme style candidates
    │   ├── keyframes.py       # B-roll collage poster generator
    │   ├── clips.py           # B-roll video animator (Veo 3.1)
    │   ├── audio.py           # TTS narration & Suno music generator
    │   ├── text_overlay.py    # subtitle captions & watermark generator
    │   ├── assemble.py        # ffmpeg video assembly, ducking & composition
    │   ├── asr_beats.py       # A-roll Whisper ASR beat cutter
    │   ├── aroll_clips.py     # A-roll talking-head video restyler
    │   ├── aroll_assemble.py  # A-roll clip & audio remuxer
    │   └── croll_keyframes.py # C-roll photo sticker anchor generator
    ├── references/         # prompt guide, beat/story library, voices
    └── examples/           # sample beats.json
    

    This is an agent skill — Claude Code auto-loads it from SKILL.md; Codex and other agents follow SKILL.md via AGENTS.md. Just ask for a "vox video" or a "collage video."


    🔗 Related Projects


    ⭐ Star this repo if it helped you — and explore 50+ more open-source AI apps →