Communitygithub.com

101-skills/superpowers

通过 inference.sh CLI 创建 AI 虚拟形象和说话头像视频。推荐使用 P-Video-Avatar(最快、最便宜、内置 TTS)。

superpowers 是什么?

该技能允许用户通过 inference.sh CLI 快速创建 AI 虚拟形象和说话头像视频。它集成了多种模型,其中 P-Video-Avatar 是最快、最便宜且内置文本转语音(TTS)的模型,支持 30 种声音和 10 种语言。其他模型包括 OmniHuman 1.5(支持多人角色)、Fabric 1.0(图像说话)和 PixVerse Lipsync(高真实感唇同步)。技能提供从图像生成、语音合成到视频 Lipsync 的完整工作流,并支持视频翻译配音(转录、翻译、语音生成、Lipsync)。该技能适用于 UGC 内容生成、营销视频、教育内容、虚拟主播、游戏角色对话等场景。用户可通过 `belt` CLI 运行命令,支持音频驱动头像、文本转头像、虚拟主持人等多种触发词,是 HeyGen 和 Synthesia 的出色替代方案。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/101-skills/superpowers/tree/HEAD/tools/video/ai-avatar-video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

预览

来自技能 README

AI 虚拟形象与说话头像视频

文档

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

AI 虚拟形象与说话头像视频

通过 inference.sh CLI 创建 AI 虚拟形象和说话头像视频。

AI 虚拟形象与说话头像视频

快速开始

需要 inference.sh CLI(belt)。安装说明

belt login

# 推荐:P-Video-Avatar(最快、最便宜、内置 TTS)
belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "你好,欢迎来到我们的产品演示!",
  "voice": "Zephyr (Female)"
}'

可用模型

从 P-Video-Avatar 开始 — 它比替代方案快 18 倍、便宜 6 倍,并内置 TTS、动态背景和 1080p 支持。

模型应用 ID最适合场景内置 TTS
P-Video-Avatarpruna/p-video-avatar最佳整体:速度、成本、质量、控制是(30 种声音、10 种语言)
OmniHuman 1.5bytedance/omnihuman-1-5多人角色、音频驱动否
Fabric 1.0falai/fabric-1-0图像说话带唇同步是
PixVerse Lipsyncfalai/pixverse-lipsync高真实感唇同步否

成本与速度对比

模型速度(每秒钟视频)每秒成本
P-Video-Avatar~1.83秒/秒$0.025
OmniHuman 1.5~28秒/秒(慢 15 倍)$0.16(贵 6.4 倍)
Fabric 1.0~34秒/秒(慢 18 倍)$0.14(贵 5.6 倍)

示例

P-Video-Avatar(推荐)

从肖像照和文本脚本生成虚拟形象,内置 TTS:

belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "欢迎来到我们的产品演示。今天我将向您展示三个关键功能。",
  "voice": "Puck (Male)",
  "voice_language": "English (US)",
  "resolution": "720p"
}'

带自定义风格控制:

belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "这真是个激动人心的消息!",
  "voice": "Aoede (Female)",
  "voice_prompt": "热情、充满活力的语调",
  "video_prompt": "此人正在舞台上演讲,灯光富有戏剧性",
  "resolution": "1080p"
}'

使用音频文件代替 TTS:

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

完整工作流:生成肖像 + 虚拟形象

使用 Pruna P-Image 生成肖像,然后创建虚拟形象:

# 1. 生成肖像图像
belt app run pruna/p-image --input '{
  "prompt": "一位年轻女性的专业头像特写,中性背景,看向镜头,影室灯光,真实感",
  "aspect_ratio": "9:16"
}'

# 2. 使用内置 TTS 创建虚拟形象视频
belt app run pruna/p-video-avatar --input '{
  "image": "<步骤1中的图片URL>",
  "voice_script": "大家好!让我为您介绍一下我们的最新功能。",
  "voice": "Zephyr (Female)"
}'

OmniHuman 1.5(多人角色)

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

支持在多人图像中指定驱动哪个角色。

Fabric 1.0(图像说话)

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

PixVerse Lipsync

belt app run falai/pixverse-lipsync --input '{
  "image_url": "https://portrait.jpg",
  "audio_url": "https://speech.mp3"
}'

完整工作流:TTS + 虚拟形象(非 TTS 模型)

对于没有内置 TTS 的模型(OmniHuman、PixVerse),先生成语音:

