ComfyUI-AdvancedLivePortrait

ComfyUI-AdvancedLivePortrait
★ 2,631

实时预览人脸表情编辑视频表情合成动画制作
实时预览的人脸表情编辑节点,可从照片提取并将表情插入视频或合成动画,速度快、便于批量制作。
💡 将静态人物照片的表情实时替换并导出视频动画
🍴 226 Forks💻 Python🔄 2024-08-21
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e58c8376a81b
📦 requirements.txt
numpy>=1.26.4
opencv-python-headless
imageio-ffmpeg>=0.5.1
lmdb>=1.4.1
timm>=1.0.7
rich>=13.7.1
albumentations>=1.4.10
ultralytics
tyro==0.8.5
dill
readme
📄 README

ComfyUI-AdvancedLivePortrait

Update

8/21/2024

You can create a video without a video.

Track the face of the source video.

The workflow has been updated.

Introduction

AdvancedLivePortrait is faster and has real-time preview

https://github.com/user-attachments/assets/90b78639-6477-48af-ba49-7945488df581

Edit facial expressions in photos.

Insert facial expressions into videos.

Create animations using multiple facial expressions.

Extract facial expressions from sample photos.

Installation

This project has been registered with ComfyUI-Manager. Now you can install it automatically using the manager.

Usage

The workflows and sample datas placed in ‘\custom_nodes\ComfyUI-AdvancedLivePortrait\sample\’


You can add expressions to the video. See ‘workflow2_advanced.json’.

Describes the ‘command’ in ‘workflow2_advanced.json’

[Motion index] = [Changing frame length] : [Length of frames waiting for next motion]

Motion index 0 is the original source image.

They are numbered in the order they lead to the motion_link.

Linking the driving video to ‘src_images’ will add facial expressions to the driving video.


You can save and load expressions with the ‘Load Exp Data’ ‘Save Exp Data’ nodes.

\ComfyUI\output\exp_data\ Path to the folder being saved


Thanks

Original author’s link : https://liveportrait.github.io/

This project uses a model converted by kijai. link : https://github.com/kijai/ComfyUI-LivePortraitKJ