Logo de Paper2video

Paper2video

Communauté
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].

Présentation

ÉditeurSunandBean
Dépôtpaper2video
Nom de la compétencepaper2video
Étoiles
47
Forks
9
Fichiers inclus
42
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 42 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par SunandBean sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Paper2video dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/SunandBean/paper2video/tree/main
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SunandBean/paper2video.git \
  .claude/skills/paper2video
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Paper2video dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Paper2video dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Paper2video n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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)

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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].

Pourquoi utiliser Paper2video sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Paper2video se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Paper2video dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/SunandBean/paper2video/tree/main. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Paper2video ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Paper2video ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Paper2video avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Paper2video est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par SunandBean sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