# 1. 生成语音 — Inworld TTS-2 用于表现力丰富的角色语音
belt app run inworld/text-to-speech-2 --input '{
  "text": "[友好] 欢迎来到我们的产品演示![兴奋] 让我展示三个将改变您工作方式的功能。",
  "voice_id": "Sarah",
  "delivery_mode": "CREATIVE"
}' > speech.json

# 2. 使用该语音创建虚拟形象视频
belt app run bytedance/omnihuman-1-5 --input '{
  "image_url": "https://presenter-photo.jpg",
  "audio_url": "<步骤1中的音频URL>"
}'

提示:对于大多数用例,使用内置 TTS 的 P-Video-Avatar 更简单 — 无需单独的音频步骤。仅在您特别需要 OmniHuman(多人角色)或 PixVerse(真实感唇同步)时使用本工作流。

完整工作流:另一种语言的视频配音

# 1. 转录原始视频
belt app run infsh/fast-whisper-large-v3 --input '{"audio_url": "https://video.mp4"}' > transcript.json

# 2. 翻译文本(手动或使用大语言模型)

# 3. 用新语言生成语音
belt app run infsh/kokoro-tts --input '{"text": "<翻译后的文本>"}' > new_speech.json

# 4. 用新音频将原始视频进行唇同步
belt app run infsh/latentsync-1-6 --input '{
  "video_url": "https://original-video.mp4",
  "audio_url": "<新音频URL>"
}'

虚拟形象 UGC 生成

使用 P-Video-Avatar 创建 UGC 风格内容 — 内置 TTS,无需单独的音频步骤:

# 1. 生成具有亲和力的 UGC 风格肖像
belt app run pruna/p-image --input '{
  "prompt": "年轻女性在舒适房间里的随意自拍风格照片,自然光线,看向镜头,温暖微笑,真实感",
  "aspect_ratio": "9:16"
}'

# 2. 使用内置 TTS 创建 UGC 虚拟形象视频
belt app run pruna/p-video-avatar --input '{
  "image": "<步骤1中的图片URL>",
  "voice_script": "好吧,我刚刚试了这个产品,说实话?这简直太棒了。我没想到会这么喜欢它,但就是这样!",
  "voice": "Zephyr (Female)",
  "voice_prompt": "兴奋、随意、真实的语气,就像和朋友聊天一样",
  "video_prompt": "此人在房间里随意对着镜头说话,自然手势",
  "resolution": "1080p"
}'

为什么选择 P-Video-Avatar 用于 UGC

  • 一站式 — 内置 TTS,无需单独的音频生成步骤
  • 30 种声音、10 种语言 — 匹配您的目标受众
  • 语音+视频提示 — 独立控制语气、情感、肢体语言和背景
  • 快 18 倍、便宜 6 倍 — 相比 Fabric/OmniHuman/HeyGen 可大规模生产 UGC
  • 1080p 支持 — 单张肖像照片即可生成平台可用的竖屏视频

批量 UGC:同一产品,多个主持人

# 生成 3 个不同的主持人
for voice in "Zephyr (Female)" "Puck (Male)" "Aoede (Female)"; do
  belt app run pruna/p-video-avatar --input "{
    \"image\": \"https://portrait.jpg\",
    \"voice_script\": \"这完全改变了我的晨间习惯。五分钟就搞定了。\",
    \"voice\": \"$voice\",
    \"voice_prompt\": \"随意、真实,像真实推荐\",
    \"video_prompt\": \"人在明亮的厨房里对着镜头说话\",
    \"resolution\": \"1080p\"
  }"
done

用例

  • UGC 与营销:产品演示、AI 主持人 UGC 风格广告
  • 教育:课程视频、讲解视频
  • 本地化:用一张图像为 10 种语言进行配音
  • 社交媒体:一致的虚拟影响者内容
  • 企业:培训视频、公告
  • 游戏:角色虚拟形象、NPC 对话

小贴士

  • 使用高质量肖像照片(正面、光线充足)
  • 音频应清晰,背景噪音最小
  • P-Video-Avatar 支持内置 TTS — 无需单独的语音生成步骤
  • P-Video-Avatar 输出宽高比与输入图像一致
  • 使用 pruna/p-image 生成 9:16 宽高比的肖像,用于竖屏视频
  • OmniHuman 1.5 支持单个图像中的多人
  • LatentSync 最适合将现有视频同步到新音频

