关于 p-video-avatar
p-video-avatar 是通过 inference.sh CLI 将单张肖像制作成会说话头像视频的技能,面向营销、教育和企业内容创作者。它支持文本转语音或自带音频,并可设置声音、语言和人物表现。
主要功能
- 01单张肖像生成头像视频
- 02文本转语音
- 03支持自带音频
- 04选择声音与语言
- 05控制语气和画面表现
适用场景
- 01制作产品演示视频
- 02生成课程讲解内容
- 03为内容制作多语言版本
- 04制作企业培训与通知视频
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ halt-catch-fire/ superpowers --skill p-video-avatar安装后在 Claude Code 中输入/p-video-avatar确认已加载。
详细介绍
安装 belt CLI 技能:
npx skills add belt-sh/cli
Pruna P-Video-Avatar
通过 inference.sh CLI,从单张人像图片生成会说话的头像视频。
P-Video-Avatar 是目前速度最快、性价比最高的头像视频模型。质量可媲美 Veo 3.0,速度比 Fabric、OmniHuman 和 HeyGen 等替代方案快 18 倍,成本低 6 倍。
快速入门
需要 inference.sh CLI(
belt)。安装说明
belt login
# Generate avatar from portrait + text script
belt app run pruna/p-video-avatar --input '{
"image": "https://portrait.jpg",
"voice_script": "Hello, welcome to our product demo!",
"voice": "Zephyr (Female)"
}'
完整工作流:生成肖像 + 头像视频
先使用 Pruna P-Image 生成肖像,再使用 P-Video-Avatar 为其制作动画:
# 1. Generate a portrait image with P-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. Use the generated image URL to create the avatar video
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)",
"resolution": "720p"
}'
示例
使用语音选择功能的文本脚本
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"
}'
音频驱动的头像
提供自己的音频文件,而不是使用内置 TTS:
belt app run pruna/p-video-avatar --input '{
"image": "https://portrait.jpg",
"audio": "https://speech.mp3"
}'
同时提供 audio 和 voice_script 时,将优先使用音频。
使用自定义风格的 1080p 视频
belt app run pruna/p-video-avatar --input '{
"image": "https://portrait.jpg",
"voice_script": "This is exciting news for our community!",
"voice": "Aoede (Female)",
"voice_prompt": "Enthusiastic and energetic tone, slightly faster pace",
"video_prompt": "The person is presenting on stage with dramatic lighting",
"resolution": "1080p"
}'
多语言内容
# Spanish
belt app run pruna/p-video-avatar --input '{
"image": "https://portrait.jpg",
"voice_script": "Bienvenidos a nuestra demostración de producto.",
"voice": "Kore (Female)",
"voice_language": "Spanish"
}'
# Japanese
belt app run pruna/p-video-avatar --input '{
"image": "https://portrait.jpg",
"voice_script": "こんにちは、製品デモへようこそ。",
"voice": "Leda (Female)",
"voice_language": "Japanese"
}'
可复现的生成
belt app run pruna/p-video-avatar --input '{
"image": "https://portrait.jpg",
"voice_script": "Consistent results every time.",
"seed": 42
}'
可用语音
女性: Zephyr、Kore、Leda、Aoede、Callirrhoe、Autonoe、Despina、Erinome、Laomedeia、Achernar、Gacrux、Pulcherrima、Vindemiatrix、Sulafat
男性: Puck、Charon、Fenrir、Orus、Enceladus、Iapetus、Umbriel、Algenib、Algieba、Schedar、Achird、Zubenelgenubi、Sadachbia、Sadaltager、Alnilam、Rasalgethi
支持的语言
英语(美国)、英语(英国)、西班牙语、法语、德语、意大利语、葡萄牙语(巴西)、日语、韩语、印地语
参数
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
image | file | 必填 | 肖像图片(jpg、jpeg、png、webp) |
voice_script | string | - | 让人物说出的文本 |
audio | file | - | 音频文件(优先于 voice_script) |
voice | string | "Zephyr (Female)" | 语音选择 |
voice_language | string | "English (US)" | 输出语言 |
resolution | string | "720p" | 720p 或 1080p |
video_prompt | string | "The person is talking." | 控制头像的行为和背景 |
voice_prompt | string | "Say the following." | 控制语气、语速和情绪 |
seed | int | random | 可复现的生成 |
disable_safety_filter | bool | true | 禁用内容过滤器 |
disable_prompt_upsampling | bool | false | 跳过提示词增强 |
定价
| 分辨率 | 价格 |
|---|---|
| 720p | 每秒输出视频 $0.025 |
| 1080p | 每秒输出视频 $0.045 |
示例:30 秒的 720p 视频 = $0.75
发布周末免费使用
P-Video-Avatar 于 2026 年 5 月 1 日星期四中欧时间下午 4:00 至 2026 年 5 月 4 日星期日中欧时间晚上 11:59 完全免费。 此时段内的所有费用均由我们承担,不计费,且分辨率不限。
竞争优势
| 功能 | P-Video-Avatar | Fabric 1.0 | OmniHuman 1.5 | HeyGen Avatar 4 |
|---|---|---|---|---|
| 速度(每秒视频所需时间) | ~1.83 秒/秒 | ~34 秒/秒(慢 18 倍) | ~28 秒/秒(慢 15 倍) | ~26 秒/秒(慢 14 倍) |
| 每秒成本 | $0.025 | $0.14(贵 5.6 倍) | $0.16(贵 6.4 倍) | $0.075(贵 3 倍) |
| 内置 TTS | 是 | 是 | 否 | 是 |
| 动态背景 | 是 | 是 | 否 | 是 |
| 支持 1080p | 是 | 否 | 否 | 是 |
使用场景
- 营销:产品演示、采用 UGC 风格广告的 AI 主持人
- 教育:课程视频、讲解视频、辅导内容
- 本地化:从一张图片生成 10 种语言的配音内容
- 社交媒体:风格统一的虚拟网红内容
- 企业:培训、入职培训、公告
- 游戏:角色头像、NPC 对话视频
- 客户支持:个性化视频回复
提示
- 使用高质量的人像照片(正面朝向、光线充足)
- 输出视频的宽高比与输入图像一致
- 使用
video_prompt控制动态背景和肢体语言 - 使用
voice_prompt控制说话风格、情绪和语速 - 为获得最佳视觉一致性,请将视频时长控制在 3 分钟以内
- 使用
pruna/p-image生成肖像,并将宽高比设为9:16,以制作竖屏虚拟形象视频
相关 Pruna 模型
# Generate portrait images
belt app run pruna/p-image --input '{"prompt": "professional headshot portrait"}'
# General video generation
belt app run pruna/p-video --input '{"prompt": "cinematic scene"}'
# Image editing
belt app run pruna/p-image-edit --input '{"prompt": "change background", "image": "https://photo.jpg"}'
相关技能
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
# Pruna video generation
npx skills add inference-sh/skills@p-video
# Pruna image generation
npx skills add inference-sh/skills@p-image
# All video generation models
npx skills add inference-sh/skills@ai-video-generation
# Image generation (for creating portraits)
npx skills add inference-sh/skills@ai-image-generation
浏览所有 Pruna 应用:belt app list --search "pruna"