SuperAPI AI 工具集

ai-video-generation

设计与创作

查看项目

更新于 10-14 12:08

技能介绍

用途

该技能用于通过 inference.sh 命令行工具(belt CLI)调用 40 多个 AI 视频模型生成和处理视频。它把多种视频生成与后期能力统一到一个命令行入口,方便按需切换模型。

主要能力

  • 文本生成视频(Text-to-Video):支持 Google Veo 3.1 Fast、Veo 3.1、Veo 3、Veo 3 Fast、Veo 2、Pruna P-Video、WAN-T2V、Grok Video、Seedance 2.0、Seedance 2.0 Fast、HappyHorse T2V 等模型。
  • 图像生成视频(Image-to-Video):支持 Wan 2.5、Wan 2.5 I2V、WAN-I2V、P-Video、Seedance 2.0、Seedance 2.0 Fast、HappyHorse I2V、HappyHorse R2V 等模型。
  • 数字人与口型同步(Avatar / Lipsync):支持 OmniHuman 1.5、OmniHuman 1.0、Fabric 1.0、PixVerse Lipsync。
  • 视频编辑:HappyHorse Edit 支持自然语言视频编辑。
  • 实用工具:HunyuanVideo Foley 添加音效、Topaz Upscaler 视频放大、Media Merger 带转场合并视频。

使用方式

  1. 安装 CLI 技能:npx skills add belt-sh/cli
  2. 需要 inference.sh CLI(belt),安装说明参见相关文档。
  3. 登录:belt login
  4. 运行应用:belt app run <App ID> --input '<JSON>'
  5. 浏览全部视频应用: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"
}'

数字人/说话头像:

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。

适用场景

适用于需要通过命令行批量调用多种 AI 视频模型的开发者和内容创作流程,包括文本生成视频、图像动画化、数字人口播、口型同步、视频编辑、超分放大、音效添加与视频合并等。

限制

使用前需要安装 inference.sh CLI 并完成登录。具体收费、价格、额度与各模型输出规格以外的细节暂未提供。