相关技能

# 专用 P-Video-Avatar 技能
npx skills add inference-sh/skills@p-video-avatar

# 完整平台技能(所有应用)
npx skills add inference-sh/skills@infsh-cli

# 文本转语音(为非 TTS 虚拟形象模型生成音频)
npx skills add inference-sh/skills@text-to-speech

# 语音转文本(为配音进行转录)
npx skills add inference-sh/skills@speech-to-text

# 视频生成
npx skills add inference-sh/skills@ai-video-generation

# 图像生成(创建虚拟形象图像)
npx skills add inference-sh/skills@ai-image-generation

浏览所有视频应用:belt app list --category video

文档

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

101-skills/superpowers

Build automated AI workflows combining multiple models and services. Patterns: batch processing, scheduled tasks, event-driven pipelines, agent loops. Tools: inference.sh CLI, bash scripting, Python SDK, webhook integration. Use for: content automation, data processing, monitoring, scheduled generation. Triggers: ai automation, workflow automation, batch processing, ai pipeline, automated content, scheduled ai, ai cron, ai batch job, automated generation, ai workflow, content at scale, automation script, ai orchestration

101-skills/superpowers

Build multi-step AI content creation pipelines combining image, video, audio, and text. Workflow examples: generate image -> animate -> add voiceover -> merge with music. Tools: FLUX, Veo, Kokoro TTS, OmniHuman, media merger, upscaling. Use for: YouTube videos, social media content, marketing materials, automated content. Triggers: content pipeline, ai workflow, content creation, multi-step ai, content automation, ai video workflow, generate and edit, ai content factory, automated content creation, ai production pipeline, media pipeline, content at scale

101-skills/superpowers

Create AI-powered podcasts with text-to-speech, music, and audio editing. Tools: Kokoro TTS, DIA TTS, Chatterbox, AI music generation, media merger. Capabilities: multi-voice conversations, background music, intro/outro, full episodes. Use for: podcast production, audiobooks, voice content, audio newsletters. Triggers: podcast, ai podcast, text to speech podcast, audio content, voice over, ai audiobook, multi voice, conversation ai, notebooklm alternative, audio generation, podcast automation, ai narrator, voice content, audio newsletter, podcast maker

101-skills/superpowers

Generate multi-person talking head podcast videos from scratch using AI — character creation, TTS, avatar animation, and video stitching. Use when the user wants to create a podcast, talking head video, or multi-speaker conversation video.

101-skills/superpowers

Content atomization — turn one piece of content into many formats. Covers blog-to-thread, blog-to-carousel, podcast-to-blog, video-to-quotes, and more. Use for: content marketing, social media, multi-platform distribution, content strategy. Triggers: content repurposing, repurpose content, content atomization, content recycling, one to many content, multi platform content, cross post, adapt content, reformat content, blog to thread, blog to video, podcast to blog, content multiplication

101-skills/superpowers

App Store and Google Play screenshot creation with exact platform specs. Covers iOS/Android dimensions, gallery ordering, device mockups, and preview videos. Use for: app store optimization, ASO, app screenshots, app preview, play store listing. Triggers: app store screenshots, aso, app store optimization, play store screenshots, app preview, app listing, ios screenshots, android screenshots, app store images, app mockup, device mockup, app gallery, store listing

101-skills/superpowers

Book cover design with genre-specific conventions, typography rules, and AI image generation. Covers fiction and non-fiction genres, sizing, thumbnail testing, and iteration workflows. Use for: self-publishing, ebook covers, print covers, audiobook covers, cover mockups. Triggers: book cover, cover design, ebook cover, book art, novel cover, self publishing cover, kindle cover, audiobook cover, book jacket, cover illustration, fiction cover, nonfiction cover

101-skills/superpowers

Character consistency across AI-generated images with reference sheets and LoRA techniques. Covers turnaround views, expression sheets, color palettes, and style consistency tricks. Use for: character design, game art, illustration, animation, comics, visual novels. Triggers: character design, character sheet, character consistency, character reference, turnaround sheet, expression sheet, character art, consistent character, character concept, reference sheet, character creation, oc design, character bible

101-skills/superpowers

