├── .github └── workflows │ └── publish.yml ├── .gitignore ├── README.md ├── __init__.py ├── example ├── 1720078701040.png ├── 1720256574305.png ├── 1720256807930.png ├── 1720268832629.png ├── 1722665711975.png ├── 8dec8f644e71dc376a320e92c6563dc.png ├── appinfo-workflow.json ├── d0.mp4 ├── d1.mp4 ├── d2.mp4 ├── d3.mp4 ├── d5.mp4 ├── d6.mp4 ├── d7.mp4 ├── d8.mp4 ├── d9.mp4 ├── expression_workflow.json ├── live_workflow.json ├── mul-workflow.json ├── s0.jpg ├── v2v-workflow.json └── 全家福模式-workflow.json ├── nodes ├── LivePortrait │ ├── LICENSE │ ├── animations │ │ ├── s0--d0.mp4 │ │ └── s0--d0_concat.mp4 │ ├── app.py │ ├── deviceutils.py │ ├── inference.py │ ├── pretrained_weights │ │ └── .gitkeep │ ├── readme.md │ ├── requirements.txt │ ├── speed.py │ ├── src │ │ ├── config │ │ │ ├── __init__.py │ │ │ ├── argument_config.py │ │ │ ├── base_config.py │ │ │ ├── crop_config.py │ │ │ ├── inference_config.py │ │ │ └── models.yaml │ │ ├── gradio_pipeline.py │ │ ├── live_portrait_pipeline.py │ │ ├── live_portrait_wrapper.py │ │ ├── modules │ │ │ ├── __init__.py │ │ │ ├── appearance_feature_extractor.py │ │ │ ├── convnextv2.py │ │ │ ├── dense_motion.py │ │ │ ├── motion_extractor.py │ │ │ ├── spade_generator.py │ │ │ ├── stitching_retargeting_network.py │ │ │ ├── util.py │ │ │ └── warping_network.py │ │ ├── template_maker.py │ │ └── utils │ │ │ ├── __init__.py │ │ │ ├── camera.py │ │ │ ├── crop.py │ │ │ ├── cropper.py │ │ │ ├── face_analysis_diy.py │ │ │ ├── helper.py │ │ │ ├── io.py │ │ │ ├── landmark_runner.py │ │ │ ├── resources │ │ │ └── mask_template.png │ │ │ ├── retargeting_utils.py │ │ │ ├── rprint.py │ │ │ ├── timer.py │ │ │ └── video.py │ └── video2template.py ├── expression_editor.py └── live_portrait.py ├── pyproject.toml └── requirements.txt /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.pyc 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/__init__.py -------------------------------------------------------------------------------- /example/1720078701040.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/1720078701040.png -------------------------------------------------------------------------------- /example/1720256574305.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/1720256574305.png -------------------------------------------------------------------------------- /example/1720256807930.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/1720256807930.png -------------------------------------------------------------------------------- /example/1720268832629.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/1720268832629.png -------------------------------------------------------------------------------- /example/1722665711975.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/1722665711975.png -------------------------------------------------------------------------------- /example/8dec8f644e71dc376a320e92c6563dc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/8dec8f644e71dc376a320e92c6563dc.png -------------------------------------------------------------------------------- /example/appinfo-workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/appinfo-workflow.json -------------------------------------------------------------------------------- /example/d0.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d0.mp4 -------------------------------------------------------------------------------- /example/d1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d1.mp4 -------------------------------------------------------------------------------- /example/d2.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d2.mp4 -------------------------------------------------------------------------------- /example/d3.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d3.mp4 -------------------------------------------------------------------------------- /example/d5.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d5.mp4 -------------------------------------------------------------------------------- /example/d6.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d6.mp4 -------------------------------------------------------------------------------- /example/d7.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d7.mp4 -------------------------------------------------------------------------------- /example/d8.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d8.mp4 -------------------------------------------------------------------------------- /example/d9.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/d9.mp4 -------------------------------------------------------------------------------- /example/expression_workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/expression_workflow.json -------------------------------------------------------------------------------- /example/live_workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/live_workflow.json -------------------------------------------------------------------------------- /example/mul-workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/mul-workflow.json -------------------------------------------------------------------------------- /example/s0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/s0.jpg -------------------------------------------------------------------------------- /example/v2v-workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/v2v-workflow.json -------------------------------------------------------------------------------- /example/全家福模式-workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/example/全家福模式-workflow.json -------------------------------------------------------------------------------- /nodes/LivePortrait/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/LICENSE -------------------------------------------------------------------------------- /nodes/LivePortrait/animations/s0--d0.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/animations/s0--d0.mp4 -------------------------------------------------------------------------------- /nodes/LivePortrait/animations/s0--d0_concat.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/animations/s0--d0_concat.mp4 -------------------------------------------------------------------------------- /nodes/LivePortrait/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/app.py -------------------------------------------------------------------------------- /nodes/LivePortrait/deviceutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/deviceutils.py -------------------------------------------------------------------------------- /nodes/LivePortrait/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/inference.py -------------------------------------------------------------------------------- /nodes/LivePortrait/pretrained_weights/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nodes/LivePortrait/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/readme.md -------------------------------------------------------------------------------- /nodes/LivePortrait/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/requirements.txt -------------------------------------------------------------------------------- /nodes/LivePortrait/speed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/speed.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nodes/LivePortrait/src/config/argument_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/config/argument_config.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/config/base_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/config/base_config.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/config/crop_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/config/crop_config.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/config/inference_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/config/inference_config.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/config/models.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/config/models.yaml -------------------------------------------------------------------------------- /nodes/LivePortrait/src/gradio_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/gradio_pipeline.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/live_portrait_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/live_portrait_pipeline.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/live_portrait_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/live_portrait_wrapper.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/appearance_feature_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/appearance_feature_extractor.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/convnextv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/convnextv2.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/dense_motion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/dense_motion.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/motion_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/motion_extractor.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/spade_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/spade_generator.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/stitching_retargeting_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/stitching_retargeting_network.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/util.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/modules/warping_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/modules/warping_network.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/template_maker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/template_maker.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/camera.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/crop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/crop.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/cropper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/cropper.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/face_analysis_diy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/face_analysis_diy.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/helper.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/io.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/landmark_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/landmark_runner.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/resources/mask_template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/resources/mask_template.png -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/retargeting_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/retargeting_utils.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/rprint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/rprint.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/timer.py -------------------------------------------------------------------------------- /nodes/LivePortrait/src/utils/video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/src/utils/video.py -------------------------------------------------------------------------------- /nodes/LivePortrait/video2template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/LivePortrait/video2template.py -------------------------------------------------------------------------------- /nodes/expression_editor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/expression_editor.py -------------------------------------------------------------------------------- /nodes/live_portrait.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/nodes/live_portrait.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MixLabPro/comfyui-liveportrait/HEAD/requirements.txt --------------------------------------------------------------------------------