Logo Paper2video

Paper2video

Cộng đồng
SunandBean
paper2video

Turn an arXiv paper into a narrated, fact-checked explainer video (1080p MP4) with animated 2D/3D scenes, subtitles and a verification report. Run with /paper2video <arxiv link or id> [overrides].

Tổng quan

Nhà phát hànhSunandBean
Kho mãpaper2video
Tên kỹ năngpaper2video
Sao
47
Bản fork
9
Tệp đi kèm
42
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 42 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SunandBean công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Paper2video trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/SunandBean/paper2video/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SunandBean/paper2video.git \
  .claude/skills/paper2video
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Paper2video trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Paper2video ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Paper2video không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

paper2video

Paper in, explainer video out. The user picks the paper; everything after that is this workflow, with strict cross-checking instead of script approval. The skill never publishes anything.

Paper to process: $ARGUMENTS

Every step runs through one command: ${CLAUDE_SKILL_DIR}/p2v <subcommand> (works from any directory). Always type that full path exactly as written here, not a shell variable or cd + ./p2v: the pre-approved permission matches this exact command, so other spellings stop for a permission prompt.

  1. Run ${CLAUDE_SKILL_DIR}/p2v doctor. It prints the folders (skill, tools, jobs, videos). If it ends with -> run: ... setup, tell the user "first run: installing tools (~1 GB, a few minutes)" and run ${CLAUDE_SKILL_DIR}/p2v setup once, with the Bash tool's maximum timeout (600000 ms). If it is cut off, run it again: finished parts are skipped.
  2. Write job files in the jobs folder that doctor printed (<jobs>/<id>/), never in the skill folder. Installed copies keep jobs and videos in ~/paper2video/; a development clone keeps them in the repo.

Input

