Seedance 2.0 is here - create consistent, multimodal AI videos faster with images, videos, and audio in one prompt.

Try Now
Skip to main content
ControlNetXL (CNXL) - huchenlei-PuLID thumbnail

ControlNetXL (CNXL) - Huchenlei-PuLID

by ModelsLab

PuLID is an ip-adapter alike method to restore facial identity. It uses both insightface embedding and CLIP embedding similar to what ip-adapter faceid plus model does. However, there is an extra process of masking out the face from background environment using facexlib before passing image to CLIP. PuLID also uses Eva CLIP instead of normal CLIP. In the attn overrides, PuLID also does something more than IPAdapter, as it zero pads the tensor and adds to ortho of hidden states.

PuLID uses both evaclip embedding and insightface embedding as proj module input. So in order to use the feature, you need to install https://github.com/huchenlei/sd-webui-controlnet-evaclip extension.

ComfyUI implementations:

Original repository: https://huggingface.co/huchenlei/ipadapter_pulid

controlnetxl-cnxl-huchenlei-pulid
Open Source ModelUnlimited UsageLLMs.txt
API PlaygroundAPI Documentation

Input

Select models...

Per image generation will cost 0.0047$
For premium plan image generation will cost 0.00$ i.e Free.

Output

Idle

Unknown content type

About ControlNetXL (CNXL) - Huchenlei-PuLID

PuLID is an ip-adapter alike method to restore facial identity. It uses both insightface embedding and CLIP embedding similar to what ip-adapter faceid plus model does. However, there is an extra process of masking out the face from background environment using facexlib before passing image to CLIP. PuLID also uses Eva CLIP instead of normal CLIP. In the attn overrides, PuLID also does something more than IPAdapter, as it zero pads the tensor and adds to ortho of hidden states.PuLID uses both ev

Technical Specifications

Model ID
controlnetxl-cnxl-huchenlei-pulid
Provider
Modelslab
Task
AI Generation
Price
$0.0047 per API call
Added
May 21, 2025

Quick Start

Integrate ControlNetXL (CNXL) - Huchenlei-PuLID into your application with a single API call. Get your API key from the pricing page to get started.

import requests
import json
url = "https://modelslab.com/api/v6/images/text2img"
headers = {
"Content-Type": "application/json"
}
data = {
"model_id": "controlnetxl-cnxl-huchenlei-pulid",
"prompt": "your prompt here",
"key": "YOUR_API_KEY"
}
try:
response = requests.post(url, headers=headers, json=data)
response.raise_for_status() # Raises an HTTPError for bad responses (4XX or 5XX)
result = response.json()
print("API Response:")
print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
print(f"Other error occurred: {err}")

View the full API documentation for SDKs, code examples in Python, JavaScript, and more.

Pricing

ControlNetXL (CNXL) - Huchenlei-PuLID API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. View pricing plans

ControlNetXL (CNXL) - Huchenlei-PuLID FAQ

PuLID is an ip-adapter alike method to restore facial identity. It uses both insightface embedding and CLIP embedding similar to what ip-adapter faceid plus model does. However, there is an extra process of masking out the face from background environment using facexlib before passing image to CLIP.

You can integrate ControlNetXL (CNXL) - Huchenlei-PuLID into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "controlnetxl-cnxl-huchenlei-pulid" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

ControlNetXL (CNXL) - Huchenlei-PuLID costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

The model ID for ControlNetXL (CNXL) - Huchenlei-PuLID is "controlnetxl-cnxl-huchenlei-pulid". Use this ID in your API requests to specify this model.

Yes, ModelsLab offers a free tier that lets you try ControlNetXL (CNXL) - Huchenlei-PuLID and other AI models. Sign up to get free API credits and start building immediately.