Communitygithub.com

101-skills/superpowers

通过AI虚拟形象、唇形同步和配音制作发言人视频。推荐 P-Video-Avatar(最快、最便宜、内置文字转语音)。也涵盖 OmniHuman、PixVerse、Fabric。包括肖像要求、音频质量、生产工作流程。适用于:发言人视频、课程内容、社交媒体、演示文稿、产品演示。

superpowers 是什么?

该技能提供了一个完整的工具集,用于生成AI驱动的发言人视频(talking head video),专注于通过虚拟形象(avatars)、唇形同步(lipsync)和配音(voiceover)创建专业视频内容。它建议以 P-Video-Avatar 作为主要模型,因其速度比同类模型快18倍、成本低6倍,并且内置支持30种声音和10种语言(包括英语、西班牙语、日语等)的TTS(文字转语音),无需额外步骤。技能详细介绍了如何满足肖像要求(如居中、高分辨率、清晰面部、中性表情)、选择合适的模型(如 ByteDance 的 OmniHuman 系列或 Fabric 用于多角色或更逼真的唇形同步),以及使用 `belt` CLI 工具执行生产工作流程。主要工作流程包括直接从文本脚本生成视频、通过语音提示控制风格、提供自定义音频文件、生成长视频(通过拼接片段)以及支持多语言内容。还提供了常见错误(如低分辨率肖像、侧面角度、嘈杂音频)的故障排除准则,确保高质量输出。该技能适用于营销人员、教育者、内容创作者和开发人员,用于创建发言人视频、课程内容、社交媒体帖子、产品演示和演讲。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/101-skills/superpowers/tree/HEAD/guides/video/talking-head-production

在你喜欢的 AI 中提问

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

文档

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

发言人视频制作

通过 inference.sh CLI 使用 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)"
}'

肖像要求

源肖像图像至关重要。糟糕的肖像 = 糟糕的视频输出。

必须满足

要求原因规格
画面居中虚拟形象需要面部位于可预测位置面部在画面中央
头部和肩部身体可见,实现自然手势裁剪至胸部以下
眼睛看向镜头与观众建立联系正对镜头
中性表情动画起始点可带轻微微笑,不要大笑/皱眉
清晰面部模型需检测特征无墨镜、浓重阴影或遮挡物
高分辨率保留细节面部区域至少 512x512,理想为 1024x1024 以上

生成肖像

# 使用 P-Image 生成专业肖像
belt app run pruna/p-image --input '{
  "prompt": "professional headshot portrait of a friendly business person, soft studio lighting, clean grey background, head and shoulders, direct eye contact, neutral pleasant expression, photorealistic",
  "aspect_ratio": "9:16"
}'

背景选项

类型使用场景
纯色专业、干净、易于合成
柔和虚化自然、生活方式感
办公室/工作室商务场景
动态(P-Video-Avatar)使用 video_prompt 设置背景

模型选择

从 P-Video-Avatar 开始——它比备选方案快18倍、便宜6倍,并内置 TTS。

模型应用 ID内置 TTS最佳用途
P-Video-Avatarpruna/p-video-avatar是(30种声音,10种语言)整体最佳:速度、成本、质量
OmniHuman 1.5bytedance/omnihuman-1-5否多角色、手势
OmniHuman 1.0bytedance/omnihuman-1-0否单角色
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 步骤——P-Video-Avatar 内置语音:

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"
}'

音频驱动(任何模型)

提供您自己的音频文件:

# P-Video-Avatar 配合自定义音频
belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "audio": "https://speech.mp3"
}'

# OmniHuman 配合自定义音频
belt app run bytedance/omnihuman-1-5 --input '{
  "image_url": "https://portrait.jpg",
  "audio_url": "https://speech.mp3"
}'

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

# 1. 生成肖像图像
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. 使用内置 TTS 创建虚拟形象视频
belt app run pruna/p-video-avatar --input '{
  "image": "<step-1-image-url>",
  "voice_script": "嗨!让我为您介绍我们的最新功能。",
  "voice": "Zephyr (Female)"
}'

