[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2588":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},2588,"LivePortrait","KlingAIResearch\u002FLivePortrait","KlingAIResearch","Bring portraits to life!","https:\u002F\u002Fliveportrait.github.io",null,"Python",18534,1930,147,277,0,7,52,217,34,44.86,"Other",false,"main",[26,27,28,29],"face-animation","image-animation","video-editing","video-generation","2026-06-12 02:00:42","\u003Ch1 align=\"center\">LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control\u003C\u002Fh1>\n\n\u003Cdiv align='center'>\n    \u003Ca href='https:\u002F\u002Fgithub.com\u002Fcleardusk' target='_blank'>\u003Cstrong>Jianzhu Guo\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1*†\u003C\u002Fsup>&emsp;\n    \u003Ca href='https:\u002F\u002Fgithub.com\u002FMystery099' target='_blank'>\u003Cstrong>Dingyun Zhang\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1,2*\u003C\u002Fsup>&emsp;\n    \u003Ca href='https:\u002F\u002Fgithub.com\u002FKwaiVGI' target='_blank'>\u003Cstrong>Xiaoqiang Liu\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1\u003C\u002Fsup>&emsp;\n    \u003Ca href='https:\u002F\u002Fgithub.com\u002Fzzzweakman' target='_blank'>\u003Cstrong>Zhizhou Zhong\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1,3\u003C\u002Fsup>&emsp;\n    \u003Ca href='https:\u002F\u002Fscholar.google.com.hk\u002Fcitations?user=_8k1ubAAAAAJ' target='_blank'>\u003Cstrong>Yuan Zhang\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1\u003C\u002Fsup>&emsp;\n\u003C\u002Fdiv>\n\n\u003Cdiv align='center'>\n    \u003Ca href='https:\u002F\u002Fscholar.google.com\u002Fcitations?user=P6MraaYAAAAJ' target='_blank'>\u003Cstrong>Pengfei Wan\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1\u003C\u002Fsup>&emsp;\n    \u003Ca href='https:\u002F\u002Fopenreview.net\u002Fprofile?id=~Di_ZHANG3' target='_blank'>\u003Cstrong>Di Zhang\u003C\u002Fstrong>\u003C\u002Fa>\u003Csup> 1\u003C\u002Fsup>&emsp;\n\u003C\u002Fdiv>\n\n\u003Cdiv align='center'>\n    \u003Csup>1 \u003C\u002Fsup>Kuaishou Technology&emsp; \u003Csup>2 \u003C\u002Fsup>University of Science and Technology of China&emsp; \u003Csup>3 \u003C\u002Fsup>Fudan University&emsp;\n\u003C\u002Fdiv>\n\u003Cdiv align='center'>\n    \u003Csmall>\u003Csup>*\u003C\u002Fsup> Equal contributions\u003C\u002Fsmall>\n    \u003Csmall>\u003Csup>†\u003C\u002Fsup> Project lead\u003C\u002Fsmall>\n\u003C\u002Fdiv>\n\u003Cbr>\n\n\u003C!-- ===== LivePortrait – Quick Start & Links ===== -->\n\u003Cdiv align=\"center\">\n\n  \u003C!-- 🚀 Quick Start buttons -->\n  \u003Cp>\n    \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fcleardusk\u002FLivePortrait-Windows\u002Fblob\u002Fmain\u002FLivePortrait-Windows-v20240829.zip\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F🖥 Windows Installer-v20240829-00BFFF?style=for-the-badge&logo=windows&logoColor=white\" alt=\"Windows one-click installer\">\u003C\u002Fa>&nbsp;\n    \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fspaces\u002FKlingTeam\u002FLivePortrait\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F🌐 Try Online Demo-FF6F00?style=for-the-badge&logo=huggingface&logoColor=white\" alt=\"HuggingFace online demo\">\u003C\u002Fa>\n  \u003C\u002Fp>\n\n  \u003C!-- 📄 Paper \u002F project \u002F GitHub stats -->\n  \u003Cp>\n    \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fpdf\u002F2407.03168\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FarXiv-LivePortrait-red\" alt=\"arXiv link\">\u003C\u002Fa>&nbsp;\n    \u003Ca href=\"https:\u002F\u002Fliveportrait.github.io\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FProject-Homepage-green\" alt=\"project homepage\">\u003C\u002Fa>&nbsp;\n    \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fspaces\u002FKlingTeam\u002FLivePortrait\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F🤗 Hugging Face-Spaces-blue\" alt=\"HF space\">\u003C\u002Fa>&nbsp;\n    \u003Ca href=\"https:\u002F\u002Fhellogithub.com\u002Frepository\u002Fbed652ef02154dd7a434e0720125639e\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fabroad.hellogithub.com\u002Fv1\u002Fwidgets\u002Frecommend.svg?rid=bed652ef02154dd7a434e0720125639e&claim_uid=XyBT2K9QJ7RZhej&theme=small\" alt=\"Featured by HelloGitHub\">\u003C\u002Fa>&nbsp;\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FKlingTeam\u002FLivePortrait\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FKlingTeam\u002FLivePortrait?style=social\" alt=\"GitHub stars\">\u003C\u002Fa>\n  \u003C\u002Fp>\n\n  \u003C!-- 🌏 Language switch -->\n  \u003Cp>\u003Cstrong>English\u003C\u002Fstrong> | \u003Ca href=\".\u002Freadme_zh_cn.md\">\u003Cstrong>简体中文\u003C\u002Fstrong>\u003C\u002Fa>\u003C\u002Fp>\n\n  \u003C!-- 🎬 Showcase GIF -->\n  \u003Cp>\u003Cimg src=\".\u002Fassets\u002Fdocs\u002Fshowcase2.gif\" alt=\"LivePortrait showcase GIF\">\u003C\u002Fp>\n  \u003Cp>🔥 For more results, visit our \u003Ca href=\"https:\u002F\u002Fliveportrait.github.io\u002F\" target=\"_blank\">\u003Cstrong>homepage\u003C\u002Fstrong>\u003C\u002Fa> 🔥\u003C\u002Fp>\n\n\u003C\u002Fdiv>\n\u003C!-- ===== \u002FLivePortrait ===== -->\n\n\n## 🔥 Updates\n- **`2025\u002F06\u002F01`**: 🌍 Over the past year, **LivePortrait** has 🚀 become an efficient portrait-animation (humans, cats and dogs) solution adopted by major video platforms—Kuaishou, Douyin, Jianying, WeChat Channels—as well as numerous startups and creators. 🎉\n- **`2025\u002F01\u002F01`**: 🐶 We updated a new version of the Animals model with more data, see [**here**](.\u002Fassets\u002Fdocs\u002Fchangelog\u002F2025-01-01.md).\n- **`2024\u002F10\u002F18`**: ❗ We have updated the versions of the `transformers` and `gradio` libraries to avoid security vulnerabilities. Details [here](https:\u002F\u002Fgithub.com\u002FKlingTeam\u002FLivePortrait\u002Fpull\u002F421\u002Ffiles).\n- **`2024\u002F08\u002F29`**: 📦 We update the Windows [one-click installer](https:\u002F\u002Fhuggingface.co\u002Fcleardusk\u002FLivePortrait-Windows\u002Fblob\u002Fmain\u002FLivePortrait-Windows-v20240829.zip) and support auto-updates, see [changelog](https:\u002F\u002Fhuggingface.co\u002Fcleardusk\u002FLivePortrait-Windows#20240829).\n- **`2024\u002F08\u002F19`**: 🖼️ We support **image driven mode** and **regional control**. For details, see [**here**](.\u002Fassets\u002Fdocs\u002Fchangelog\u002F2024-08-19.md).\n- **`2024\u002F08\u002F06`**: 🎨 We support **precise portrait editing** in the Gradio interface, inspired by [ComfyUI-AdvancedLivePortrait](https:\u002F\u002Fgithub.com\u002FPowerHouseMan\u002FComfyUI-AdvancedLivePortrait). See [**here**](.\u002Fassets\u002Fdocs\u002Fchangelog\u002F2024-08-06.md).\n- **`2024\u002F08\u002F05`**: 📦 Windows users can now download the [one-click installer](https:\u002F\u002Fhuggingface.co\u002Fcleardusk\u002FLivePortrait-Windows\u002Fblob\u002Fmain\u002FLivePortrait-Windows-v20240806.zip) for Humans mode and **Animals mode** now! For details, see [**here**](.\u002Fassets\u002Fdocs\u002Fchangelog\u002F2024-08-05.md).\n- **`2024\u002F08\u002F02`**: 😸 We released a version of the **Animals model**, along with several other updates and improvements. Check out the details [**here**](.\u002Fassets\u002Fdocs\u002Fchangelog\u002F2024-08-02.md)!\n- **`2024\u002F07\u002F25`**: 📦 Windows users can now download the package from [HuggingFace](https:\u002F\u002Fhuggingface.co\u002Fcleardusk\u002FLivePortrait-Windows\u002Ftree\u002Fmain). Simply unzip and double-click `run_windows.bat` to enjoy!\n- **`2024\u002F07\u002F24`**: 🎨 We support pose editing for source portraits in the Gradio interface. We’ve also lowered the default detection threshold to increase recall. [Have fun](assets\u002Fdocs\u002Fchangelog\u002F2024-07-24.md)!\n- **`2024\u002F07\u002F19`**: ✨ We support 🎞️ **portrait video editing (aka v2v)**! More to see [here](assets\u002Fdocs\u002Fchangelog\u002F2024-07-19.md).\n- **`2024\u002F07\u002F17`**: 🍎 We support macOS with Apple Silicon, modified from [jeethu](https:\u002F\u002Fgithub.com\u002Fjeethu)'s PR [#143](https:\u002F\u002Fgithub.com\u002FKlingTeam\u002FLivePortrait\u002Fpull\u002F143).\n- **`2024\u002F07\u002F10`**: 💪 We support audio and video concatenating, driving video auto-cropping, and template making to protect privacy. More to see [here](assets\u002Fdocs\u002Fchangelog\u002F2024-07-10.md).\n- **`2024\u002F07\u002F09`**: 🤗 We released the [HuggingFace Space](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002FKlingTeam\u002FLivePortrait), thanks to the HF team and [Gradio](https:\u002F\u002Fgithub.com\u002Fgradio-app\u002Fgradio)!\n- **`2024\u002F07\u002F04`**: 😊 We released the initial version of the inference code and models. Continuous updates, stay tuned!\n- **`2024\u002F07\u002F04`**: 🔥 We released the [homepage](https:\u002F\u002Fliveportrait.github.io) and technical report on [arXiv](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2407.03168).\n\n\n\n## Introduction 📖\nThis repo, named **LivePortrait**, contains the official PyTorch implementation of our paper [LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2407.03168).\nWe are actively updating and improving this repository. If you find any bugs or have suggestions, welcome to raise issues or submit pull requests (PR) 💖.\n\n## Getting Started 🏁\n### 1. Clone the code and prepare the environment 🛠️\n\n> [!Note]\n> Make sure your system has [`git`](https:\u002F\u002Fgit-scm.com\u002F), [`conda`](https:\u002F\u002Fanaconda.org\u002Fanaconda\u002Fconda), and [`FFmpeg`](https:\u002F\u002Fffmpeg.org\u002Fdownload.html) installed. For details on FFmpeg installation, see [**how to install FFmpeg**](assets\u002Fdocs\u002Fhow-to-install-ffmpeg.md).\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FKlingTeam\u002FLivePortrait\ncd LivePortrait\n\n# create env using conda\nconda create -n LivePortrait python=3.10\nconda activate LivePortrait\n```\n\n#### For Linux 🐧 or Windows 🪟 Users\n[X-Pose](https:\u002F\u002Fgithub.com\u002FIDEA-Research\u002FX-Pose), required by Animals mode, is a dependency that needs to be installed. The step of `Check your CUDA versions` is **optional** if you only want to run Humans mode.\n\n\u003Cdetails>\n  \u003Csummary>Check your CUDA versions\u003C\u002Fsummary>\n\n  Firstly, check your current CUDA version by:\n  ```bash\n  nvcc -V # example versions: 11.1, 11.8, 12.1, etc.\n  ```\n\n  Then, install the corresponding torch version. Here are examples for different CUDA versions. Visit the [PyTorch Official Website](https:\u002F\u002Fpytorch.org\u002Fget-started\u002Fprevious-versions) for installation commands if your CUDA version is not listed:\n  ```bash\n  # for CUDA 11.1\n  pip install torch==1.10.1+cu111 torchvision==0.11.2 torchaudio==0.10.1 -f https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu111\u002Ftorch_stable.html\n  # for CUDA 11.8\n  pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu118\n  # for CUDA 12.1\n  pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu121\n  # ...\n  ```\n\n  **Note**: On Windows systems, some higher versions of CUDA (such as 12.4, 12.6, etc.) may lead to unknown issues. You may consider downgrading CUDA to version 11.8 for stability. See the [downgrade guide](https:\u002F\u002Fgithub.com\u002Fdimitribarbot\u002Fsd-webui-live-portrait\u002Fblob\u002Fmain\u002Fassets\u002Fdocs\u002Fhow-to-install-xpose.md#cuda-toolkit-118) by [@dimitribarbot](https:\u002F\u002Fgithub.com\u002Fdimitribarbot).\n\u003C\u002Fdetails>\n\n\nFinally, install the remaining dependencies:\n```bash\npip install -r requirements.txt\n```\n\n#### For macOS  with Apple Silicon Users\nThe [X-Pose](https:\u002F\u002Fgithub.com\u002FIDEA-Research\u002FX-Pose) dependency does not support macOS, so you can skip its installation. While Humans mode works as usual, Animals mode is not supported. Use the provided requirements file for macOS with Apple Silicon:\n```bash\n# for macOS with Apple Silicon users\npip install -r requirements_macOS.txt\n```\n\n### 2. Download pretrained weights 📥\n\nThe easiest way to download the pretrained weights is from HuggingFace:\n```bash\n# !pip install -U \"huggingface_hub[cli]\"\nhuggingface-cli download KlingTeam\u002FLivePortrait --local-dir pretrained_weights --exclude \"*.git*\" \"README.md\" \"docs\"\n```\n\nIf you cannot access to Huggingface, you can use [hf-mirror](https:\u002F\u002Fhf-mirror.com\u002F) to download:\n```bash\n# !pip install -U \"huggingface_hub[cli]\"\nexport HF_ENDPOINT=https:\u002F\u002Fhf-mirror.com\nhuggingface-cli download KlingTeam\u002FLivePortrait --local-dir pretrained_weights --exclude \"*.git*\" \"README.md\" \"docs\"\n```\n\nAlternatively, you can download all pretrained weights from [Google Drive](https:\u002F\u002Fdrive.google.com\u002Fdrive\u002Ffolders\u002F1UtKgzKjFAOmZkhNK-OYT0caJ_w2XAnib) or [Baidu Yun](https:\u002F\u002Fpan.baidu.com\u002Fs\u002F1MGctWmNla_vZxDbEp2Dtzw?pwd=z5cn). Unzip and place them in `.\u002Fpretrained_weights`.\n\nEnsuring the directory structure is as or contains [**this**](assets\u002Fdocs\u002Fdirectory-structure.md).\n\n### 3. Inference 🚀\n\n#### Fast hands-on (humans) 👤\n```bash\n# For Linux and Windows users\npython inference.py\n\n# For macOS users with Apple Silicon (Intel is not tested). NOTE: this maybe 20x slower than RTX 4090\nPYTORCH_ENABLE_MPS_FALLBACK=1 python inference.py\n```\n\nIf the script runs successfully, you will get an output mp4 file named `animations\u002Fs6--d0_concat.mp4`. This file includes the following results: driving video, input image or video, and generated result.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\".\u002Fassets\u002Fdocs\u002Finference.gif\" alt=\"image\">\n\u003C\u002Fp>\n\nOr, you can change the input by specifying the `-s` and `-d` arguments:\n\n```bash\n# source input is an image\npython inference.py -s assets\u002Fexamples\u002Fsource\u002Fs9.jpg -d assets\u002Fexamples\u002Fdriving\u002Fd0.mp4\n\n# source input is a video ✨\npython inference.py -s assets\u002Fexamples\u002Fsource\u002Fs13.mp4 -d assets\u002Fexamples\u002Fdriving\u002Fd0.mp4\n\n# more options to see\npython inference.py -h\n```\n\n#### Fast hands-on (animals) 🐱🐶\nAnimals mode is ONLY tested on Linux and Windows with NVIDIA GPU.\n\nYou need to build an OP named `MultiScaleDeformableAttention` first (refer to the \u003Ca href=\"#for-linux--or-windows--users\">Check your CUDA versions\u003C\u002Fa> if needed), which is used by [X-Pose](https:\u002F\u002Fgithub.com\u002FIDEA-Research\u002FX-Pose), a general keypoint detection framework.\n\n```bash\ncd src\u002Futils\u002Fdependencies\u002FXPose\u002Fmodels\u002FUniPose\u002Fops\npython setup.py build install\ncd - # equal to cd ..\u002F..\u002F..\u002F..\u002F..\u002F..\u002F..\u002F\n```\n\nThen\n```bash\npython inference_animals.py -s assets\u002Fexamples\u002Fsource\u002Fs39.jpg -d assets\u002Fexamples\u002Fdriving\u002Fwink.pkl --driving_multiplier 1.75 --no_flag_stitching\n```\nIf the script runs successfully, you will get an output mp4 file named `animations\u002Fs39--wink_concat.mp4`.\n\u003Cp align=\"center\">\n  \u003Cimg src=\".\u002Fassets\u002Fdocs\u002Finference-animals.gif\" alt=\"image\">\n\u003C\u002Fp>\n\n#### Driving video auto-cropping 📢📢📢\n> [!IMPORTANT]\n> To use your own driving video, we **recommend**: ⬇️\n> - Crop it to a **1:1** aspect ratio (e.g., 512x512 or 256x256 pixels), or enable auto-cropping by `--flag_crop_driving_video`.\n> - Focus on the head area, similar to the example videos.\n> - Minimize shoulder movement.\n> - Make sure the first frame of driving video is a frontal face with **neutral expression**.\n\nBelow is an auto-cropping case by `--flag_crop_driving_video`:\n```bash\npython inference.py -s assets\u002Fexamples\u002Fsource\u002Fs9.jpg -d assets\u002Fexamples\u002Fdriving\u002Fd13.mp4 --flag_crop_driving_video\n```\n\nIf you find the results of auto-cropping is not well, you can modify the `--scale_crop_driving_video`, `--vy_ratio_crop_driving_video` options to adjust the scale and offset, or do it manually.\n\n#### Motion template making\nYou can also use the auto-generated motion template files ending with `.pkl` to speed up inference, and **protect privacy**, such as:\n```bash\npython inference.py -s assets\u002Fexamples\u002Fsource\u002Fs9.jpg -d assets\u002Fexamples\u002Fdriving\u002Fd5.pkl # portrait animation\npython inference.py -s assets\u002Fexamples\u002Fsource\u002Fs13.mp4 -d assets\u002Fexamples\u002Fdriving\u002Fd5.pkl # portrait video editing\n```\n\n### 4. Gradio interface 🤗\n\nWe also provide a Gradio \u003Ca href='https:\u002F\u002Fgithub.com\u002Fgradio-app\u002Fgradio'>\u003Cimg src='https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fgradio-app\u002Fgradio'>\u003C\u002Fa> interface for a better experience, just run by:\n\n```bash\n# For Linux and Windows users (and macOS with Intel??)\npython app.py # humans mode\n\n# For macOS with Apple Silicon users, Intel not supported, this maybe 20x slower than RTX 4090\nPYTORCH_ENABLE_MPS_FALLBACK=1 python app.py # humans mode\n```\n\nWe also provide a Gradio interface of animals mode, which is only tested on Linux with NVIDIA GPU:\n```bash\npython app_animals.py # animals mode 🐱🐶\n```\n\nYou can specify the `--server_port`, `--share`, `--server_name` arguments to satisfy your needs!\n\n🚀 We also provide an acceleration option `--flag_do_torch_compile`. The first-time inference triggers an optimization process (about one minute), making subsequent inferences 20-30% faster. Performance gains may vary with different CUDA versions.\n```bash\n# enable torch.compile for faster inference\npython app.py --flag_do_torch_compile\n```\n**Note**: This method is not supported on Windows and macOS.\n\n**Or, try it out effortlessly on [HuggingFace](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002FKlingTeam\u002FLivePortrait) 🤗**\n\n### 5. Inference speed evaluation 🚀🚀🚀\nWe have also provided a script to evaluate the inference speed of each module:\n\n```bash\n# For NVIDIA GPU\npython speed.py\n```\n\nThe results are [**here**](.\u002Fassets\u002Fdocs\u002Fspeed.md).\n\n## Community Resources 🤗\n\nDiscover the invaluable resources contributed by our community to enhance your LivePortrait experience.\n\n\n### Community-developed Projects\n\n| Repo | Description | Author \u002F Links |\n|------|------|--------|\n| [**ditto-talkinghead**](https:\u002F\u002Fgithub.com\u002Fantgroup\u002Fditto-talkinghead) | Real-time audio-driven talking head. | [ArXiv](https:\u002F\u002Farxiv.org\u002Fabs\u002F2411.19509), [Homepage](https:\u002F\u002Fdigital-avatar.github.io\u002Fai\u002FDitto\u002F)  |\n| [**FasterLivePortrait**](https:\u002F\u002Fgithub.com\u002Fwarmshao\u002FFasterLivePortrait) | Faster real-time version using TensorRT. | [@warmshao](https:\u002F\u002Fgithub.com\u002Fwarmshao) |\n| [**AdvancedLivePortrait-WebUI**](https:\u002F\u002Fgithub.com\u002Fjhj0517\u002FAdvancedLivePortrait-WebUI) | Dedicated gradio based WebUI started from [ComfyUI-AdvancedLivePortrait](https:\u002F\u002Fgithub.com\u002FPowerHouseMan\u002FComfyUI-AdvancedLivePortrait). | [@jhj0517](https:\u002F\u002Fgithub.com\u002Fjhj0517) |\n| [**FacePoke**](https:\u002F\u002Fgithub.com\u002Fjbilcke-hf\u002FFacePoke) | A real-time head transformation app, controlled by your mouse! | [@jbilcke-hf](https:\u002F\u002Fgithub.com\u002Fjbilcke-hf) |\n| [**FaceFusion**](https:\u002F\u002Fgithub.com\u002Ffacefusion\u002Ffacefusion) | FaceFusion 3.0 integregates LivePortrait as `expression_restorer` and `face_editor` processors. | [@henryruhs](https:\u002F\u002Fgithub.com\u002Fhenryruhs) |\n| [**sd-webui-live-portrait**](https:\u002F\u002Fgithub.com\u002Fdimitribarbot\u002Fsd-webui-live-portrait) | WebUI extension of LivePortrait, adding atab to the original Stable Diffusion WebUI to benefit from LivePortrait features. | [@dimitribarbot](https:\u002F\u002Fgithub.com\u002Fdimitribarbot) |\n| [**ComfyUI-LivePortraitKJ**](https:\u002F\u002Fgithub.com\u002Fkijai\u002FComfyUI-LivePortraitKJ) | A ComfyUI node to use LivePortrait, with MediaPipe as as an alternative to Insightface. | [@kijai](https:\u002F\u002Fgithub.com\u002Fkijai) |\n| [**ComfyUI-AdvancedLivePortrait**](https:\u002F\u002Fgithub.com\u002FPowerHouseMan\u002FComfyUI-AdvancedLivePortrait) | A faster ComfyUI node with real-time preview that has inspired many other community-developed tools and projects. | [@PowerHouseMan](https:\u002F\u002Fgithub.com\u002FPowerHouseMan) |\n| [**comfyui-liveportrait**](https:\u002F\u002Fgithub.com\u002Fshadowcz007\u002Fcomfyui-liveportrait) | A ComfyUI node to use LivePortrait, supporting multi-faces, expression interpolation etc, with a [tutorial](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002FBV1JW421R7sP). | [@shadowcz007](https:\u002F\u002Fgithub.com\u002Fshadowcz007) |\n\n### Playgrounds, 🤗 HuggingFace Spaces and Others\n- [FacePoke Space](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fjbilcke-hf\u002FFacePoke)\n- [Expression Editor Space](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Ffffiloni\u002Fexpression-editor)\n- [Expression Editor Replicate](https:\u002F\u002Freplicate.com\u002Ffofr\u002Fexpression-editor)\n- [Face Control Realtime Demo](https:\u002F\u002Ffal.ai\u002Fdemos\u002Fface-control) on FAL\n- [Replicate Playground](https:\u002F\u002Freplicate.com\u002Ffofr\u002Flive-portrait)\n- Nuke can use LivePortrait through CompyUI node, details [here](https:\u002F\u002Fx.com\u002Fbilawalsidhu\u002Fstatus\u002F1837349806475276338)\n- LivePortrait lives on [Poe](https:\u002F\u002Fpoe.com\u002FLivePortrait)\n\n### Video Tutorials\n- [Workflow of LivePortrait Video to Video](https:\u002F\u002Fyoutu.be\u002FxfzK_6cTs58?si=aYjgypeJBkhc46VL) by [@curiousrefuge](https:\u002F\u002Fwww.youtube.com\u002F@curiousrefuge)\n- [Google Colab tutorial](https:\u002F\u002Fyoutu.be\u002F59Y9ePAXTp0?si=KzEWhklBlporW7D8) by [@Planet Ai](https:\u002F\u002Fwww.youtube.com\u002F@planetai217)\n- [Paper reading](https:\u002F\u002Fyoutu.be\u002FfD0P6UWSu8I?si=Vn5wxUa8qSu1jv4l) by [@TwoMinutePapers](https:\u002F\u002Fwww.youtube.com\u002F@TwoMinutePapers)\n- [ComfyUI Advanced LivePortrait](https:\u002F\u002Fyoutu.be\u002Fq0Vf-ZZsbzI?si=nbs3npleH-dVCt28) by [TutoView](https:\u002F\u002Fwww.youtube.com\u002F@TutoView)\n- [LivePortarit exploration](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=vsvlbTEqgXQ) and [A deep dive into LivePortrait](https:\u002F\u002Fyoutu.be\u002FcucaEEDYmsw?si=AtPaDWc5G-a4E8dD) by [TheoreticallyMedia](https:\u002F\u002Fwww.youtube.com\u002F@TheoreticallyMedia)\n- [LivePortrait hands-on tutorial](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=uyjSTAOY7yI) by [@AI Search](https:\u002F\u002Fwww.youtube.com\u002F@theAIsearch)\n- [ComfyUI tutorial](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=8-IcDDmiUMM) by [@Sebastian Kamph](https:\u002F\u002Fwww.youtube.com\u002F@sebastiankamph)\n- A [tutorial](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002FBV1cf421i7Ly) on BiliBili\n\nAnd so MANY amazing contributions from our community, too many to list them all 💖\n\n## Acknowledgements 💐\nWe would like to thank the contributors of [FOMM](https:\u002F\u002Fgithub.com\u002FAliaksandrSiarohin\u002Ffirst-order-model), [Open Facevid2vid](https:\u002F\u002Fgithub.com\u002Fzhanglonghao1992\u002FOne-Shot_Free-View_Neural_Talking_Head_Synthesis), [SPADE](https:\u002F\u002Fgithub.com\u002FNVlabs\u002FSPADE), [InsightFace](https:\u002F\u002Fgithub.com\u002Fdeepinsight\u002Finsightface) and [X-Pose](https:\u002F\u002Fgithub.com\u002FIDEA-Research\u002FX-Pose) repositories, for their open research and contributions.\n\n## Ethics Considerations 🛡️\nPortrait animation technologies come with social risks, particularly the potential for misuse in creating deepfakes. To mitigate these risks, it’s crucial to follow ethical guidelines and adopt responsible usage practices. At present, the synthesized results contain visual artifacts that may help in detecting deepfakes. Please note that we do not assume any legal responsibility for the use of the results generated by this project.\n\n## Citation 💖\nIf you find LivePortrait useful for your project or research, welcome to 🌟 this repo and cite our work using the following BibTeX:\n```bibtex\n@article{guo2024liveportrait,\n  title   = {LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control},\n  author  = {Guo, Jianzhu and Zhang, Dingyun and Liu, Xiaoqiang and Zhong, Zhizhou and Zhang, Yuan and Wan, Pengfei and Zhang, Di},\n  journal = {arXiv preprint arXiv:2407.03168},\n  year    = {2024}\n}\n```\n\n*Long live in arXiv.*\n\n## Contact 📧\n[**Jianzhu Guo (郭建珠)**](https:\u002F\u002Fguojianzhu.com); **guojianzhu1994@gmail.com**\n\n## Star History 🌟\n\u003Cdetails>\n  \u003Csummary>Click to view Star chart\u003C\u002Fsummary>\n  \u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fwww.star-history.com\u002F#KlingAIResearch\u002FLivePortrait&Timeline\" target=\"_blank\">\n      \u003Cpicture>\n        \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=KlingAIResearch\u002FLivePortrait&type=Timeline&theme=dark\" \u002F>\n        \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=KlingAIResearch\u002FLivePortrait&type=Timeline\" \u002F>\n        \u003Cimg alt=\"Star History Chart\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=KlingAIResearch\u002FLivePortrait&type=Timeline\" width=\"90%\" \u002F>\n      \u003C\u002Fpicture>\n    \u003C\u002Fa>\n  \u003C\u002Fp>\n\u003C\u002Fdetails>\n","LivePortrait 是一个能够将静态肖像变为生动视频的工具。它通过拼接和重定向控制技术，实现高效的面部动画生成。项目使用 Python 语言开发，支持图像动画、视频编辑与生成等功能，特别适用于需要快速创建动态人物肖像的场景，如社交媒体内容创作、虚拟角色设计等。其在线演示版本可在 Hugging Face 平台上体验，便于用户直观了解和尝试这项技术的实际效果。",2,"2026-06-11 02:50:26","top_language"]