关于 fal-video-edit
fal-video-edit 是使用 fal.ai 模型编辑、重混、放大和增强现有视频的命令行技能。它还提供脚本,可为视频添加同步音频和音效。
主要功能
- 01视频内容编辑与重混
- 02视频放大
- 03移除视频背景
- 04添加同步音频和音效
- 05指定模型端点
适用场景
- 01更改现有视频的风格或内容
- 02提升视频分辨率
- 03移除视频背景
- 04为静音视频添加描述的声音
MCP 相关
README 提及可使用 `search_models` MCP 工具查找视频编辑与增强模型。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ fal-ai-community/ skills --skill fal-video-edit安装后在 Claude Code 中输入/fal-video-edit确认已加载。
附带文件scripts/edit-video.shscripts/video-audio.sh
详细介绍
fal-video-edit
使用 fal.ai 模型编辑、混剪、升频和增强现有视频。
脚本
| 脚本 | 用途 |
|---|---|
edit-video.sh | 使用 AI 编辑或混剪视频 |
video-audio.sh | 为视频添加同步音频/音效 |
用法
混剪/重塑视频风格
./scripts/edit-video.sh --video-url "https://example.com/video.mp4" --prompt "Transform into anime style" --operation remix
编辑视频内容
./scripts/edit-video.sh --video-url "https://example.com/video.mp4" --prompt "Remove the person in the background" --operation edit
升频视频
./scripts/edit-video.sh --video-url "https://example.com/video.mp4" --operation upscale
移除视频背景
./scripts/edit-video.sh --video-url "https://example.com/video.mp4" --operation remove-bg
为视频添加音频
./scripts/video-audio.sh --video-url "https://example.com/silent-video.mp4" --prompt "City street ambiance with car horns and people talking"
参数
edit-video.sh
| 参数 | 说明 | 必填 |
|---|---|---|
--video-url | 要编辑的视频 URL | 是 |
--prompt / -p | 编辑指令或风格描述 | 混剪/编辑时必填 |
--operation | remix、edit、upscale、remove-bg | 是 |
--model / -m | 覆盖模型端点 | 否 |
video-audio.sh
| 参数 | 说明 | 必填 |
|---|---|---|
--video-url | 要添加音频的视频 URL | 是 |
--prompt / -p | 所需音频/声音的描述 | 否 |
--model / -m | 模型端点 | 否(默认值:fal-ai/mmaudio-v2) |
查找模型
若要发现最新、最适合的视频编辑模型,请使用搜索 API:
# Search for video editing models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "video editing"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "video-to-video"
# Search for video upscaling
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "upscale video"
# Search for video background removal
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "video background removal"
# Search for video audio generation
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "video to audio"
或者使用 search_models MCP 工具,并搜索“video edit”“video remix”“video upscale”“video audio”等关键词。
评论
支持 Markdown