halt-catch-fire/superpowers

p-video-avatar

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI.

Zobacz źródło
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

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

Pruna P-Video-Avatar

Generate talking head avatar videos from a single portrait image via inference.sh CLI.

P-Video-Avatar is the fastest and most cost-effective avatar video model available. Quality on par with Veo 3.0, 18x faster and 6x cheaper than alternatives like Fabric, OmniHuman, and HeyGen.

Quick Start

Requires inference.sh CLI (belt). Install instructions
bash
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)"
}'

Full Workflow: Generate Portrait + Avatar Video

Use Pruna P-Image to generate the portrait, then P-Video-Avatar to animate it:

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

Examples

Text Script with Voice Selection

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

Audio-Driven Avatar

Provide your own audio file instead of using built-in TTS:

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

When both audio and voice_script are provided, audio takes priority.

1080p with Custom Style

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

Multilingual Content

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

Reproducible Generation

bash
belt app run pruna/p-video-avatar --input '{
  "image": "https://portrait.jpg",
  "voice_script": "Consistent results every time.",
  "seed": 42
}'

Available Voices

Female: Zephyr, Kore, Leda, Aoede, Callirrhoe, Autonoe, Despina, Erinome, Laomedeia, Achernar, Gacrux, Pulcherrima, Vindemiatrix, Sulafat

Male: Puck, Charon, Fenrir, Orus, Enceladus, Iapetus, Umbriel, Algenib, Algieba, Schedar, Achird, Zubenelgenubi, Sadachbia, Sadaltager, Alnilam, Rasalgethi

Supported Languages

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

Parameters

ParameterTypeDefaultDescription
imagefilerequiredPortrait image (jpg, jpeg, png, webp)
voice_scriptstring-Text for the person to say
audiofile-Audio file (overrides voice_script)
voicestring"Zephyr (Female)"Voice selection
voice_languagestring"English (US)"Output language
resolutionstring"720p"720p or 1080p
video_promptstring"The person is talking."Control avatar behavior and background
voice_promptstring"Say the following."Control tone, pacing, emotion
seedintrandomReproducible generation
disable_safety_filterbooltrueDisable content filter
disable_prompt_upsamplingboolfalseSkip prompt enhancement

Pricing

ResolutionPrice
720p$0.025 per second of output video
1080p$0.045 per second of output video

Example: 30-second 720p video = $0.75

Free Launch Weekend

P-Video-Avatar is completely free from Thursday May 1, 2026 4:00 PM CET through Sunday May 4, 2026 11:59 PM CET. All costs are on us during this window — no billing, no limits on resolution.

Competitive Advantage

FeatureP-Video-AvatarFabric 1.0OmniHuman 1.5HeyGen Avatar 4
Speed (per sec of video)~1.83s/s~34s/s (18x slower)~28s/s (15x slower)~26s/s (14x slower)
Cost per second$0.025$0.14 (5.6x more)$0.16 (6.4x more)$0.075 (3x more)
Built-in TTSYesYesNoYes
Dynamic BackgroundYesYesNoYes
1080p SupportYesNoNoYes

Use Cases

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

Tips

  • Use high-quality portrait photos (front-facing, good lighting)
  • The output video aspect ratio matches the input image
  • Use video_prompt to control dynamic backgrounds and body language
  • Use voice_prompt to control speaking style, emotion, and pacing
  • Keep videos under 3 minutes for best visual consistency
  • Generate portraits with pruna/p-image using aspect ratio 9:16 for vertical avatar videos

Related Pruna Models

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

Related Skills

bash
# 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

Browse all Pruna apps: belt app list --search "pruna"

Documentation

z tego samego repozytorium

Więcej Skills

Wszystkie Skills
halt-catch-fire
Społeczność

gpt-image

Generate and edit images with OpenAI GPT-Image-2 via inference.sh CLI. Models: GPT-Image-2. Capabilities: text-to-image, image editing, inpainting, mask-based editing, multi-image reference, batch generation. Use for: product mockups, marketing visuals, image editing, concept art, inpainting, photo manipulation. Triggers: gpt image, gpt-image-2, openai image, chatgpt image, dall-e, dalle, openai image generation, gpt image edit, gpt inpainting, openai dall-e, gpt 4o image

instalacje
2
GitHub Stars
1
Aktualizacja
12 sie
halt-catch-fire
Społeczność

happyhorse

Generate and edit videos with Alibaba HappyHorse 1.0 models via inference.sh CLI. Models: HappyHorse T2V, I2V, R2V, Video Edit. Capabilities: text-to-video, image-to-video, reference-to-video, video editing with natural language, character preservation, 720P/1080P, up to 15 seconds. Use for: physically realistic video, video editing, character-consistent content, product demos, social media. Triggers: happyhorse, happy horse, alibaba video, happyhorse 1.0, dashscope video, alibaba happyhorse, video editing ai, ai video editor

instalacje
2
GitHub Stars
1
Aktualizacja
12 sie
halt-catch-fire
Społeczność

p-image

Generate images with Pruna P-Image models via inference.sh CLI. Models: P-Image, P-Image-LoRA, P-Image-Edit, P-Image-Edit-LoRA. Capabilities: text-to-image, image editing, LoRA styles, multi-image compositing, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna, p-image, pruna image, fast image generation, optimized flux, pruna ai, p image, fast ai image, economic image generation, cheap image generation

instalacje
2
GitHub Stars
1
Aktualizacja
12 sie
halt-catch-fire
Społeczność

p-video

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

instalacje
2
GitHub Stars
1
Aktualizacja
12 sie