Communitygithub.com

101-skills/superpowers

使用 AI 虛擬人像、嘴型同步與語音旁白製作發言人影片。推薦使用 P-Video-Avatar(最快、最便宜、內建文字轉語音)。也涵蓋 OmniHuman、PixVerse、Fabric。包含肖像要求、音訊品質與製作流程。適用於:代言人影片、課程內容、社群媒體、簡報、展示。

superpowers 是什麼?

這項技能提供透過指令列工具 `belt`(來自 inference.sh CLI)製作 AI 虛擬人像發言人影片的完整解決方案。核心目標是讓開發者以最快、最經濟的方式產出高品質的「說話頭部」影片,內建多種模型選擇,其中 **P-Video-Avatar** 被強烈推薦,因為它速度比同類模型快 18 倍、便宜 6 倍,且內建支援 30 種語音與 10 種語言的文字轉語音功能。技能文件詳細說明了關鍵的肖像要求(如居中、清晰、高解析度)、多種工作流程(文字腳本直出、自訂音訊驅動、多角色對話、長片分段拼接、多語言內容製作),以及從生成肖像到最終影片的完整範例指令。此外,它也涵蓋了其他模型如 OmniHuman 1.5(支援雙人互動)、Fabric 1.0 等,並提供成本速度對比、常見錯誤排解以及相關技能安裝指引,讓使用者能根據專案需求靈活選擇最適方案。

相容平台~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(內建文字轉語音,最快、最便宜)
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 倍,並且內建文字轉語音功能。

模型應用 ID內建文字轉語音最適合
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)

無需另外進行文字轉語音步驟 —— 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. 使用內建文字轉語音建立虛擬人像影片
belt app run pruna/p-video-avatar --input '{
  "image": "<第一步驟的圖片網址>",
  "voice_script": "嗨!讓我為您介紹我們最新的功能。",
  "voice": "Zephyr (Female)"
}'

搭配獨立文字轉語音(適用於不支援文字轉語音的模型)

# 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": "<第一步驟的音訊網址>"
}'

多角色對話

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": "<音訊網址>"
}'

長片(拼接片段)

對於長度超過約 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 內建文字轉語音功能支援 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. 翻譯文字(手動或使用 LLM)

# 3. 以新語言生成語音
belt app run infsh/kokoro-tts --input '{"text": "<翻譯後文字>"}'

# 4. 將原始影片與新音訊進行嘴型同步
belt app run infsh/latentsync-1-6 --input '{
  "video_url": "https://original-video.mp4",
  "audio_url": "<新音訊網址>"
}'

音訊品質(適用於非文字轉語音工作流程)

當您提供自己的音訊時,品質會直接影響嘴型同步的準確性。

參數目標原因
背景噪音無 / 極少噪音會干擾嘴型同步時序
音量全程一致防止同步飄移
取樣率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

語言: English (US), English (UK), Spanish, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Hindi

構圖指南

┌─────────────────────────────────┐
│          頭部空間(最小)         │
│  ┌───────────────────────────┐  │
│  │                           │  │
│  │     ● ─ ─ 眼睛在 1/3 處 ──│─ │ ← 眼睛在頂部 1/3 線
│  │    /│\                    │  │
│  │     |   頭部與肩膀         │  │
│  │    / \  可見              │  │
│  │                           │  │
│  └───────────────────────────┘  │
│       裁切至胸部以下                │
└─────────────────────────────────┘

常見錯誤

錯誤問題修正方法
低解析度肖像臉部模糊、嘴型同步不佳使用 1024x1024 以上臉部區域
側面 / 側角度嘴型同步無法良好追蹤嘴巴使用正面或接近正面
音訊有噪音嘴型同步偏移、看起來不自然使用內建文字轉語音或錄製乾淨音訊
片段過長品質降低分成多個片段後拼接
太陽眼鏡 / 遮擋物臉部特徵被隱藏需露出清晰臉部
光線不一致動畫後顯得詭異均勻柔和的光線

相關技能

# 專門的 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

# 圖片生成(用於肖像)
px 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.

相關技能