ComfyUI > Nodes > ComfyUI-AdvancedLivePortrait > Advanced Live Portrait (PHM)

ComfyUI Node: Advanced Live Portrait (PHM)

Class Name

AdvancedLivePortrait

Category
AdvancedLivePortrait
Author
PowerHouseMan (Account age: 4days)
Extension
ComfyUI-AdvancedLivePortrait
Latest Updated
2024-08-04
Github Stars
0.26K

How to Install ComfyUI-AdvancedLivePortrait

Install this extension via the ComfyUI Manager by searching for ComfyUI-AdvancedLivePortrait
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-AdvancedLivePortrait in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Advanced Live Portrait (PHM) Description

Enhance portrait images with advanced facial analysis and animation techniques for lifelike portrayals.

Advanced Live Portrait (PHM):

AdvancedLivePortrait is a sophisticated node designed to enhance and animate portrait images using advanced facial analysis and transformation techniques. This node leverages a combination of facial expression editing, rotation adjustments, and image stitching to create dynamic and lifelike portrait animations. By analyzing facial features and expressions, it can apply various transformations such as blinking, smiling, and head movements, resulting in a more engaging and realistic portrayal. The primary goal of AdvancedLivePortrait is to provide AI artists with a powerful tool to bring static images to life, making them more expressive and interactive. This node is particularly useful for creating animated avatars, enhancing digital art, and adding a dynamic element to portrait photography.

Advanced Live Portrait (PHM) Input Parameters:

sample_image

This parameter represents the initial image that will be used as the base for the portrait animation. It is crucial as it serves as the starting point for all subsequent transformations and edits. The quality and resolution of the sample image can significantly impact the final output, so it is recommended to use high-quality images for the best results.

src_image

This parameter is the source image that provides the facial features and expressions to be analyzed and manipulated. It works in conjunction with the sample_image to apply the desired transformations. The src_image should ideally be a clear and well-lit portrait to ensure accurate facial analysis and realistic animation.

Advanced Live Portrait (PHM) Output Parameters:

ui

This output parameter contains a dictionary with the key images, which holds a list of dictionaries. Each dictionary in the list represents an image file generated during the process, including its filename and type. This output is essential for accessing and reviewing the intermediate and final images produced by the node.

result

The result parameter is a tuple containing three elements: the final animated image, a link to the new editor state, and the expression state object. This output is crucial for obtaining the final animated portrait and for further editing or adjustments. The animated image is the primary output, while the editor link and expression state provide additional context and control for further modifications.

Advanced Live Portrait (PHM) Usage Tips:

  • Ensure that the sample_image and src_image are of high quality and well-lit to achieve the best results in facial analysis and animation.
  • Experiment with different facial expressions and movements to create a variety of dynamic and engaging portrait animations.
  • Use the output images and editor link to iteratively refine and enhance the animated portrait, making adjustments as needed to achieve the desired effect.

Advanced Live Portrait (PHM) Common Errors and Solutions:

"Error: Image dimensions do not match"

  • Explanation: This error occurs when the dimensions of the sample_image and src_image do not match, leading to issues in the transformation process.
  • Solution: Ensure that both images have the same dimensions before inputting them into the node. You can use image editing software to resize and align the images accordingly.

"Error: Facial features not detected"

  • Explanation: This error indicates that the node was unable to detect facial features in the src_image, which is necessary for applying transformations.
  • Solution: Make sure the src_image is a clear and well-lit portrait with visible facial features. Avoid images with obstructions or poor lighting that can hinder facial analysis.

"Error: Invalid file format"

  • Explanation: This error occurs when the input images are not in a supported file format.
  • Solution: Convert the input images to a supported format such as JPEG or PNG before using them in the node. Use image conversion tools or software to change the file format if necessary.

Advanced Live Portrait (PHM) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-AdvancedLivePortrait
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.