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.
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.
Animate authorized presenter thumbnails or stylized 3D characters with subtle blink and head-nod driving loops using LivePortrait's local Gradio studio.
Quick Setup & Installation Steps
Platform target: Self-Hosted / Windows / Linux (GitHub). Always verify environment variables and dependencies in the upstream repository README.
- 1Clone the repository from GitHub: `git clone https://github.com/KlingAIResearch/LivePortrait.git && cd LivePortrait`.
- 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.
- 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).
- 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)
Requires NVIDIA GPU (6GB–8GB+ VRAM)
16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.
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.
Immersity AI (Leia)
Spatial AI depth-motion engine converting 2D photos and videos into 3D parallax camera motion and XR-ready clips with free trial exports.
AnimateDiff
Classic plug-and-play open-source motion module turning any custom Stable Diffusion checkpoint or LoRA into animated clips.
Hedra
Expressive talking-character and singing AI video studio syncing facial micro-expressions cleanly with uploaded voiceovers.
| Factor | LivePortrait (Self-Hosted) | Immersity AI (Leia) | AnimateDiff |
|---|---|---|---|
| Execution & Privacy | Runs 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 & Quota | Custom (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 Fit | Real-time expression & pose stitching; Human & animal portrait support | Spatial 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-off | Check repository license terms | Requires internet access and vendor account/quota limits. | Requires internet access and vendor account/quota limits. |
Matching Ready-Made Prompts
Customize variables in Live Prompt Studio for LivePortrait workflows.
Compare Alternatives
Compare LivePortrait side-by-side on setup ease, privacy, and role scorecards.
More Open Source Video Generation Repositories
MoneyPrinterTurbo
Open-source short-form video automation studio generating scripts, TTS narration, B-roll footage selection, and synchronized subtitles via WebUI and Docker.
Remotion
Open-source programmatic video creation framework for rendering frame-accurate MP4 clips, motion graphics, and data-driven templates using React and TypeScript.
Open-Sora
HPC-AI Tech open-source end-to-end video generation initiative (Open-Sora 2.0) providing full STDiT/MMDiT training recipes, 3D VAE, and inference pipelines.
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.