ComfyUI  >  Nodes  >  ComfyUI InstantID (Native Support) >  Apply InstantID

ComfyUI Node: Apply InstantID

Class Name

ApplyInstantID

Category
InstantID
Author
cubiq (Account age: 5012 days)
Extension
ComfyUI InstantID (Native Support)
Latest Updated
6/14/2024
Github Stars
0.9K

How to Install ComfyUI InstantID (Native Support)

Install this extension via the ComfyUI Manager by searching for  ComfyUI InstantID (Native Support)
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI InstantID (Native Support) 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 Cloud 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

Apply InstantID Description

Integrate InstantID technology for advanced facial analysis in AI art projects.

Apply InstantID:

The ApplyInstantID node is designed to integrate InstantID technology into your AI art projects, enabling advanced facial recognition and analysis capabilities. This node leverages the power of InstantID and InsightFace to analyze and process facial features within images, allowing for precise and detailed facial manipulation. By utilizing this node, you can enhance your AI models with sophisticated facial analysis, leading to more accurate and realistic results in your art projects. The node is particularly useful for tasks that require detailed facial feature extraction and manipulation, providing a robust solution for AI artists looking to incorporate advanced facial recognition into their workflows.

Apply InstantID Input Parameters:

instantid

This parameter represents the InstantID model to be used for facial analysis. It is essential for the node to function correctly as it provides the necessary algorithms and data for facial recognition.

insightface

This parameter refers to the InsightFace model, which is used for detailed facial analysis. It works in conjunction with the InstantID model to extract and analyze facial features from the input image.

control_net

This parameter is used to integrate ControlNet, which helps in controlling the flow and processing of data within the node. It ensures that the facial analysis and manipulation are performed efficiently and accurately.

image

This parameter is the input image that contains the face to be analyzed. The image should be clear and of high quality to ensure accurate facial feature extraction.

model

This parameter specifies the AI model to be used for processing the image. It is crucial for determining how the facial features will be analyzed and manipulated.

positive

This parameter represents the positive conditioning data, which helps in guiding the AI model towards desired outcomes during the facial analysis process.

negative

This parameter represents the negative conditioning data, which helps in guiding the AI model away from undesired outcomes during the facial analysis process.

ip_weight

This parameter controls the weight of the InstantID processing, with a default value of 0.8. It ranges from 0.0 to 3.0 and can be adjusted in steps of 0.01. Higher values increase the influence of InstantID on the final result.

cn_strength

This parameter controls the strength of the ControlNet integration, with a default value of 0.8. It ranges from 0.0 to 10.0 and can be adjusted in steps of 0.01. Higher values increase the influence of ControlNet on the final result.

start_at

This parameter defines the starting point of the processing, with a default value of 0.0. It ranges from 0.0 to 1.0 and can be adjusted in steps of 0.001. It determines when the facial analysis should begin within the image.

end_at

This parameter defines the ending point of the processing, with a default value of 1.0. It ranges from 0.0 to 1.0 and can be adjusted in steps of 0.001. It determines when the facial analysis should end within the image.

noise

This parameter controls the amount of noise to be added during the processing, with a default value of 0.0. It ranges from 0.0 to 1.0 and can be adjusted in steps of 0.1. Adding noise can help in achieving more natural and varied results.

combine_embeds

This parameter specifies the method for combining embeddings, with options including 'average', 'norm average', and 'concat'. The default value is 'average'. This parameter affects how the facial features are combined and processed.

image_kps (optional)

This optional parameter represents the keypoints image, which can be used to provide additional facial feature data for more accurate analysis.

mask (optional)

This optional parameter represents the mask image, which can be used to isolate specific areas of the face for targeted analysis and manipulation.

Apply InstantID Output Parameters:

work_model

This output parameter represents the processed AI model after applying InstantID and facial analysis. It contains the updated model with enhanced facial recognition capabilities.

cond_uncond[0]

This output parameter represents the positive conditioning data after processing. It provides insights into how the positive conditioning influenced the final result.

cond_uncond[1]

This output parameter represents the negative conditioning data after processing. It provides insights into how the negative conditioning influenced the final result.

Apply InstantID Usage Tips:

  • Ensure that the input image is clear and of high quality to achieve accurate facial feature extraction.
  • Adjust the ip_weight and cn_strength parameters to fine-tune the influence of InstantID and ControlNet on the final result.
  • Use the combine_embeds parameter to experiment with different methods of combining facial features for varied outcomes.

Apply InstantID Common Errors and Solutions:

Reference Image: No face detected.

  • Explanation: This error occurs when the input image does not contain a detectable face.
  • Solution: Ensure that the input image is clear and contains a visible face. Try using a different image with better lighting and facial visibility.

No face detected in the keypoints image!

  • Explanation: This warning indicates that no face was detected in the provided keypoints image.
  • Solution: Verify that the keypoints image is correct and contains a visible face. If necessary, use the main image as the keypoints image.

InstantID model not loaded.

  • Explanation: This error occurs when the InstantID model is not properly loaded or initialized.
  • Solution: Check that the InstantID model is correctly specified and available. Ensure that all necessary files and dependencies are in place.

Apply InstantID Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI InstantID (Native Support)
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.