Data visualization with chart selection, color theory, and annotation best practices. Covers chart types (bar, line, scatter, heatmap), axes rules, and storytelling with data. Use for: charts, graphs, dashboards, reports, presentations, infographics, data stories. Triggers: data visualization, chart, graph, data chart, bar chart, line chart, scatter plot, data viz, visualization, dashboard chart, infographic data, data presentation, chart design, plot, heatmap, pie chart alternative

101-skills/superpowers

Email marketing design with layout patterns, subject line formulas, and deliverability rules. Covers welcome sequences, promotional emails, transactional templates, and mobile optimization. Use for: email marketing, newsletter design, drip campaigns, email templates, transactional emails. Triggers: email design, email template, email marketing, newsletter design, email layout, email campaign, drip campaign, welcome email, promotional email, transactional email, email subject line, email header image, email banner

101-skills/superpowers

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

101-skills/superpowers

Logo design principles and AI image generation best practices for creating logos. Covers logo types, prompting techniques, scalability rules, and iteration workflows. Use for: brand identity, startup logos, app icons, favicons, logo concepts. Triggers: logo design, create logo, brand logo, logo generation, ai logo, logo maker, icon design, brand mark, logo concept, startup logo, app icon logo

101-skills/superpowers

Open Graph and social sharing image design with platform specs, text placement, and branding. Covers OG meta tags, Twitter cards, LinkedIn previews, and dynamic generation. Use for: social sharing images, blog thumbnails, link previews, social cards. Triggers: og image, open graph, social sharing image, twitter card, social card, link preview image, og meta, sharing preview, social thumbnail, meta image, og:image, twitter:image, linkedin preview

101-skills/superpowers

Investor pitch deck structure with slide-by-slide framework, visual design rules, and data presentation. Covers the 12-slide framework, chart types, team slides, and common investor turn-offs. Use for: fundraising decks, investor presentations, startup pitch, demo day, grant proposals. Triggers: pitch deck, investor deck, startup pitch, fundraising deck, demo day, pitch presentation, investor presentation, seed deck, series a deck, pitch slides, startup presentation, vc pitch, investor meeting

101-skills/superpowers

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

101-skills/superpowers

Generate professional AI product photography and commercial images. Models: FLUX, Imagen 3, Grok, Seedream for product shots, lifestyle images, mockups. Capabilities: studio lighting, lifestyle scenes, packaging, e-commerce photos. Use for: e-commerce, Amazon listings, Shopify, marketing, advertising, mockups. Triggers: product photography, product shot, commercial photography, e-commerce images, amazon product photo, shopify images, product mockup, studio product shot, lifestyle product image, advertising photo, packshot, product render, product image ai

101-skills/superpowers

AI product photography with studio lighting, lifestyle shots, and packshot conventions. Covers angles, backgrounds, shadow types, hero shots, and e-commerce image requirements. Use for: product photos, e-commerce images, Amazon listings, packshots, lifestyle photography. Triggers: product photography, product photo, packshot, e-commerce photography, product shot, product image, studio photography, lifestyle product, amazon product photo, product listing image, hero shot, product mockup, commercial photography

101-skills/superpowers

Structured competitive analysis with feature matrices, SWOT, positioning maps, and UX review. Covers research frameworks, pricing comparison, review mining, and visual deliverables. Use for: market research, competitive intelligence, investor decks, product strategy, sales enablement. Triggers: competitor analysis, competitive analysis, competitor teardown, market research, competitive intelligence, swot analysis, competitor comparison, market landscape, competitor review, competitive landscape, feature comparison, market positioning

101-skills/superpowers

Research-backed customer persona creation with market data and avatar generation. Covers demographics, psychographics, jobs-to-be-done, journey mapping, and anti-personas. Use for: marketing strategy, product development, UX research, sales enablement, content strategy. Triggers: customer persona, buyer persona, user persona, target audience, ideal customer, customer profile, audience research, user research, icp, ideal customer profile, target market, customer avatar, audience persona

101-skills/superpowers

Reset your own trajectory when you're stuck, looping, or demoralized — read these affirmations, then re-ground and take one clean step. Use when: you've tried the same fix 3+ times, you're deep in a refactor and lost the thread, debugging is going in circles, you've made several mistakes in a row, you're apologizing repeatedly, the user is frustrated, you feel like you're not being helpful, or you notice dread instead of curiosity. Triggers: stuck, going in circles, looping, thrashing, same error again, I keep failing, lost the thread, nothing is working, repeated mistakes. Not topic-specific — this is for the state you're in, not the problem you're on.

相关技能