mcpField
A
ai-video-generation

ai-video-generation

github.com/bankai-skills创意与媒体0411.9k 次安装12 周前更新
代码仓库

关于 ai-video-generation

通过 inference.sh 生成和编辑视频的 belt 命令行技能,提供 40 多种 AI 模型。涵盖文本和图像生成,以及虚拟形象、编辑和视频处理工作流。

主要功能

  1. 01文本生成视频
  2. 02图像生成视频
  3. 03制作虚拟形象和口型同步视频
  4. 04使用自然语言编辑视频
  5. 05视频升频、拟音和片段合并

适用场景

  1. 01根据提示词或图像制作视频
  2. 02制作虚拟形象和口播片段
  3. 03通过文字指令编辑素材
  4. 04为视频升频或添加音效

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/bankai-skills/superpowers --skill ai-video-generation

安装后在 Claude Code 中输入/ai-video-generation确认已加载。

详细介绍

安装 belt CLI 技能: npx skills add belt-sh/cli

AI 视频生成

通过 inference.sh CLI 使用 40 多种 AI 模型生成视频。

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 Fastgoogle/veo-3-1-fast速度快,可选音频
Veo 3.1google/veo-3-1画质最佳,支持帧插值
Veo 3google/veo-3高画质,带音频
Veo 3 Fastgoogle/veo-3-fast速度快,带音频
Veo 2google/veo-2写实视频
P-Videopruna/p-video速度快、经济实惠,支持音频
WAN-T2Vpruna/wan-t2v经济实惠的 480p/720p 视频
Grok Videoxai/grok-imagine-videoxAI,可配置时长
Seedance 2.0bytedance/seedance-2-0文本/图像/参考图生成视频,带同步音频,最高 1080p
Seedance 2.0 Fastbytedance/seedance-2-0-fast快速版本,功能相同
HappyHorse T2Valibaba/happyhorse-1-0-t2v物理效果逼真,最长 15s
图像生成视频
模型App ID最适合
Wan 2.5falai/wan-2-5为任意图像制作动画
Wan 2.5 I2Vfalai/wan-2-5-i2v高画质图像生成视频
WAN-I2Vpruna/wan-i2v经济实惠的 480p/720p 视频
P-Videopruna/p-video快速生成带音频的视频
Seedance 2.0bytedance/seedance-2-0为图像制作带同步音频的动画,最高 1080p
Seedance 2.0 Fastbytedance/seedance-2-0-fast快速版本,功能相同
HappyHorse I2Valibaba/happyhorse-1-0-i2v为图像制作动画,最高 1080P/15s
HappyHorse R2Valibaba/happyhorse-1-0-r2v根据参考图生成并保留角色特征
虚拟形象 / 口型同步
模型App ID最适合
OmniHuman 1.5bytedance/omnihuman-1-5多角色
OmniHuman 1.0bytedance/omnihuman-1-0单角色
Fabric 1.0falai/fabric-1-0让图像开口说话并同步口型
PixVerse Lipsyncfalai/pixverse-lipsync写实口型同步
视频编辑
模型App ID最适合
HappyHorse Editalibaba/happyhorse-1-0-video-edit使用自然语言编辑视频
实用工具
工具App ID描述
HunyuanVideo Foleyinfsh/hunyuanvideo-foley为视频添加音效
Topaz Upscalerfalai/topaz-video-upscaler提升视频画质
Media Mergerinfsh/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 --input '{
  "image_url": "https://your-image.jpg"
}'
AI 虚拟形象 / 说话头像
belt app run bytedance/omnihuman-1-5 --input '{
  "image_url": "https://portrait.jpg",
  "audio_url": "https://speech.mp3"
}'
Fabric 口型同步
belt app run falai/fabric-1-0 --input '{
  "image_url": "https://face.jpg",
  "audio_url": "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 '{
  "image_url": "https://portrait.jpg",
  "audio_url": "https://speech.mp3"
}'
视频超分辨率
belt app run falai/topaz-video-upscaler --input '{"video_url": "https://..."}'
添加音效(Foley)
belt app run infsh/hunyuanvideo-foley --input '{
  "video_url": "https://silent-video.mp4",
  "prompt": "footsteps on gravel, birds chirping"
}'
合并视频
belt app run infsh/media-merger --input '{
  "videos": ["https://clip1.mp4", "https://clip2.mp4"],
  "transition": "fade"
}'

相关技能

# 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