diff --git a/README.md b/README.md index ffc85b8..ffe49b5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,31 @@ # Comfyui_Liveportrait_v3 ![image](https://github.com/user-attachments/assets/5a7f07e8-c856-4a6e-ad81-82ebe1d5934d) -# 🔥 Updates +## 🔥 Updates We support image driven mode and regional control for Comfyui!!! Using a simple way to use an image as a driving signal to drive the source image or video! -# Introduction +## Introduction This repo, named Comfyui_Liveportrait_v3, thanks to paper LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control. We developed a custom_node for Liveportrait_v3 that enables flexible use on Comfyui to drive image-based emoji generation from photos. -# Getting Started +## Getting Started +### 1. Clone the code and prepare the environment +```bash +git clone https://github.com/VangengLab/Comfyui_Liveportrait_v3.git +cd custom_nodes/Comfyui_Liveportrait_v3 +pip install -r requirements.txt +``` +## Download pretrained weights +The easiest way to download the pretrained weights is from HuggingFace: +```bash +huggingface-cli download KwaiVGI/LivePortrait --local-dir pretrained_weights --exclude "*.git*" "README.md" "docs" +``` +If you cannot access to Huggingface, you can use hf-mirror to download: +```bash +export HF_ENDPOINT=https://hf-mirror.com +huggingface-cli download KwaiVGI/LivePortrait --local-dir pretrained_weights --exclude "*.git*" "README.md" "docs" +``` +you can also visit LivePortrait github searching those pretrained weights,but remember put them to models/liveportrait + + + +