配合独立 TTS(用于不支持 TTS 的模型)

# 1. 生成语音
belt app run falai/dia-tts --input '{
  "prompt": "[S1] 您的解说脚本在此。"
}'

# 2. 创建发言人视频
belt app run bytedance/omnihuman-1-5 --input '{
  "image_url": "https://portrait.jpg",
  "audio_url": "<audio-url-from-step-1>"
}'

多角色对话

OmniHuman 1.5 支持最多2个角色:

# 1. 生成两个说话者的对话
belt app run falai/dia-tts --input '{
  "prompt": "[S1] 跟我说说新功能。 [S2] 当然!我们构建了一个显示实时分析数据的仪表板。 [S1] 听起来不错。花了多长时间? [S2] 从概念到发布大约两周。"
}'

# 2. 创建两个角色的视频
belt app run bytedance/omnihuman-1-5 --input '{
  "image_url": "https://two-person-portrait.png",
  "audio_url": "<audio-url>"
}'

长视频(拼接片段)

对于超过约60秒的内容,拆分为多个片段:

# 使用相同肖像生成片段以确保一致性
belt app run pruna/p-video-avatar --input '{"image": "https://portrait.jpg", "voice_script": "片段一..."}' --no-wait
belt app run pruna/p-video-avatar --input '{"image": "https://portrait.jpg", "voice_script": "片段二..."}' --no-wait
belt app run pruna/p-video-avatar --input '{"image": "https://portrait.jpg", "voice_script": "片段三..."}' --no-wait

# 合并所有片段
belt app run infsh/media-merger --input '{
  "media": ["segment1.mp4", "segment2.mp4", "segment3.mp4"]
}'

多语言内容

P-Video-Avatar 通过内置 TTS 支持10种语言:

# 西班牙语
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"
}'

# 日语
belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "こんにちは、製品デモへようこそ。",
  "voice": "Leda (Female)",
  "voice_language": "Japanese"
}'

为现有视频配音

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

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

# 3. 用新语言生成语音
belt app run infsh/kokoro-tts --input '{"text": "<translated-text>"}'

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

音频质量(适用于非 TTS 工作流程)

当您提供自己的音频时,音频质量直接影响唇形同步的准确性。

参数目标原因
背景噪音无/极少噪音会干扰唇形同步时机
音量全程一致防止同步漂移
采样率44.1kHz 或 48kHz标准质量
格式MP3 128kbps+ 或 WAV与所有工具兼容

可用语音(P-Video-Avatar)

女性: 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

语言: 英语(美国)、英语(英国)、西班牙语、法语、德语、意大利语、葡萄牙语(巴西)、日语、韩语、印地语

画面构图指南

┌─────────────────────────────────┐
│          头顶空间(最小)         │
│  ┌───────────────────────────┐  │
│  │                           │  │
│  │     ● ─ ─ 眼睛位于1/3处 ─ ─│─ │ ← 眼睛位于上三分之一线
│  │    /|\                    │  │
│  │     |   头部和肩部可见      │  │
│  │    / \                    │  │
│  │                           │  │
│  └───────────────────────────┘  │
│        裁剪至胸部以下            │
└─────────────────────────────────┘

常见错误

错误问题解决方法
低分辨率肖像面部模糊,唇形同步差面部区域使用 1024x1024 以上
侧面/侧面角度唇形同步无法良好追踪嘴巴使用正面或接近正面的角度
有噪音的音频唇形同步漂移,看起来不自然使用内置 TTS 或录制干净的音频
片段过长质量下降拆分为片段,然后拼接
墨镜/遮挡物面部特征被隐藏需要清晰面部
光线不一致动画时显得不自然均匀、柔和的光线

相关技能

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

# 所有虚拟形象模型
npx skills add inference-sh/skills@ai-avatar-video

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

# 文字转语音
npx skills add inference-sh/skills@text-to-speech

# 图像生成(用于肖像)
npx skills add inference-sh/skills@ai-image-generation

浏览所有应用:belt app list

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.

相关技能