├── .dockerignore ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ ├── ci.yml │ └── publish-docker.yml ├── .gitignore ├── Install.ps1 ├── LICENSE ├── README.md ├── Start-WebUI.ps1 ├── Update.ps1 ├── app.py ├── docker ├── Dockerfile └── docker-compose.yaml ├── i18n └── translation.yaml ├── models └── models_will_be_placed_here.txt ├── modules ├── __init__.py ├── config │ ├── inference_config.py │ └── models.yaml ├── image_restoration │ ├── __init__.py │ └── real_esrgan │ │ ├── __init__.py │ │ ├── model_downloader.py │ │ ├── real_esrgan_inferencer.py │ │ └── wrapper │ │ ├── __init__.py │ │ ├── real_esrganer.py │ │ ├── rrdb_net.py │ │ └── srvgg_net_compact.py ├── live_portrait │ ├── __init__.py │ ├── appearance_feature_extractor.py │ ├── convnextv2.py │ ├── dense_motion.py │ ├── live_portrait_inferencer.py │ ├── live_portrait_wrapper.py │ ├── model_downloader.py │ ├── motion_extractor.py │ ├── spade_generator.py │ ├── stitching_retargeting_network.py │ ├── util.py │ └── warping_network.py └── utils │ ├── __init__.py │ ├── camera.py │ ├── constants.py │ ├── face_analysis_diy.py │ ├── helper.py │ ├── image_helper.py │ ├── io.py │ ├── paths.py │ ├── resources │ └── mask_template.png │ ├── rprint.py │ ├── timer.py │ ├── video.py │ └── video_helper.py ├── notebooks └── advanced_live_portrait_webui.ipynb ├── outputs └── outputs_are_generated_here.txt ├── requirements-cpu.txt ├── requirements.txt └── tests ├── test_config.py ├── test_expression_editing.py ├── test_image_restoration.py └── test_video_creation.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## Related issues / PRs 2 | - # 3 | 4 | ## Summarize Changes 5 | 1. 6 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/publish-docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.github/workflows/publish-docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/.gitignore -------------------------------------------------------------------------------- /Install.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/Install.ps1 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/README.md -------------------------------------------------------------------------------- /Start-WebUI.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/Start-WebUI.ps1 -------------------------------------------------------------------------------- /Update.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/Update.ps1 -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/app.py -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/docker/docker-compose.yaml -------------------------------------------------------------------------------- /i18n/translation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/i18n/translation.yaml -------------------------------------------------------------------------------- /models/models_will_be_placed_here.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/config/inference_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/config/inference_config.py -------------------------------------------------------------------------------- /modules/config/models.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/config/models.yaml -------------------------------------------------------------------------------- /modules/image_restoration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/model_downloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/image_restoration/real_esrgan/model_downloader.py -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/real_esrgan_inferencer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/image_restoration/real_esrgan/real_esrgan_inferencer.py -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/wrapper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/wrapper/real_esrganer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/image_restoration/real_esrgan/wrapper/real_esrganer.py -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/wrapper/rrdb_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/image_restoration/real_esrgan/wrapper/rrdb_net.py -------------------------------------------------------------------------------- /modules/image_restoration/real_esrgan/wrapper/srvgg_net_compact.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/image_restoration/real_esrgan/wrapper/srvgg_net_compact.py -------------------------------------------------------------------------------- /modules/live_portrait/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/live_portrait/appearance_feature_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/appearance_feature_extractor.py -------------------------------------------------------------------------------- /modules/live_portrait/convnextv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/convnextv2.py -------------------------------------------------------------------------------- /modules/live_portrait/dense_motion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/dense_motion.py -------------------------------------------------------------------------------- /modules/live_portrait/live_portrait_inferencer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/live_portrait_inferencer.py -------------------------------------------------------------------------------- /modules/live_portrait/live_portrait_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/live_portrait_wrapper.py -------------------------------------------------------------------------------- /modules/live_portrait/model_downloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/model_downloader.py -------------------------------------------------------------------------------- /modules/live_portrait/motion_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/motion_extractor.py -------------------------------------------------------------------------------- /modules/live_portrait/spade_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/spade_generator.py -------------------------------------------------------------------------------- /modules/live_portrait/stitching_retargeting_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/stitching_retargeting_network.py -------------------------------------------------------------------------------- /modules/live_portrait/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/util.py -------------------------------------------------------------------------------- /modules/live_portrait/warping_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/live_portrait/warping_network.py -------------------------------------------------------------------------------- /modules/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/utils/camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/camera.py -------------------------------------------------------------------------------- /modules/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/constants.py -------------------------------------------------------------------------------- /modules/utils/face_analysis_diy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/face_analysis_diy.py -------------------------------------------------------------------------------- /modules/utils/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/helper.py -------------------------------------------------------------------------------- /modules/utils/image_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/image_helper.py -------------------------------------------------------------------------------- /modules/utils/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/io.py -------------------------------------------------------------------------------- /modules/utils/paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/paths.py -------------------------------------------------------------------------------- /modules/utils/resources/mask_template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/resources/mask_template.png -------------------------------------------------------------------------------- /modules/utils/rprint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/rprint.py -------------------------------------------------------------------------------- /modules/utils/timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/timer.py -------------------------------------------------------------------------------- /modules/utils/video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/video.py -------------------------------------------------------------------------------- /modules/utils/video_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/modules/utils/video_helper.py -------------------------------------------------------------------------------- /notebooks/advanced_live_portrait_webui.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/notebooks/advanced_live_portrait_webui.ipynb -------------------------------------------------------------------------------- /outputs/outputs_are_generated_here.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements-cpu.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/requirements-cpu.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/tests/test_config.py -------------------------------------------------------------------------------- /tests/test_expression_editing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/tests/test_expression_editing.py -------------------------------------------------------------------------------- /tests/test_image_restoration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/tests/test_image_restoration.py -------------------------------------------------------------------------------- /tests/test_video_creation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jhj0517/AdvancedLivePortrait-WebUI/HEAD/tests/test_video_creation.py --------------------------------------------------------------------------------