AI视频剪辑Skill
全自动AI视频剪辑Skill。当用户请求以下操作时触发: - "帮我剪辑视频"、"自动剪辑"、"AI剪辑视频" - "剪辑电影素材"、"批量剪辑视频"、"自动生成视频" - "视频素材自动处理"、"从素材自动生成成片" - "制作短剧集"、"剪辑短视频"、"自动导出视频" - "素材自动导入"、"视频自动添加字幕... Skill: AI视频剪辑Skill Owner: ai285384076-droid Summary: 全自动AI视频剪辑Skill。当用户请求以下操作时触发: - "帮我剪辑视频"、"自动剪辑"、"AI剪辑视频" - "剪辑电影素材"、"批量剪辑视频"、"自动生成视频" - "视频素材自动处理"、"从素材自动生成成片" - "制作短剧集"、"剪辑短视频"、"自动导出视频" - "素材自动导入"、"视频自动添加字幕... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-20T01:42:45.218Z | user AI视频剪辑Skill首次发布,提供全自动从素材到成片的视频剪辑解决方案。 - 支持自动识别视频、音频、图片多种素材,智能分析内容并筛除无效片段 - 一键实现视频风格匹配、高光片段提取、自动转场、时长控制等剪辑逻辑 - 集成人声增强、背景音乐匹配、音效自动添
Rank
62
Safety
84
Downloads
2.2k
Updated
Oct 9, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.2K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.2K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.0.0release · observed Apr 20, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s1722bfp9kh0fydrb3qc2d7ctd857qa0:ai-video-clipper- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ai285384076-droid-ai-video-clipper/snapshot"
Documentation
CLAWHUB
20,266 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: ai-video-clipper
description: |
全自动AI视频剪辑Skill。当用户请求以下操作时触发:
- "帮我剪辑视频"、"自动剪辑"、"AI剪辑视频"
- "剪辑电影素材"、"批量剪辑视频"、"自动生成视频"
- "视频素材自动处理"、"从素材自动生成成片"
- "制作短剧集"、"剪辑短视频"、"自动导出视频"
- "素材自动导入"、"视频自动添加字幕"、"自动添加背景音乐"
- "视频自动转场"、"特效自动添加"、"滤镜自动匹配"
- 任何涉及视频剪辑、素材处理、自动成片生成的需求
triggers:
- 自动剪辑视频
- AI视频剪辑
- 批量剪辑
- 素材自动处理
- 全自动视频制作
---
# AI视频剪辑Skill
全自动化AI视频剪辑解决方案,实现从素材导入到成片导出的全流程无人干预。
## 核心能力
### 1. 素材智能处理
- **自动识别**:解析视频(mp4/mov/avi/mkv)、音频(mp3/wav)、图片(jpg/png)格式
- **内容分析**:识别场景、人物、动作、文字、音频类型
- **智能筛选**:自动剔除黑屏、模糊、杂音等无效素材
### 2. 剪辑逻辑自主决策
- **风格匹配**:根据内容自动确定剪辑风格(卡点/叙事/快节奏/慢节奏)
- **片段选取**:自动提取高光片段,智能排序确保流畅
- **转场添加**:根据场景切换自动匹配淡入淡出/叠化/闪白等转场
- **时长控制**:精准匹配预设时长(15秒/30秒/1分钟/5分钟等)
### 3. 音频智能优化
- **人声增强**:自动降噪、增强人声清晰度
- **背景音乐**:根据视频节奏自动匹配、卡点同步
- **音效添加**:识别关键动作自动添加对应音效
### 4. 字幕自动生成
- **语音转文字**:自动识别台词,支持中英双语
- **智能排版**:自动调整位置、字体、颜色
- **错误修正**:自动识别并修正错别字
### 5. 特效与优化
- **滤镜匹配**:根据场景(风景/人物/夜景)自动添加
- **画面优化**:自动调整亮度、对比度、饱和度
- **特效添加**:关键片段自动添加光晕/粒子/缩放特效
### 6. 全自动导出
- **智能参数**:根据素材自动设置分辨率/帧率/比特率
- **自动存储**:按"日期+主题+时长"命名,存储至预设路径
- **异常处理**:导出失败自动重试或记录日志
## 使用方式
### 基础剪辑命令
```
用户:"帮我剪辑D:\电影下的搞笑片段,生成3-5分钟的搞笑集锦"
```
### 执行流程
#### Step 1: 素材准备
确认素材来源路径,使用 `scripts/analyze_media.py` 分析素材内容:
```bash
python scripts/analyze_media.py --input "D:\电影" --output "D:\AI视频剪辑\素材分析"
```
#### Step 2: 配置剪辑参数
根据用户需求设置:
- **目标时长**:15秒/30秒/1分钟/3分钟/5分钟
- **输出格式**:mp4(推荐)/mov
- **分辨率**:保持原分辨率或指定(如1080p)
- **存储路径**:金山文档同步目录或本地指定路径
#### Step 3: 执行自动剪辑
使用 `scripts/auto_clip.py` 执行全自动剪辑:
```bash
python scripts/auto_clip.py --config "配置文件路径"
```
#### Step 4: 字幕与特效
使用 `scripts/add_subtitles.py` 生成字幕:
```bash
python scripts/add_subtitles.py --input "成片路径" --output "带字幕版本"
```
#### Step 5: 最终导出
使用 `scripts/export_final.py` 导出成片:
```bash
python scripts/export_final.py --input "待导出视频" --preset "高质量/标准/压缩"
```
## 脚本说明
| 脚本 | 功能 | 输入 | 输出 |
|------|------|------|------|
| `analyze_media.py` | 素材分析 | 素材目录 | 分析报告JSON |
| `auto_clip.py` | 自动剪辑 | 分析报告+配置 | 中间视频文件 |
| `audio_process.py` | 音频处理 | 视频文件 | 处理后音频 |
| `add_subtitles.py` | 字幕生成 | 视频文件 | 带字幕视频 |
| `add_effects.py` | 特效添加 | 视频文件 | 添加特效后视频 |
| `export_final.py` | 最终导出 | 处理后视频 | 成片文件 |
## 配置模板
### 默认配置 (references/default_config.yaml)
```yaml
output:
format: mp4
resolution: "1920x1080"
frame_rate: 30
bitrate: "8M"
subtitle:
enabled: true
language: "zh-CN"
position: "bottom_center"
font_size: 36
color: "white"
audio:
bgm_volume: 0.3
voice_volume: 1.0
enhance_voice: true
style:
transition: "fade" # fade/ dissolve/ cut/ flash
transition_duration: 0.5
filter_preset: "auto" # auto/ vivid/ vintage/ cool/ warm
export:
storage_path: "D:\AI视频剪辑\成品"
naming: "{date}_{theme}_{duration}"
```
## 适用场景
| 场景 | 推荐配置 | 预期时长 |
|------|----------|----------|
| 搞笑集锦 | 快节奏卡点+音效 | 3-5分钟 |
| 电影解说 | 叙事风格+字幕 | 5-15分钟 |
| 短视频 | 高潮片段+滤镜 | 15README.md
# AI视频剪辑Skill(ai-video-clipper) > 全自动AI视频剪辑,从素材导入到成片导出,全程无需人工干预。 ## 功能亮点 - 🎬 **全自动剪辑**:AI自主完成素材分析、片段筛选、排序、转场、导出 - 🎵 **音频智能处理**:人声降噪增强 + 背景音乐自动匹配卡点 - 📝 **字幕自动生成**:Whisper语音识别,中英双语,自动排版 - ✨ **特效与滤镜**:场景智能匹配滤镜,关键片段自动添加特效 - ⚡ **高效批量**:单条视频剪辑≤3分钟,支持批量处理 ## 快速开始 ```bash # 一键全自动剪辑 python scripts/full_pipeline.py -i "D:\电影" -d 180 -o "D:\AI视频剪辑" ``` | 参数 | 说明 | 示例 | |------|------|------| | `-i` | 素材目录 | `D:\电影` | | `-d` | 目标时长(秒) | `180`(3分钟) | | `-o` | 输出目录 | `D:\AI视频剪辑` | | `-s` | 剪辑风格 | `auto/quick/slow/narrative` | | `--filter` | 滤镜风格 | `auto/vivid/vintage/cool/warm` | ## 环境要求 - Python 3.8+ - FFmpeg(需提前安装并配置环境变量) - 详见 `requirements.txt` ## 适用场景 | 场景 | 推荐配置 | 时长 | |------|----------|------| | 搞笑集锦 | 快节奏+音效 | 3-5分钟 | | 短视频 | 高潮片段+滤镜 | 15-60秒 | | 电影解说 | 叙事风格+字幕 | 5-15分钟 | | Vlog剪辑 | 自然过渡+BGM | 3-10分钟 | ## 安装方式 将本 Skill 放入 `~/.workbuddy/skills/` 目录后重启 WorkBuddy 即可生效。 ## 开源协议 MIT-0 License — 可自由使用、修改、分发。
_meta.json
{
"ownerId": "kn72y6ybqwrcyg0e1v4shrpjz1857jns",
"slug": "ai-video-clipper",
"version": "1.0.0",
"publishedAt": 1776649365218
}references/default_config.yaml
# AI视频剪辑 - 默认配置文件 # 首次使用时请根据需求修改以下配置 # ============ 基础设置 ============ # 素材目录(必填) input_dir: "D:\电影" # 输出目录 output_dir: "D:\AI视频剪辑" # 存储路径(最终成品存放位置) storage_path: "D:\AI视频剪辑\成品" # 剪辑主题(用于命名) theme: "搞笑集锦" # ============ 剪辑参数 ============ # 目标时长(秒) target_duration: 180 # 3分钟 # 剪辑风格 # auto: 自动匹配 # quick: 快节奏卡点 # slow: 慢节奏舒缓 # narrative: 叙事风格 style: "auto" # 转场效果 # fade: 淡入淡出 # dissolve: 叠化 # cut: 直接切换 # flash: 闪白 transition: "fade" # 转场时长(秒) transition_duration: 0.5 # 最小/最大片段时长(秒) min_clip_duration: 2 max_clip_duration: 15 # 淡入淡出时长(秒) fade_in: 1.0 fade_out: 1.0 # ============ 音频设置 ============ # 背景音乐 bgm_enabled: true bgm_path: "D:\AI视频剪辑\素材\背景音乐" bgm_volume: 0.3 # 人声设置 voice_volume: 1.0 noise_reduction: true enhance_voice: true # ============ 字幕设置 ============ # 字幕生成 subtitle_enabled: true subtitle_language: "zh" # zh: 中文, en: 英文, auto: 自动检测 subtitle_burn: true # 是否烧录到视频 # 字幕样式 subtitle_style: font_size: 36 color: "white" position: "bottom_center" # bottom_center, top_center, center # ============ 特效设置 ============ # 滤镜预设 # auto: 自动匹配 # vivid: 鲜艳 # vintage: 复古 # cool: 冷色调 # warm: 暖色调 # bw: 黑白 # cinema: 电影感 filter: "auto" # 特效列表(可多选) # vignette: 暗角 # blur: 模糊 # glow: 光晕 # zoom: 缩放 effects: [] # 画面调整 brightness: 0 # -1 to 1 contrast: 1.0 # 0 to 2 saturation: 1.0 # 0 to 2 sharpness: 1.0 # 0 to 2 # ============ 导出设置 ============ # 导出预设 # high: 高质量(慢速编码) # medium: 标准质量 # low: 低质量(快速编码) export_preset: "high" # 导出格式 export_format: "mp4" # 输出分辨率(空=保持原分辨率) export_resolution: "" # 输出帧率(0=保持原帧率) export_fps: 0 # ============ 高级设置 ============ # 自动清理临时文件 auto_cleanup: true # 生成预览 generate_preview: false # ============ 场景预设 ============ # 搞笑集锦 preset_funny: target_duration: 180 style: "quick" transition: "cut" filter: "vivid" effects: [] # 电影解说 preset_movie_review: target_duration: 600 style: "narrative" transition: "fade" subtitle_enabled: true filter: "cinema" # 短视频 preset_short: target_duration: 60 style: "quick" transition: "flash" filter: "vivid" effects: ["vignette"] # Vlog preset_vlog: target_duration: 300 style: "auto" transition: "dissolve" filter: "warm" bgm_enabled: true
references/ffmpeg_guide.md
# FFmpeg 命令参考 ## 基础命令 ### 查看视频信息 ```bash ffprobe -v quiet -print_format json -show_format -show_streams input.mp4 ``` ### 格式转换 ```bash ffmpeg -i input.avi output.mp4 ``` ### 提取音频 ```bash ffmpeg -i input.mp4 -vn -acodec pcm_s16le output.wav ``` ## 视频剪辑 ### 按时间截取 ```bash ffmpeg -i input.mp4 -ss 00:00:10 -t 00:00:30 -c copy output.mp4 ``` ### 合并多个视频 ```bash # 创建 concat.txt file 'input1.mp4' file 'input2.mp4' # 执行合并 ffmpeg -f concat -safe 0 -i concat.txt -c copy output.mp4 ``` ### 调整播放速度 ```bash # 2倍速 ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" -af "atempo=2.0" output.mp4 # 0.5倍速(慢动作) ffmpeg -i input.mp4 -filter:v "setpts=2.0*PTS" -af "atempo=0.5" output.mp4 ``` ## 转场效果 ### 淡入淡出 ```bash # 视频淡入淡出 ffmpeg -i input.mp4 -vf "fade=t=in:st=0:d=2,fade=t=out:st=58:d=2" output.mp4 # 音频淡入淡出 ffmpeg -i input.mp4 -af "afade=t=in:st=0:d=2,afade=t=out:st=58:d=2" output.mp4 ``` ### 叠化(交叉淡化) ```bash ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "xfade=transition=dissolve:duration=1:offset=5" output.mp4 ``` ## 滤镜效果 ### 缩放分辨率 ```bash ffmpeg -i input.mp4 -vf "scale=1920:1080" output.mp4 ``` ### 调整帧率 ```bash ffmpeg -i input.mp4 -vf "fps=30" output.mp4 ``` ### 画面调整 ```bash # 亮度、对比度、饱和度 ffmpeg -i input.mp4 -vf "eq=brightness=0.1:contrast=1.2:saturation=1.3" output.mp4 # 锐化 ffmpeg -i input.mp4 -vf "unsharp=5:5:0.8:3:3:0.4" output.mp4 ``` ### 暗角效果 ```bash ffmpeg -i input.mp4 -vf "vignette=angle=0.5" output.mp4 ``` ### 模糊效果 ```bash ffmpeg -i input.mp4 -vf "boxblur=2:1" output.mp4 ``` ### 颜色调整 ```bash # 冷色调 ffmpeg -i input.mp4 -vf "colortemperature=s:8000K" output.mp4 # 暖色调 ffmpeg -i input.mp4 -vf "colortemperature=t:6500K" output.mp4 ``` ## 字幕处理 ### 烧录字幕 ```bash ffmpeg -i input.mp4 -vf "subtitles='subtitle.srt':force_style='FontSize=24,PrimaryColour=&HFFFFFF&'" output.mp4 ``` ### 嵌入字幕流 ```bash ffmpeg -i input.mp4 -i subtitle.srt -c:s mov_text -c:v copy -c:a copy output.mp4 ``` ## 音频处理 ### 调整音量 ```bash ffmpeg -i input.mp4 -af "volume=1.5" output.mp4 ``` ### 混音 ```bash ffmpeg -i video.mp4 -i bgm.mp3 -filter_complex "[0:a]volume=1.0[voice];[1:a]volume=0.3[bgm];[voice][bgm]amix=inputs=2:duration=first[aout]" -map 0:v -map "[aout]" output.mp4 ``` ### 降噪 ```bash ffmpeg -i input.mp4 -af "afftdn=nf=-25" output.mp4 ``` ### 音量标准化 ```bash ffmpeg -i input.mp4 -af "loudnorm=I=-16:TP=-1.5:LRA=11" output.mp4 ``` ## 编码参数 ### H.264 编码预设 ```bash # 快速编码 ffmpeg -i input.mp4 -c:v libx264 -preset ultrafast -crf 23 output.mp4 # 慢速编码(更高质量) ffmpeg -i input.mp4 -c:v libx264 -preset veryslow -crf 18 output.mp4 ``` ### CRF 值参考 | CRF | 质量 | 适用场景 | |-----|------|----------| | 18-20 | 近乎无损 | 存档 | | 23 | 默认 | 通用 | | 26-28 | 较低质量 | 流媒体 | | 28+ | 低质量 | 移动端 | ### 比特率控制 ```bash # 固定比特率 ffmpeg -i input.mp4 -b:v 5M -maxrate 6M -bufsize 10M output.mp4 # 使用 CRF ffmpeg -i input.mp4 -crf 23 -preset medium output.mp4
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/ai285384076-droid/skills/ai-video-clipper",
"sourceUrl": "https://clawhub.ai/ai285384076-droid/skills/ai-video-clipper",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T17:34:32.060Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-ai285384076-droid-ai-video-clipper/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-ai285384076-droid-ai-video-clipper/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T17:34:32.060Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.2K downloads",
"href": "https://clawhub.ai/ai285384076-droid/ai-video-clipper",
"sourceUrl": "https://clawhub.ai/ai285384076-droid/ai-video-clipper",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T17:34:32.060Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/ai285384076-droid/ai-video-clipper",
"sourceUrl": "https://clawhub.ai/ai285384076-droid/ai-video-clipper",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-20T01:42:45.218Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-ai285384076-droid-ai-video-clipper/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-ai285384076-droid-ai-video-clipper/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "AI视频剪辑Skill首次发布,提供全自动从素材到成片的视频剪辑解决方案。 - 支持自动识别视频、音频、图片多种素材,智能分析内容并筛除无效片段 - 一键实现视频风格匹配、高光片段提取、自动转场、时长控制等剪辑逻辑 - 集成人声增强、背景音乐匹配、音效自动添加与字幕生成 - 自动滤镜、特效、画面优化及成片导出,支持高质量、标准及压缩输出 - 提供全流程操作指引与脚本,适配多种剪辑场景 - 依赖FFmpeg、Whisper、MoviePy等主流技术框架",
"href": "https://clawhub.ai/ai285384076-droid/ai-video-clipper",
"sourceUrl": "https://clawhub.ai/ai285384076-droid/ai-video-clipper",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-20T01:42:45.218Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
