---
title: ControlNetXL (CNXL)   Huchenlei PuLID API Docs | Text to Image | ModelsLab
description: API documentation, code examples, and SDKs for ControlNetXL (CNXL)   Huchenlei PuLID. Integrate AI into your app with Python, JavaScript, cURL, and CLI. Pay-per-use pricing.
url: https://modelslab.com/models/modelslab/controlnetxl-cnxl-huchenlei-pulid/api
canonical: https://modelslab.com/models/modelslab/controlnetxl-cnxl-huchenlei-pulid/api
type: product
component: Playground/Endpoint/Index
generated_at: 2026-03-31T16:27:25.676557Z
---

# ControlNetXL (CNXL)   Huchenlei PuLID API Docs | Text to Image | ModelsLab

> API documentation, code examples, and SDKs for ControlNetXL (CNXL)   Huchenlei PuLID. Integrate AI into your app with Python, JavaScript, cURL, and CLI. Pay-per-use pricing.

**Navigation**: [Home](https://modelslab.com) > [Models](https://modelslab.com/models) > [ModelsLab](https://modelslab.com/models/modelslab) > [ControlNetXL (CNXL)   Huchenlei PuLID](https://modelslab.com/models/modelslab/controlnetxl-cnxl-huchenlei-pulid/api) > API Documentation

## Model

### [ControlNetXL (CNXL) - huchenlei-PuLID](https://modelslab.com/models/modelslab/controlnetxl-cnxl-huchenlei-pulid)

**Model ID:** controlnetxl-cnxl-huchenlei-pulid
**Category:** Stable Diffusion Xl
**Provider:** 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:

https://github.com/cubiq/PuLID_ComfyUI provided by cubiq, native ComfyUI implementation

https://github.com/ZHO-ZHO-ZHO/ComfyUI-PuLID-ZHO provided by ZHO, diffusers-based implementation

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

Tags: controlnet, tool, sdxl, cnxl

## Endpoint

### Text to Image Community Model

**Endpoint:** `v6/images/text2img`
**Provider:** Modelslab
**Category:** Image

Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

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

## API Docs

- [API Docs](https://modelslab.com/models/modelslab/controlnetxl-cnxl-huchenlei-pulid/llms.txt)

## Related Models

### [- 29 Lamp Showcase](https://modelslab.com/models/modelslab/29lampshowcase)
Category: Stable Diffusion Xl | Provider: Modelslab

### [Ombre - v3.1](https://modelslab.com/models/modelslab/ombre-v3-1)
Category: Stable Diffusion Xl | Provider: Modelslab

### [Midnight - v1.0](https://modelslab.com/models/modelslab/midnight-v10)
Category: Stable Diffusion Xl | Provider: Modelslab

### [SDXL HK - v0.95c COSXL](https://modelslab.com/models/modelslab/sdxl-hk-v0-95c-cosxl)
Category: Stable Diffusion Xl | Provider: Modelslab

### [SussyBaka XL (SBXL) - v0.1](https://modelslab.com/models/modelslab/sussybaka-xl-sbxl-v0-1)
Category: Stable Diffusion Xl | Provider: Modelslab

### [astolfo_(fate)_noobxl_eps_1.0 - v1.0](https://modelslab.com/models/modelslab/astolfo-fate-noobxl-eps-1-0-v1-0)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [Wuthering Waves -The Shorekeeper (SDXL | Pony | Noob | Artiwaifu | SD15) - A3](https://modelslab.com/models/modelslab/wuthering-waves-the-shorekeeper-sdxl-pony-noob-artiwaifu-sd15-a3)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [AURA_RENDER_XL - v2.0](https://modelslab.com/models/modelslab/aura-render-xl-v2-0)
Category: Stable Diffusion Xl | Provider: Modelslab

### [yuudachi_(kancolle)_noobxl_eps_1.0 - v1.0](https://modelslab.com/models/modelslab/yuudachi-kancolle-noobxl-eps-1-0-v1-0)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [Suspiria (Cinematic Style) [Flux, SDXL] - SDXL v1.0](https://modelslab.com/models/modelslab/suspiria-cinematic-style-flux-sdxl-sdxl-v1-0)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [Product appearance design|Medical products - Product Design | MedicaV1](https://modelslab.com/models/modelslab/product-appearance-design-medical-products-product-design-medicav1)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [Ratatoskr (Animal, Creature and Furry ) - v7.3 [THL]  (BF16/FP32)](https://modelslab.com/models/modelslab/ratatoskr-animal-creature-and-furry-v7-3-thl-bf16-fp32)
Category: Stable Diffusion Xl | Provider: Modelslab

### [mscene](https://modelslab.com/models/modelslab/mscene)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [hu_tao_(genshin_impact)_noobxl_eps_1.0 - v1.0](https://modelslab.com/models/modelslab/hu-tao-genshin-impact-noobxl-eps-1-0-v1-0)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [_CHEYENNE_ - v0.8](https://modelslab.com/models/modelslab/cheyenne-v0-8)
Category: Stable Diffusion Xl | Provider: Modelslab

### [Magical Wind - v1.0](https://modelslab.com/models/modelslab/magical-wind-v1-0)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [Akechi Kokoro - Tantei Opera Milky Holmes - - - illustriousSPOv1.0](https://modelslab.com/models/modelslab/akechi-kokoro-tantei-opera-milky-holmes-illustriousspov1-0)
Category: Stable Diffusion Xl | Type: Lora | Provider: Modelslab

### [Painter's Checkpoint (oil paint / oil painting art style)](https://modelslab.com/models/modelslab/painters-checkpoint-oil-p)
Category: Stable Diffusion Xl | Type: Sdxl1.0 | Provider: Modelslab


---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-03-31*