关于 ai-video-generation
这是一个通过 belt 命令行调用 40 多种 AI 模型生成和编辑视频的 skill,面向需要视频创作的用户。它涵盖文本或图像生成视频、虚拟形象、音频处理及后期工具。
主要功能
- 01文本生成视频和图像生成视频
- 02生成虚拟形象及口型同步
- 03通过自然语言编辑视频
- 04添加音效并提升视频画质
- 05使用转场合并片段
适用场景
- 01根据文本提示生成视频
- 02为图像或参考角色制作动画
- 03根据图像和音频制作口播视频
- 04改善视频、添加声音或合并片段
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ inference-sh/ skills --skill ai-video-generation安装后在 Claude Code 中输入/ai-video-generation确认已加载。
详细介绍
安装 belt CLI skill:
npx skills add belt-sh/cli
AI 视频生成
通过 inference.sh CLI 使用 40 多种 AI 模型生成视频。

快速开始
需要 inference.sh CLI(
belt)。安装说明
belt login
# Generate a video with Veo
belt app run google/veo-3-1-fast --input '{"prompt": "drone shot flying over a forest"}'
可用模型
文本生成视频
| 模型 | App ID | 最适用于 |
|---|---|---|
| Veo 3.1 Fast | google/veo-3-1-fast | 生成速度快,可选音频 |
| Veo 3.1 | google/veo-3-1 | 画质最佳,支持帧插值 |
| P-Video | pruna/p-video | 速度快、经济实惠,支持音频 |
| WAN-T2V | pruna/wan-t2v | 经济实惠的 480p/720p 视频 |
| Grok Video | xai/grok-imagine-video | xAI,可配置时长 |
| Seedance 2.0 | bytedance/seedance-2-0 | 文本/图像/参考图生成视频,带同步音频,最高 1080p |
| Seedance 2.0 Fast | bytedance/seedance-2-0-fast | 快速版本,功能相同 |
| HappyHorse T2V | alibaba/happyhorse-1-0-t2v | 物理效果逼真,最长 15s |
图像生成视频
| 模型 | App ID | 最适用于 |
|---|---|---|
| Wan 2.5 | falai/wan-2-5 | 为任意图像添加动画 |
| Wan 2.5 I2V | falai/wan-2-5-i2v | 高质量图像生成视频 |
| WAN-I2V | pruna/wan-i2v | 经济实惠的 480p/720p 视频 |
| P-Video | pruna/p-video | 快速生成图像视频,支持音频 |
| Seedance 2.0 | bytedance/seedance-2-0 | 为图像添加动画,带同步音频,最高 1080p |
| Seedance 2.0 Fast | bytedance/seedance-2-0-fast | 快速版本,功能相同 |
| HappyHorse I2V | alibaba/happyhorse-1-0-i2v | 为图像添加动画,最高 1080P/15s |
| HappyHorse R2V | alibaba/happyhorse-1-0-r2v | 根据参考素材生成视频并保留角色特征 |
虚拟形象 / 口型同步
| 模型 | App ID | 最适用于 |
|---|---|---|
| OmniHuman 1.5 | bytedance/omnihuman-1-5 | 多角色 |
| OmniHuman 1.0 | bytedance/omnihuman-1-0 | 单角色 |
| Fabric 1.0 | falai/fabric-1-0 | 让图像开口说话并同步口型 |
| PixVerse Lipsync | falai/pixverse-lipsync | 逼真的口型同步 |
视频编辑
| 模型 | App ID | 最适用于 |
|---|---|---|
| HappyHorse Edit | alibaba/happyhorse-1-0-video-edit | 使用自然语言编辑视频 |
实用工具
| 工具 | App ID | 描述 |
|---|---|---|
| MMAudio | infsh/mmaudio | 为视频添加音效 |
| Topaz Upscaler | falai/topaz-video-upscaler | 提升视频画质 |
| Media Merger | infsh/media-merger | 合并视频并添加转场 |
浏览所有视频应用
belt app list --category video
示例
使用 Veo 文本生成视频
belt app run google/veo-3-1-fast --input '{
"prompt": "A timelapse of a flower blooming in a garden"
}'
Grok Video
belt app run xai/grok-imagine-video --input '{
"prompt": "Waves crashing on a beach at sunset",
"duration": 5
}'
使用 Wan 2.5 图像生成视频
belt app run falai/wan-2-5-i2v --input '{
"image": "https://your-image.jpg",
"prompt": "slow camera push-in"
}'
AI 虚拟形象 / 讲话头像
belt app run bytedance/omnihuman-1-5 --input '{
"image": "https://portrait.jpg",
"audio": "https://speech.mp3"
}'
Fabric 口型同步
belt app run falai/fabric-1-0 --input '{
"image": "https://face.jpg",
"audio": "https://audio.mp3"
}'
Seedance 2.0 文本生成带音频的视频
belt app run bytedance/seedance-2-0 --input '{
"prompt": "a jazz band performing in a dimly lit club",
"generate_audio": true,
"duration": 10
}'
Seedance 2.0 图像生成视频
belt app run bytedance/seedance-2-0 --input '{
"image": "https://your-image.jpg",
"prompt": "gentle camera movement, leaves rustling in the wind",
"generate_audio": true
}'
Seedance 2.0 参考图生成视频
belt app run bytedance/seedance-2-0 --input '{
"prompt": "A person who looks like the reference walking through a garden",
"reference_image": "https://portrait.jpg",
"generate_audio": true
}'
HappyHorse 文本生成视频
belt app run alibaba/happyhorse-1-0-t2v --input '{
"prompt": "a golden retriever running through autumn leaves, slow motion",
"duration": 10,
"resolution": "1080P"
}'
HappyHorse 视频编辑
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "change the background to a snowy mountain landscape"
}'
PixVerse 口型同步
belt app run falai/pixverse-lipsync --input '{
"video": "https://talking-head.mp4",
"audio": "https://speech.mp3"
}'
需要输入视频,而非静态图像。省略 audio 并传入 text(以及可选的 voice_id)即可使用内置 TTS。
视频升频
belt app run falai/topaz-video-upscaler --input '{"video": "https://..."}'
添加音效(拟音)
belt app run infsh/mmaudio --input '{
"video_input": "https://silent-video.mp4",
"prompt": "footsteps on gravel, birds chirping"
}'
合并视频
belt app run infsh/media-merger --input '{
"media_files": [
{"file": "https://clip1.mp4", "transition_type": "crossfade"},
{"file": "https://clip2.mp4"}
]
}'
相关技能
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
# Pruna P-Video (fast & economical)
npx skills add inference-sh/skills@p-video
# Google Veo specific
npx skills add inference-sh/skills@google-veo
# Seedance 2.0
npx skills add inference-sh/skills@seedance
# HappyHorse 1.0
npx skills add inference-sh/skills@happyhorse
# AI avatars & lipsync
npx skills add inference-sh/skills@ai-avatar-video
# Text-to-speech (for video narration)
npx skills add inference-sh/skills@text-to-speech
# Image generation (for image-to-video)
npx skills add inference-sh/skills@ai-image-generation
# Twitter (post videos)
npx skills add inference-sh/skills@twitter-automation
浏览所有应用:belt app list
文档
评论
支持 Markdown