Skip to content
AI & Agents
Skill

/remotion-video-enhancer

影片与视频编辑及自媒体创作者在制作PPT或视频需要提升视觉表现力时,使用此技能可一键生成Remotion风格的高级转场与Framer Motion交互动画,自动规划动画序列,让内容呈现专业级动态效果。

From plugin
skill
9.6k127 skills

Claude Code

$ npx -y skills add anbeime/skill --skill remotion-video-enhancer --agent claude-code

SKILL.md

remotion-video-enhancer.SKILL.md
name: remotion-video-enhancer
description: 影片与视频编辑及自媒体创作者在制作PPT或视频需要提升视觉表现力时,使用此技能可一键生成Remotion风格的高级转场与Framer Motion交互动画,自动规划动画序列,让内容呈现专业级动态效果。
dependency:
  python:
    - moviepy>=1.0.3
    - pillow>=9.0.0
  system:
    - ffmpeg

Remotion 视频增强工具

任务目标

  • 本 Skill 用于:为 PPT 内容和视频添加 Remotion 风格的转场和动画效果
  • 能力包含:高级视频转场、Framer Motion 交互式动画、动画序列规划、多媒体增强
  • 触发条件:用户需要增强视频转场效果、添加交互式动画、或与其他 PPT Skill 协同

前置准备

  • 依赖说明:scripts 脚本所需的依赖包
  moviepy>=1.0.3
  pillow>=9.0.0
  • 系统依赖:FFmpeg(必需,用于视频转场处理)
  # Ubuntu/Debian
  sudo apt-get install ffmpeg

  # macOS
  brew install ffmpeg

操作步骤

标准流程(完整动画增强)

步骤 1:接收输入数据

根据协同模式,接收不同输入:

  • **来自 ppt-generator**:JSON 格式的 PPT 数据
  • **来自 nanobanana-ppt-visualizer**:图片文件或 HTML 播放器
  • **来自 ppt-roadshow-generator**:已合成的视频文件
  • **用户直接提供**:图片序列、视频文件或 JSON 数据

步骤 2:动画规划与配置

1. 分析输入内容,确定动画类型:

  • 视频转场增强(使用 FFmpeg)
  • HTML 交互式动画(使用 Framer Motion)
  • 混合模式(视频 + HTML)

2. 调用 `scripts/animation_planner.py`:

   python scripts/animation_planner.py \
     --input ./input_data \
     --style dynamic \
     --output ./animation_plan.json

3. 输出动画配置(animation_plan.json),包含:

  • 每个页面/片段的转场类型
  • 动画时长和缓动曲线
  • 元素入场/出场效果
  • 交互式触发条件

步骤 3:视频转场增强(FFmpeg)

1. 调用 `scripts/video_transitions.py`:

   python scripts/video_transitions.py \
     --input ./video.mp4 \
     --transitions ./animation_plan.json \
     --output ./enhanced_video.mp4

2. 支持的转场类型:

  • **淡入淡出 (Fade)**:经典淡入淡出效果
  • **滑动 (Slide)**:上下左右滑动
  • **缩放 (Zoom)**:推拉镜头效果
  • **翻转 (Flip)**:3D 翻转效果
  • **旋转 (Rotate)**:旋转过渡
  • **模糊 (Blur)**:模糊过渡
  • **溶解 (Dissolve)**:像素溶解效果
  • **弹性 (Elastic)**:弹性动画

3. 每种转场支持自定义:

  • 转场时长(默认 1-2 秒)
  • 缓动曲线(linear, ease-in, ease-out, ease-in-out, bounce, elastic)
  • 方向(上下左右)

步骤 4:HTML 动画增强(Framer Motion)

1. 调用 `scripts/html_animations.py`:

   python scripts/html_animations.py \
     --input ./ppt_data.json \
     --template enhanced_viewer.html \
     --output ./animated_viewer.html

2. Framer Motion 动画效果:

  • **页面过渡**:流畅的页面切换动画
  • **元素入场**:标题、内容逐个进场
  • **悬停效果**:鼠标悬停时的反馈动画
  • **点击效果**:点击时的涟漪或缩放效果
  • **滚动效果**:滚动时的视差动画

3. 交互式特性:

  • 键盘导航动画
  • 触摸手势支持
  • 全屏过渡动画
  • 进度条动画

步骤 5:输出增强内容

1. 视频增强输出:`enhanced_video.mp4` 2. HTML 动画输出:`animated_viewer.html` 3. 动画配置:`animation_plan.json`

与其他 Skill 协同

与 ppt-generator Skill 协同

用户请求:"生成一个带高级转场的 PPT 视频"

┌─────────────────────────────────────────────────────────┐
│  ppt-generator Skill                                    │
├─────────────────────────────────────────────────────────┤
│  7 角色协作生成 JSON 数据                                │
│  输出:ppt_data.json                                    │
└─────────────────────────────────────────────────────────┘
                          │
                          ▼ JSON 数据
┌─────────────────────────────────────────────────────────┐
│  remotion-video-enhancer Skill                         │
├─────────────────────────────────────────────────────────┤
│  1. 动画规划(animation_planner.py)                     │
│  2. HTML 动画增强(html_animations.py)                 │
│  3. 输出:animated_viewer.html                          │
└─────────────────────────────────────────────────────────┘

