ComfyUI > Nodes > ComfyUI-PuLID-Flux2 > Load InsightFace (PuLID)

ComfyUI Node: Load InsightFace (PuLID)

Class Name

PuLIDInsightFaceLoader

Category
PuLID-Flux2
Author
iFayens (Account age: 0days)
Extension
ComfyUI-PuLID-Flux2
Latest Updated
2026-03-21
Github Stars
0.04K

How to Install ComfyUI-PuLID-Flux2

Install this extension via the ComfyUI Manager by searching for ComfyUI-PuLID-Flux2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-PuLID-Flux2 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load InsightFace (PuLID) Description

Facilitates InsightFace model loading for robust face analysis in PuLID-Flux2 architecture.

Load InsightFace (PuLID):

The PuLIDInsightFaceLoader node is designed to facilitate the loading of the InsightFace model, which is a powerful tool for face analysis tasks. This node is part of the PuLID-Flux2 suite and is specifically tailored to integrate seamlessly with the Flux2 architecture, providing robust facial recognition and analysis capabilities. By leveraging the InsightFace model, this node enables you to perform detailed face analysis, which can be crucial for applications that require precise facial feature detection and recognition. The node is capable of operating on different hardware providers, ensuring flexibility and adaptability to various computational environments. Its primary goal is to streamline the process of loading and preparing the InsightFace model, making it accessible and easy to use for AI artists and developers who may not have a deep technical background.

Load InsightFace (PuLID) Input Parameters:

provider

The provider parameter specifies the hardware execution environment for the InsightFace model. It determines where the model computations will be performed, offering options such as CUDA, CPU, and ROCM. Selecting CUDA allows the model to leverage NVIDIA GPUs for accelerated processing, which is ideal for high-performance tasks. The CPU option is suitable for systems without GPU support, providing a more universally compatible but potentially slower execution. ROCM is an option for AMD GPUs, offering an alternative to CUDA. The choice of provider can significantly impact the speed and efficiency of the face analysis process, with CUDA generally providing the best performance on compatible hardware.

Load InsightFace (PuLID) Output Parameters:

face_analysis

The face_analysis output parameter represents the loaded InsightFace model, ready for performing face analysis tasks. This output is crucial as it encapsulates the model's capability to detect and analyze facial features within images. The face_analysis output can be used in subsequent nodes or processes that require facial recognition or feature extraction, serving as a foundational component for more complex AI-driven image analysis workflows. Its importance lies in its ability to provide accurate and reliable facial data, which can be used to enhance various applications, from security systems to creative AI art projects.

Load InsightFace (PuLID) Usage Tips:

  • Ensure that the insightface library is installed in your environment by running pip install insightface onnxruntime-gpu to avoid import errors and ensure smooth operation of the node.
  • Choose the CUDA provider if you have access to an NVIDIA GPU, as this will significantly enhance the performance and speed of the face analysis tasks.
  • If you encounter issues with the antelopev2 model, consider installing it from the provided link to ensure the best accuracy and performance for your face analysis needs.

Load InsightFace (PuLID) Common Errors and Solutions:

[PuLID-Flux2] insightface not installed. Run: pip install insightface onnxruntime-gpu

  • Explanation: This error occurs when the insightface library is not installed in your Python environment, which is necessary for the node to function.
  • Solution: Install the required library by running the command pip install insightface onnxruntime-gpu in your terminal or command prompt.

[PuLID-Flux2] Could not load any InsightFace model. Please install AntelopeV2 from: https://huggingface.co/MonsterMMORPG/InstantID_Models/tree/main/models/antelopev2

  • Explanation: This error indicates that the node was unable to load the specified InsightFace model, possibly due to missing files or incorrect installation.
  • Solution: Follow the link provided in the error message to download and install the AntelopeV2 model, ensuring that it is correctly placed in the expected directory for the node to access.

Load InsightFace (PuLID) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-PuLID-Flux2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Load InsightFace (PuLID)