Nodes Browser

ComfyDeploy: How ComfyUI-LivePortrait_v3 works in ComfyUI?

What is ComfyUI-LivePortrait_v3?

We developed a custom_node for Liveportrait_v3 that enables flexible use on Comfyui to drive image-based emoji generation from photos.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-LivePortrait_v3 and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-LivePortrait_v3

image

🔥 Updates

ComfyUI nodes for LivePortrait,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

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

1. Clone the code and prepare the environment

git clone https://github.com/VangengLab/ComfyUI-LivePortrait_v3.git
cd ComfyUI-LivePortrait_v3

For the environment, it can be configured according to Comfyui_liveportrait_v1 and liveportrait. For details, you can refer to https://github.com/KwaiVGI/LivePortrait and https://github.com/kijai/ComfyUI-LivePortraitKJ:https://github.com/KwaiVGI/LivePortrait. or refer to my environment and execute the instruction.

pip install -r requirements.txt

Download pretrained weights

The easiest way to download the pretrained weights is from HuggingFace:

cd models/
huggingface-cli download KwaiVGI/LivePortrait --local-dir Liveportrait_v3 --exclude "*.git*" "README.md" "docs"

If you cannot access to Huggingface, you can use hf-mirror to download:

export HF_ENDPOINT=https://hf-mirror.com
huggingface-cli download KwaiVGI/LivePortrait --local-dir pretrained_weights --exclude "*.git*" "README.md" "docs"

You can also manually download the model to the folder from the URL: https://huggingface.co/KwaiVGI/LivePortrait/tree/main, and remember put them to models/Liveportrait_v3

​​cbedb95a-7d1a-4686-8d26-4b72d9f75552

###maybe there will be some problem about locating models,please use the abusolte address,or tell me I will offer you help.my cuda is 12.1 which has less problem.