Only the arXiv link or id is required (https://arxiv.org/pdf/2610.35607, .../abs/...v2, 2610.35607). Anything after it is an override (e.g. 3 min, voice am_michael). Do not ask for more instructions. Run the whole pipeline below with these defaults:

DefaultValueUser can override with
Length4-5 min, 10-14 scenes"3 min"
Language / voiceEnglish, Kokoro af_heartko / Korean / 한국어 → Korean (Supertonic 3 voice F1); another voice id (Kokoro am_michael..., Supertonic F1-F5, M1-M5)
Verificationstep 9 always runs in a fresh-context subagent, all 5 layers; equations and derivations (not machine-checkable) are checked by the verifier against paper.txt with the evidence written in VERIFY.mdn/a (never skipped)
Fix loopfix and re-verify up to 3 rounds, then stop with BLOCKED and the open itemsn/a
Templatesif the skill folder is a git clone you can edit, move any new scene that would work for other papers into engine/templates.js; otherwise (plugin install) keep it in the job's scenes.js and list it as a template candidate in the reportn/a
Publishingnever upload or post anywhere; the MP4 is the end productn/a
Gitdo not commit; leave changes for review"commit it"

Only stop to ask the user when blocked (license forbids the planned visuals, the PDF has no text layer, verification BLOCKED after 3 rounds, or a toolchain step fails twice).

Korean (or another language)

When the overrides ask for Korean:

  • script.json: "lang": "ko"; write subtitles and every on-screen string in natural Korean (plain 해요체 for narration). Keep widely used technical terms in English the first time, with a Korean gloss ("BEV(위에서 내려다본 지도)").
  • TTS text (2nd element of each sentence): spell out units and abbreviations the way they should be read ("142센티미터", "엠에이피", "에이치백"); digits and dates are read correctly by the engine.
  • tts.py picks Supertonic 3 automatically for non-English lang (first run downloads the model).
  • claims.json quotes stay verbatim English from the paper; claim text may be Korean.
  • Rendering needs a Korean font (macOS has Apple SD Gothic Neo; on Linux install Noto Sans CJK).

Final report (always, at the end)

Per step: done / failed + output path · VERIFY.md verdict and open items · video path in the videos folder + length · new templates added · wall-clock time · anything the user should look at first. Setup (${CLAUDE_SKILL_DIR}/p2v setup) installs Node packages, ffmpeg, Playwright Chromium, a Python 3.10-3.13 venv and the Kokoro voice model into the tools folder, which survives updates. If the default python3 is 3.14+, it picks 3.13/3.12, or set PYTHON=/path/to/python3.12.

Pipeline

#StepCommand / output
1Fetch paper + license${CLAUDE_SKILL_DIR}/p2v fetch <arxiv id or link> → <jobs>/<id>/paper/{meta.json,paper.pdf,paper.txt} and job skeleton
2Read + outlineRead paper.txt fully. Fill <jobs>/<id>/BRIEF.md (license block first, outline that follows the paper's own logic, shot list)
3Script<jobs>/<id>/script.json: scenes → sentences [subtitle, tts_text]
4Claims<jobs>/<id>/claims.json: every factual statement and every on-screen number, with source; used_in lists every sentence (<scene id>.<index>) that says or shows it
5Mechanical check (script)${CLAUDE_SKILL_DIR}/p2v check <id> → must be FAIL 0, WARN 0 for subtitles, narration and claims (scene numbers are checked again in step 8)
6Scenes<jobs>/<id>/scenes.js (templates + custom), replacing the starter scene. See references/scene-authoring.md
7Narration + timing${CLAUDE_SKILL_DIR}/p2v tts <id> → build/narration.wav, build/timing.json
8Preview QA + check${CLAUDE_SKILL_DIR}/p2v preview <id> → build/preview_*.jpg and build/onscreen.json (every string drawn). Look at every sheet (overflow, overlap, blank, legibility, camera inside geometry), then ${CLAUDE_SKILL_DIR}/p2v check <id> again: FAIL 0, WARN 0 now includes numbers drawn by scenes
9Independent verificationFresh-context verifier subagent per references/verification.md, all 5 layers, with the preview sheets → <jobs>/<id>/VERIFY.md. Fix and loop (re-run 5-8 for what changed) until it passes. Only a PASS goes to render
10Render${CLAUDE_SKILL_DIR}/p2v render <id> → <videos>/<id>_<Short-Title>[_ko].mp4 (shortcut to build/<id>.mp4) + build/contact.jpg (no Playwright: render <id> --manual, open the URL in any browser)
11Final checks${CLAUDE_SKILL_DIR}/p2v check <id> once more (the render records every frame's text, so it sees more than the preview). Must be FAIL 0, WARN 0. Watch contact.jpg
12ReportFinal report (below). If local/*.md exists in the skill folder, follow those personal add-on steps after this one

Re-runs: steps 7, 8, 10, 11 are idempotent. Change script.json → re-run 5, 7, 8, then re-verify the changed claims (9) and render.

Hard rules

  • License first. meta.json.figure_reuse decides whether paper figures may appear. Default: draw everything yourself; never paste paper figures or dataset camera images unless the license allows it (references/licensing.md). No company logos.
  • Spoken numbers count too. Narration numbers are checked as digits and as English number words. Product or model names read aloud (H100 as "H one hundred", SD3.5) need an allow_numbers entry with the reason. Leave tts in script.json empty unless the user asked for a specific voice: the engine follows lang (Kokoro for en, Supertonic for others).
  • No unsourced numbers. Every number in subtitles or on-screen strings must be covered by claims.json. Rounded numbers must state the exact source value in the claim text (e.g. "141.72 → shown as 142").
  • Keep the paper's conditions. "Best" needs its qualifiers ("among compared methods", "after benchmark-specific fine-tuning", ablation setting, hardware).
  • Label approximations and opinions on screen, not only in the claims file (derived / opinion kinds need on_screen_label).
  • Show where before how. Open each mechanism with a location/context cue (what part of the system, where on the car) before the mechanism itself.
  • Narration: Kokoro (Apache-2.0) is the default and is cleared for public use. Do not swap in voices whose terms for public or commercial use are unchecked.
  • Plain language. Expand jargon on first use; one concrete number beats three abstract sentences.

Files

  • engine/ timeline player (main.js), 3D/2D primitives (core.js), reusable templates (templates.js)
  • scripts/ fetch, tts, check_claims, serve/render (frames → MP4 via ffmpeg)
  • p2v single entry point (setup, doctor, fetch, check, tts, preview, render, collect, smoke, run); scripts/p2v_paths.py decides the folders
  • templates/job/ skeleton copied into new jobs
  • jobs/2610.30340/ complete worked example (copied into the jobs folder on first use) (Foundation4D, 14 scenes, 66 claims, 4.6 min)
  • jobs/_smoke/ and jobs/_smoke_ko/ short template-only jobs for testing the toolchain (English / Korean)
  • references/ verification, scene authoring, licensing
  • local/ (optional, git-ignored) your own add-on steps, e.g. a publishing checklist

Smoke test (after setup)

bash
${CLAUDE_SKILL_DIR}/p2v smoke        # English; stops at the first failing step; render refuses stale narration
${CLAUDE_SKILL_DIR}/p2v smoke --ko   # also tests Korean narration (downloads the Supertonic model on first run)

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Paper2video làm được gì?

Turn an arXiv paper into a narrated, fact-checked explainer video (1080p MP4) with animated 2D/3D scenes, subtitles and a verification report. Run with /paper2video <arxiv link or id> [overrides].

Vì sao nên dùng Paper2video trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Paper2video là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Paper2video trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SunandBean/paper2video/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Paper2video?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Paper2video với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Paper2video với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Paper2video có miễn phí không?

Có. Kỹ năng này được SunandBean phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