技能图谱SKILLSGROVE
技能图谱/视频制作/ZJU-REAL/Easel/real-lab-paper2video-v1

real-lab-paper2video-v1

安装

$npx skills add https://github.com/ZJU-REAL/Easel --skill real-lab-paper2video-v1
$git clone --depth 1 https://github.com/ZJU-REAL/Easel.git /tmp/Easel && mkdir -p ~/.claude/skills && cp -r /tmp/Easel/skills/builtin/real-lab-paper2video-v1 ~/.claude/skills/real-lab-paper2video-v1
请帮我安装这个 Agent Skill:https://github.com/ZJU-REAL/Easel/tree/011e10d86711c7ace3cbb01153f8915dbd018020/skills/builtin/real-lab-paper2video-v1 ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · Apache-2.0当用户需要论文视频、研究成果宣传片或修订成片时,制作或修订简洁优雅的论文讲解与宣传视频。将论文 PDF、arXiv 链接或素材包转为约三分钟的中文视频,使用完整论文原图、精准框选、内容动画、清晰轻快的配音配乐,并提供可编辑工程与成片检查;仅需图文时不使用本技能,通用论文解读用 paper-explainer。
以下 SKILL.md 内容转载自 ZJU-REAL/Easel(提交 011e10d),依据 Apache-2.0 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 owner or entity authorized by 所有。许可证:skills/builtin/real-lab-paper2video-v1/LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

REAL Lab Paper2Video v1

制作一支主线清楚、证据直观、阅读轻松的研究视频。默认采用中文、约三分钟、16:9、1920×1080、恒定 30 fps,配中文字幕和轻快器乐。按用户指定的语言、时长、声音和风格调整这些默认值。

Easel 接入

  • 从项目根运行,Python 使用 .venv/bin/python。Easel 中统一经 scripts/easel_video.py 调用工具,它校验产物路径并复用 Python Playwright 自带的 Node 模块;原始工具随工程复制后仍可独立使用。
  • 一个论文项目使用 outputs/<论文简称>/。可编辑工程放 outputs/<论文简称>/assets/paper-video/,事实表、素材、音轨、QA 和预览均在工程内;最终 final.mp4、subtitles.srt、script.md、cover.png 放主题根目录。
  • 环境检查:.venv/bin/python skills/builtin/real-lab-paper2video-v1/scripts/easel_video.py assets check。PDF 依赖见 requirements.txt;Poppler 提供 pdftotext / pdftoppm,渲染复用 Node.js、Playwright Chromium 与 FFmpeg。
  • 配音与配乐可复用 tts-voiceover、audio-mix,沿用用户在 Easel 配置的声音服务;未配置时按对应技能的本地方案处理。此技能制作视频,不自动发布。

制作顺序

  1. 建立论文事实与素材。 读取指定版本 PDF,记录标题、作者、链接和文件哈希。将核心结论、实验条件、指标及局限整理成事实表。复用同版本素材包,或用内置资产模块取得完整图表。
  2. 确定叙事与镜头。 用“问题 → 核心想法 → 方法 → 实验证据 → 结论”串起全文,每页表达一个结论。为每页写出旁白、屏上短文案、配图、强调目标和动画节拍。按论文内容选择页面版式。
  3. 制作声音与时间轴。 沿用已指定的人声,或生成清晰、明亮、自然的连续旁白。依据词边界或音频对齐结果确定字幕、页面和强调时段;配入低音量轻快器乐。具体参数见讲稿与声音制作。
  4. 实现画面。 根据素材与叙事选择开场:合适的 teaser 或代表性成果图可直接呈现亮点,也可用标题、关键问题或简洁示意引入,动画按解释需要添加。方法与实验用完整原图呈现证据。按论文内容、原图色彩和用户风格选择协调的配色,以清楚的明暗对比和少量强调色建立层级,全片保持一致。图像加白边,字幕占独立区域。对正在解释的具体模块或结果添加短暂单框提示。
  5. 预览并渲染。 使用确定性的 render(t) 和统一时间轴。先看开场、密集方法图、实验页及转场样片,再按整数帧导出整片。新工程使用内置模板,已有工程沿用现有技术栈;命令见工程工具。
  6. 验收并交付。 按成片验收核对最终 MP4 的画面、框选、转场、字幕和音频。交付视频、SRT、讲稿/镜头表、封面、可编辑工程与简短检查记录。

画面执行要点

  • 简洁: 每页保持明确的视觉焦点和充足留白;主标题只出现一次,辅助文案补充解释或证据,元素与装饰服务于当前讲解。
  • 原图: 以整张 Figure/Table 为单位,contain 等比适配,保留子图、图例、标签和表格行列。
  • 留白: 图框内白边 22 px、外圆角 12 px;白边外缘与字幕线至少相距 32 px,以上尺寸以 1080p 为基准。
  • 框选: 用原图坐标定位具体目标,按口播时段出现;一框结束后再出现下一框。全景介绍以稳定整图承载信息。
  • 转场: 图像用约 0.64 秒的互补遮罩擦入;标题、正文和数字统一先淡出、后淡入。连续讲解同一 Pipeline 时保持图的位置与大小。
  • 文字: 主标题 54–64 px、正文 30–40 px、字幕约 40 px。侧栏概括关键点,底部承载字幕,出处放工程元数据或片尾。
  • 声音: 专业、轻松、明快;轻拨弦、键盘和轻打击配乐在人声期间保持低音量。

内容库与画像

  • 有画像时读取 profiles/<画像>/ 的受众、风格与平台偏好,用户本次要求优先;不把 REAL Lab 案例中的作者身份或成果归属套到其他论文。无画像仍按本技能默认值工作。
  • 交付后用 skills/shared/scripts/manifest.py meta 登记 kind=video、status=draft、封面和真实成品相对路径;再用 record --layer produce --skill real-lab-paper2video-v1 记录步骤。项目 .easel.json 与工程内部时间轴/素材 manifest 分开。

修订已有视频

从最新源工程和成片开始,沿用已认可的版式、素材、配音与音乐。把新要求落实到具体镜头、图层和时间区间,重渲受影响片段及相邻转场,再从新 MP4 取预览。画面修订沿用音频时间轴;讲稿修订同步更新旁白、字幕、页面与框选时段。

内置资源

资源 用途
scripts/easel_video.py Easel 路径校验与工具统一入口
scripts/init_project.py 创建独立工程,复制模板及资产模块
scripts/paper_assets.py、vendor/paper2assets/ 原图/PDF 提取、素材打包、二维码和 Logo
assets/project-template/ 浅色页面、字幕区、确定性动画与转场骨架
assets/project-template/motion-utils.js 白边/contain 坐标换算、单框时序、图文分层转场
scripts/render.cjs 静帧、片段和整片渲染
scripts/verify_video.py 帧数、时间戳、解码、响度和参考帧比较
查看许可证全文(Apache-2.0)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
查看 NOTICE 声明
real-lab-paper2video-v1
Copyright 2026 hongxingli319

The original code, documentation, project templates, and Easel integration are
licensed under the Apache License, Version 2.0. See LICENSE.

This product includes paper2assets from Microsoft ResearchStudio:
https://github.com/microsoft/ResearchStudio
Copyright (c) 2026 Happy

paper2assets is distributed under the MIT License. Its original copyright
and permission notice are reproduced in vendor/paper2assets/LICENSE.
The exact source revision and file inventory are recorded in
vendor/paper2assets/UPSTREAM.json. The vendored code retains its MIT license.