微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎭

AI 数字人视频一键生成

ai-avatar-video · v1.5
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(NO_FRONTMATTER)。我们仍保留下载,方便你自行查看内容。
设计 安全 A 级 作者 okaris 公开目录收录
3.2k 下载 875 安装 11.7k 收藏 43.1k 浏览

简介

基于inference.sh,集成OmniHuman等模型,一键生成AI虚拟主播与口型同步视频。

原始描述

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Li...

通过你的 Agent 添加

安装目录:ai-avatar-video/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/ai-avatar-video/
Codex CLI~/.codex/skills/ai-avatar-video/
DeepSeek Harness~/.agents/skills/ai-avatar-video/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

该Skill提供通过inference.sh CLI生成AI头像视频和说话人视频的能力,整合OmniHuman 1.5/1.0、Fabric 1.0、PixVerse Lipsync等主流数字人模型。核心工作流程为:上传人物肖像图+音频,通过CLI命令调用云端模型生成同步口型的说话人视频。支持单人多角色(OmniHuman 1.5)、图像说话(Fabric)、高精度口型同步(PixVerse)等多种模式。

典型使用路径:

  1. 安装CLI:curl -fsSL https://cli.inference.sh | sh && infsh login
  2. 运行模型:infsh app run bytedance/omnihuman-1-5 --input '{"image_url": "...", "audio_url": "..."}'
  3. 进阶场景:结合TTS(Kokoro)生成语音,或结合Whisper+翻译实现视频本地化配音

显著优点

维度 优势
模型集成 一站式接入字节OmniHuman、Fal.ai Fabric/PixVerse等头部模型,无需分别注册
工作流完备 文档提供从TTS生成→头像视频→视频翻译配音的完整pipeline示例
零依赖部署 纯Markdown文档型Skill,无本地依赖,CLI由用户自主安装
多角色支持 OmniHuman 1.5支持同一张图片中的多人物分别驱动
成本灵活 inference.sh按需付费,无订阅锁定

潜在局限

  • 网络依赖:所有计算在云端完成,需稳定连接inference.sh及上游API
  • 隐私考量:用户上传的肖像、音频需传输至ByteDance、Fal.ai等第三方
  • 质量控制:输出质量高度依赖输入素材(需正面高清肖像、清晰音频)
  • CLI安装风险:采用curl管道安装方式,虽为官方推荐但存在L1级动态代码下载
  • 语言支持:OmniHuman等模型的多语言口型同步能力未在文档中明确说明

适合人群

  • 营销团队:快速生成产品演示AI主持人、虚拟代言人视频
  • 教育机构:批量制作课程讲解视频,降低真人出镜成本
  • 内容本地化从业者:视频翻译配音,实现"原视频+新语音+口型同步"
  • 社交媒体运营:打造人设统一的虚拟 influencer 账号
  • 技术集成者:需将数字人生成嵌入自动化内容pipeline的开发者

常规风险

风险类型 等级 说明
动态代码下载 中 curl管道安装CLI,来源官方但建议先预览脚本
第三方服务依赖 低 依赖inference.sh及下游模型API的可用性和定价
数据传输 低 图片/音频上传至海外服务商,需符合数据合规要求
深度伪造滥用 中 技术可被用于生成虚假身份视频,需遵守平台使用条款

技能正文


name: ai-avatar-video description: "Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc" allowed-tools: Bash(belt *)

Install the belt CLI skill: npx skills add belt-sh/cli

AI Avatar & Talking Head Videos

Create AI avatars and talking head videos via inference.sh CLI.

AI Avatar & Talking Head Videos

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS)
belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "Hello, welcome to our product demo!",
  "voice": "Zephyr (Female)"
}'

Available Models

Start with P-Video-Avatar — it's 18x faster and 6x cheaper than alternatives, with built-in TTS, dynamic backgrounds, and 1080p support.

Model App ID Best For Built-in TTS
P-Video-Avatar pruna/p-video-avatar Best overall: speed, cost, quality, control Yes (30 voices, 10 languages)
OmniHuman 1.5 bytedance/omnihuman-1-5 Multi-character, audio-driven No
Fabric 1.0 falai/fabric-1-0 Image talks with lipsync Yes
PixVerse Lipsync falai/pixverse-lipsync Lipsync an existing video Yes

Cost & Speed Comparison

Model Speed (per sec of video) Cost per second
P-Video-Avatar ~1.83s/s $0.025
OmniHuman 1.5 ~28s/s (15x slower) $0.16 (6.4x more)
Fabric 1.0 ~34s/s (18x slower) $0.14 (5.6x more)

Examples

P-Video-Avatar (Recommended)

Generate avatar from portrait + text script with built-in TTS:

belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "Welcome to our product walkthrough. Today I will show you three key features.",
  "voice": "Puck (Male)",
  "voice_language": "English (US)",
  "resolution": "720p"
}'

With custom style control:

belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "This is exciting news!",
  "voice": "Aoede (Female)",
  "voice_prompt": "Enthusiastic and energetic tone",
  "video_prompt": "The person is presenting on stage with dramatic lighting",
  "resolution": "1080p"
}'

With audio file instead of TTS:

belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "audio": "https://speech.mp3"
}'

Full Workflow: Generate Portrait + Avatar

Use Pruna P-Image to generate the portrait, then create the avatar:

# 1. Generate a portrait image
belt app run pruna/p-image --input '{
  "prompt": "professional headshot portrait of a young woman, neutral background, looking at camera, studio lighting, photorealistic",
  "aspect_ratio": "9:16"
}'

