mcpField
F
fal-video-edit

fal-video-edit

github.com/fal-ai-community创意与媒体258111 次安装24 周前更新
代码仓库

关于 fal-video-edit

fal-video-edit 是使用 fal.ai 模型编辑、重混、放大和增强现有视频的命令行技能。它还提供脚本,可为视频添加同步音频和音效。

主要功能

  1. 01视频内容编辑与重混
  2. 02视频放大
  3. 03移除视频背景
  4. 04添加同步音频和音效
  5. 05指定模型端点

适用场景

  1. 01更改现有视频的风格或内容
  2. 02提升视频分辨率
  3. 03移除视频背景
  4. 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编辑指令或风格描述混剪/编辑时必填
--operationremix、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