Video to keyframes

From trae-community/trae-skills · View interactive version

Video to keyframes is an AI agent skill from the GitHub repository trae-community/trae-skills. Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries. Invoke when users ask for keyframes/cuts/segmentation/storyboard screening.

How to use this skill

Skill file

视频转关键帧(video-to-keyframes)

把用户提供的视频转成“候选帧池 → 转场/分段 → 候选关键帧集 → 复筛画廊页”,并把产物落盘到当天文件夹,方便后续分镜与生成。

何时调用

依赖

输入

输出(固定规范)

在 <当天文件夹> 下生成:

一键运行(推荐)

python .\skills\video-to-keyframes\resources\scripts\run_video_workflow.py "<视频路径>" --day-folder "<当天文件夹>" --every-seconds 0.5 --max-frames 600

注意:一键运行只负责产出文件,不等于完成复筛;必须打开 gallery.html 做人工/AI语义复筛,并把最终选择写入 selected.txt。

复筛要点(简版)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.