与 nanobanana-ppt-visualizer Skill 协同

用户请求:"为生成的播放器添加 Framer Motion 动画"

┌─────────────────────────────────────────────────────────┐
│  nanobanana-ppt-visualizer Skill                        │
├─────────────────────────────────────────────────────────┤
│  生成 HTML 播放器 + 图片                                  │
│  输出:viewer.html, slide-*.png                          │
└─────────────────────────────────────────────────────────┘
                          │
                          ▼ HTML 文件
┌─────────────────────────────────────────────────────────┐
│  remotion-video-enhancer Skill                         │
├─────────────────────────────────────────────────────────┤
│  1. 使用 Framer Motion 增强 viewer.html                 │
│  2. 添加页面过渡、元素入场、交互效果                      │
│  3. 输出:animated_viewer.html                           │
└─────────────────────────────────────────────────────────┘

与 ppt-roadshow-generator Skill 协同

用户请求:"为路演视频添加高级转场效果"

┌─────────────────────────────────────────────────────────┐
│  ppt-roadshow-generator Skill                           │
├─────────────────────────────────────────────────────────┤
│  10 角色协作生成路演视频                                  │
│  输出:roadshow_video.mp4                                │
└─────────────────────────────────────────────────────────┘
                          │
                          ▼ 视频文件
┌─────────────────────────────────────────────────────────┐
│  remotion-video-enhancer Skill                         │
├─────────────────────────────────────────────────────────┤
│  1. 动画规划(animation_planner.py)                     │
│  2. 视频转场增强(video_transitions.py)                 │
│  3. 应用 Remotion 风格转场                              │
│  4. 输出:enhanced_roadshow_video.mp4                   │
└─────────────────────────────────────────────────────────┘

独立使用模式

模式 A:仅生成动画配置

python scripts/animation_planner.py \
  --input ./ppt_data.json \
  --style dynamic \
  --output ./animation_plan.json
  • 适用于:用户希望手动调整动画参数
  • 输出:animation_plan.json

模式 B:仅增强视频转场

python scripts/video_transitions.py \
  --input ./video.mp4 \
  --transitions ./animation_plan.json \
  --output ./enhanced_video.mp4
  • 适用于:已有视频,需要增强转场效果
  • 输出:enhanced_video.mp4

模式 C:仅生成 HTML 动画

python scripts/html_animations.py \
  --input ./ppt_data.json \
  --template enhanced_viewer.html \
  --output ./animated_viewer.html
  • 适用于:需要交互式动画播放器
  • 输出:animated_viewer.html

可选分支

  • **快速模式**:使用默认动画配置,跳过动画规划
  • **自定义模式**:用户提供自定义动画配置 JSON
  • **批量处理**:一次性处理多个视频或 PPT
  • **模板模式**:使用预设动画模板(见 assets/animations/)

资源索引

  • 动画规划脚本:见 [scripts/animation_planner.py](scripts/animation_planner.py)(用途:生成动画配置)
  • 视频转场脚本:见 [scripts/video_transitions.py](scripts/vide
Read more
@anbeime
Ships withskill

收录最全、更新最快的AI Agent技能库,涵盖文档处理、内容创作、编程开发、机器学习、自动化工作流等多个领域的精选技能包。 🎁 知易多模型知识管家 · 免费试用预约 — 20+ 模型自由切换、技能市场、四色卡片知识库,留邮箱锁定免费试用名额,每周再收一份知易AI周刊。

9.6k127 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9.6k
Star history of anbeime/skill on GitHub, a chart by star-history.com

Other skills on skill.

doc-parse

doc-parse

将 PDF/PPT/Excel/Word 等多格式文档解析为结构化 Markdown,并输出元数据与解析置信度,作为 RAG 与四色卡片的数据底座。

@anbeime@anbeimeInstall Skill
four-color-cards

four-color-cards

基于解析后的文档与用户意图,生成四色卡片——事实蓝卡、解释绿卡、风险黄卡、行动红卡,是八官署方法论的核心分析输出。

@anbeime@anbeimeInstall Skill
provenance

provenance

收集系统全链路操作日志,生成可追溯的执行证据链与向量索引,是多智能体系统可观测性与安全审计的底座。

@anbeime@anbeimeInstall Skill
security-scan

security-scan

对进入系统的文件或 URL 执行安全与合规扫描,输出 pass/reject 判定与扫描报告,作为所有文档处理的强制前置关卡。

@anbeime@anbeimeInstall Skill
RuiC-card-skill

RuiC-card-skill

Generate interactive 3D holographic collectible-card websites from a user description or reference image, using layered artwork,…

@anbeime@anbeimeInstall Skill
agent-team

agent-team

产品经理与项目管理专家在应对复杂项目时,使用此技能可动态组建包含“执行、指挥、评审”的专属AI团队。实时查看多智能体辩论与决策全过程,共享统一上下文记忆,一键完成从会议决策到系统构建的全流程高效协同!

@anbeime@anbeimeInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw2w393k
@openclaw@openclawInstall Skill

Questions about remotion-video-enhancer.

Which coding agents can use remotion-video-enhancer?
remotion-video-enhancer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.