Video GenerationOpen source codeKlingAIResearch/LivePortrait

LivePortrait: Open Source AI Repository & Self-Hosting Guide

KlingAI Research open-source portrait animation engine transferring driving video expressions, head pose, and eye/lip motion cleanly onto photos or videos.

GitHub Stars
19,675 stars
Repository License
Custom (see repo)
Last Push (UTC)
Jun 1, 2026
Check the repo's license. Model weights may have a different license.
Ethical Use Notice: Only use photos, videos, and likenesses of people who have given explicit permission.
git clone https://github.com/KlingAIResearch/LivePortrait.git
View on GitHub
Installpip install -r requirements.txt && python app.py

LivePortrait: Architecture & Practical Workflow

LivePortrait uses stitching and retargeting modules with implicit keypoints to animate static portraits or refine video expressions at high frame rates—offering intuitive Gradio sliders for wink, smile, and head-tilt control locally.

Recommended End-to-End Pipeline

Animate authorized presenter thumbnails or stylized 3D characters with subtle blink and head-nod driving loops using LivePortrait's local Gradio studio.

Runtime Target
Self-Hosted / Windows / Linux (GitHub)
Primary Users
Animators, Creators, Game Devs
Code License
Custom (see repo)
Focus Topics
open-source, github, portrait-animation, no-watermark

Quick Setup & Installation Steps

Platform target: Self-Hosted / Windows / Linux (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/KlingAIResearch/LivePortrait.git && cd LivePortrait`.
  2. 2Review the Custom (see repo) license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -r requirements.txt && python app.py` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Animate authorized presenter thumbnails or stylized 3D characters with subtle blink and head-nod driving loops using LivePortrait's local Gradio studio.)

Hardware & VRAM Notes

Hardware & VRAM guidance: Requires NVIDIA GPU (6GB–8GB+ VRAM)

GPU & VRAM

Requires NVIDIA GPU (6GB–8GB+ VRAM)

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Windows / Linux (GitHub)

Strengths & Best For

  • Real-time expression & pose stitching
  • Human & animal portrait support
  • 100% watermark-free local output
  • Best suited for: Animators, Creators, Game Devs

Limitations & Caveats

  • Check repository license terms
  • Requires NVIDIA GPU (6GB–8GB+ VRAM)
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Video)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted LivePortrait vs. Hosted Alternatives (Immersity AI (Leia) & AnimateDiff)
FactorLivePortrait (Self-Hosted)Immersity AI (Leia)AnimateDiff
Execution & PrivacyRuns locally via Self-Hosted / Windows / Linux (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaCustom (see repo) code; bound only by local CPU/GPU hardware.Freemium; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitReal-time expression & pose stitching; Human & animal portrait supportSpatial AI depth-motion engine converting 2D photos and videos into 3D parallax camera motion and XR-ready clips with free trial exports.Classic plug-and-play open-source motion module turning any custom Stable Diffusion checkpoint or LoRA into animated clips.
Key Trade-offCheck repository license termsRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for LivePortrait workflows.

Cinematic FPV Drone Architectural FlythroughVideo · Video, Cinematic, Drone, Architecture
Open in Studio
Macro E-Commerce Luxury Product RevealVideo · Video, E-Commerce, Macro, Luxury
Open in Studio

More Open Source Video Generation Repositories

Frequently Asked Questions

What does LivePortrait do and how does it work?

LivePortrait (KlingAIResearch/LivePortrait) is an open-source video generation project with 19,675 stars on GitHub. KlingAI Research open-source portrait animation engine transferring driving video expressions, head pose, and eye/lip motion cleanly onto photos or videos. LivePortrait uses stitching and retargeting modules with implicit keypoints to animate static portraits or refine video expressions at high frame rates—offering intuitive Gradio sliders for wink, smile, and head-tilt control locally.

Is LivePortrait free to self-host and use commercially?

LivePortrait provides open source code licensed under Custom (see repo). Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does LivePortrait require?

LivePortrait targets Self-Hosted / Windows / Linux (GitHub). Typical installation runs via `pip install -r requirements.txt && python app.py`. Check repository license terms

How does self-hosting LivePortrait compare to hosted tools like Immersity AI (Leia)?

Self-hosting LivePortrait gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Windows / Linux (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Immersity AI (Leia) (Freemium) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is LivePortrait actively maintained and what workflow fits it best?

Repository metadata records 19,675 stars on GitHub with the latest recorded push on Jun 1, 2026. Animate authorized presenter thumbnails or stylized 3D characters with subtle blink and head-nod driving loops using LivePortrait's local Gradio studio.