# 2. Create avatar video with built-in TTS
belt app run pruna/p-video-avatar --input '{
  "image": "<image-url-from-step-1>",
  "voice_script": "Hi there! Let me walk you through our latest features.",
  "voice": "Zephyr (Female)"
}'

OmniHuman 1.5 (Multi-Character)

belt app run bytedance/omnihuman-1-5 --input '{
  "image": "https://portrait.jpg",
  "audio": "https://speech.mp3"
}'

Supports specifying which character to drive in multi-person images.

Fabric 1.0 (Image Talks)

belt app run falai/fabric-1-0 --input '{
  "image": "https://face.jpg",
  "audio": "https://audio.mp3"
}'

PixVerse Lipsync

belt app run falai/pixverse-lipsync --input '{
  "video": "https://talking-head.mp4",
  "audio": "https://speech.mp3"
}'

Takes a video, not a still image. Omit audio and pass text (plus optional voice_id) to use the built-in TTS.

Full Workflow: TTS + Avatar (Non-TTS Models)

For models without built-in TTS (OmniHuman), generate speech first:

# 1. Generate speech — Inworld TTS-2 for expressive character voices
belt app run inworld/text-to-speech-2 --input '{
  "text": "[friendly] Welcome to our product demo! [excited] Let me show you three features that will change how you work.",
  "voice_id": "Sarah",
  "delivery_mode": "CREATIVE"
}' > speech.json

# 2. Create avatar video with the speech
belt app run bytedance/omnihuman-1-5 --input '{
  "image": "https://presenter-photo.jpg",
  "audio": "<audio-url-from-step-1>"
}'

Tip: For most use cases, P-Video-Avatar with built-in TTS is simpler — no separate audio step needed. Use this workflow only when you specifically need OmniHuman (multi-character) or PixVerse (realistic lipsync).

Full Workflow: Dub Video in Another Language

# 1. Transcribe original video
belt app run openai/gpt-transcribe --input '{"audio": "https://video.mp4"}' > transcript.json

# 2. Translate text (manually or with an LLM)

# 3. Generate speech in new language
belt app run falai/kokoro-tts --input '{"prompt": "<translated-text>"}' > new_speech.json

# 4. Lipsync the original video with new audio
belt app run infsh/latentsync-1-6 --input '{
  "video_path": "https://original-video.mp4",
  "audio_path": "<new-audio-url>"
}'

Avatar UGC Generation

Create UGC-style content with P-Video-Avatar — built-in TTS, no separate audio step needed:

# 1. Generate a relatable UGC-style portrait
belt app run pruna/p-image --input '{
  "prompt": "casual selfie-style photo of a young woman in a cozy room, natural lighting, looking at camera, warm smile, authentic feel",
  "aspect_ratio": "9:16"
}'

# 2. Create UGC avatar video with built-in TTS
belt app run pruna/p-video-avatar --input '{
  "image": "<image-url-from-step-1>",
  "voice_script": "Okay so I just tried this product and honestly? It is a game changer. I was not expecting to love it this much but here we are!",
  "voice": "Zephyr (Female)",
  "voice_prompt": "Excited, casual, authentic tone like talking to a friend",
  "video_prompt": "The person is talking casually to camera in their room, natural gestures",
  "resolution": "1080p"
}'

Why P-Video-Avatar for UGC

  • All-in-one — built-in TTS means no separate audio generation step
  • 30 voices, 10 languages — match your target audience
  • Voice + video prompts — control tone, emotion, body language, and background independently
  • 18x faster, 6x cheaper — produce UGC at scale vs. Fabric/OmniHuman/HeyGen
  • 1080p support — platform-ready vertical video from a single portrait image

Batch UGC: Same Product, Multiple Presenters

# Generate 3 different presenters
for voice in "Zephyr (Female)" "Puck (Male)" "Aoede (Female)"; do
  belt app run pruna/p-video-avatar --input "{
    \"image\": \"https://portrait.jpg\",
    \"voice_script\": \"This changed my morning routine completely. Five minutes and I am done.\",
    \"voice\": \"$voice\",
    \"voice_prompt\": \"Casual, authentic, like a real testimonial\",
    \"video_prompt\": \"Person talking to camera in a bright kitchen\",
    \"resolution\": \"1080p\"
  }"
done

Use Cases

  • UGC & Marketing: Product demos, UGC-style ads with AI presenters
  • Education: Course videos, explainers
  • Localization: Dub content across 10 languages from one image
  • Social Media: Consistent virtual influencer content
  • Corporate: Training videos, announcements
  • Gaming: Character avatars, NPC dialogue

Tips

  • Use high-quality portrait photos (front-facing, good lighting)
  • Audio should be clear with minimal background noise
  • P-Video-Avatar supports built-in TTS — no need for a separate speech generation step
  • P-Video-Avatar output aspect ratio matches the input image
  • Generate portraits with pruna/p-image using 9:16 aspect ratio for vertical videos
  • OmniHuman 1.5 supports multiple people in one image
  • LatentSync is best for syncing existing videos to new audio

Related Skills

# Dedicated P-Video-Avatar skill
npx skills add inference-sh/skills@p-video-avatar

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# Text-to-speech (generate audio for non-TTS avatar models)
npx skills add inference-sh/skills@text-to-speech

# Speech-to-text (transcribe for dubbing)
npx skills add inference-sh/skills@speech-to-text

# Video generation
npx skills add inference-sh/skills@ai-video-generation

# Image generation (create avatar images)
npx skills add inference-sh/skills@ai-image-generation

Browse all video apps: belt app list --category video

Documentation

正文来自原始仓库, 版权归作者所有,许可:MIT。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/skills-collective/skills

标签

content-mediamarketingeducation-researchautomation

同类 Skill