Regional Adapter (Inspire)
Give IPAdapter, PuLID, InstantID or Redux a Masked Region
- adapter_pipe
- image
- mask
- REGIONAL_ADAPTER
Identity adapters have an all-or-nothing problem. Load a face reference and it informs the entire canvas; run two and they fight. Regional Adapter is Inspire's answer: one reference image, one mask, one entry. Stack entries and each reference is confined to its own patch of picture.
It's the middle of a three-node chain and it's where you actually configure a region, so it's the one worth learning properly.
An entry, not an apply
This node does not touch your model. It produces a REGIONAL_ADAPTER - a small description of "reference image, region, strength, schedule window, and which family's adapter this is". Apply Regional Adapters (Inspire) is what executes them, in the order you wire them. That separation is why you can freely mix an IPAdapter region and a PuLID region in one graph, and it's why nothing appears to happen until you finish the chain.
The union type on adapter_pipe is the tell: it accepts IPADAPTER_PIPE, PULID_PIPE, INSTANTID_PIPE or REDUX_PIPE. Whichever you plug in decides what the entry does:
- IPAdapter Plus - gives the region a look. It doesn't hold a person inside it. Beside a PuLID region, a face that straddles the boundary gets the PuLID face only on the part inside that region.
- PuLID - puts the reference's face in the region. An SDXL PuLID file behaves like cubiq's
Apply PuLID, with its ranges and method; a FLUX.1 file averages the faces of all reference pictures. - InstantID - face plus landmark geometry via IdentityNet, SDXL only. Without a pose image from
InstantID Pipe Options, keypoints come from the reference fitted to the mask's bounding box. - Redux - appends FLUX style tokens that only the region can attend to. A look, spread wide.
The fields
weight - default 1.0, range -1 to 5, and the tooltip is a cheat sheet. IPAdapter Plus wants 0.7 (matching the old Regional IPAdapter Mask). InstantID 0.8 (matching Apply InstantID). IPAdapter SD3.5 0.5 - the InstantX pack defaults to 1.0 but a prompt naming age and hair will win over the reference at that strength. IPAdapter FLUX with the InstantX file: 1.0 with end_at 0.7, because later than that lays thin vertical stripes over the whole picture (and lowering the weight does not remove them). IPAdapter FLUX with the XLabs file: 0.6 at cfg 1, or 0.92 with cfg 3.5 and an empty negative, since 1.0 at cfg 1 goes muddy. Those numbers are not folklore - they're the author's own notes from building this, and skipping them costs you an hour.
Note that weight is not ControlNet strength. For InstantID, ControlNet strength lives on InstantID Pipe Options.
start_at / end_at - fractions of the sampling where the entry is live, default 0 to 1. Ending an IPAdapter region early is the single most effective fix for over-baked style; the region takes the look during composition and then lets the model breathe.
image (optional) - the reference picture. Optional in the type system only: PuLID needs it, and for an IPAdapter pipe carrying embeds from IPAdapter Pipe Options it's ignored entirely. Only the first picture of a batch is used by the FLUX and SD3.5 paths.
mask (optional) - the region. Without it the entry covers the whole picture, which is a clean way to fall back to non-regional behaviour and a confusing way to run your first test.
Output: REGIONAL_ADAPTER, into Apply Regional Adapters.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack
pip install -r ComfyUI-Inspire-Pack/requirements.txt
Or Manager, searching "ComfyUI Inspire Pack", then restart. You need one more pack depending on your pipe - IPAdapter Plus for IPAdapter, ComfyUI InstantID for the InstantID helper; the face families also need additional_requirements.txt and exactly one onnxruntime. Redux needs nothing beyond the model files.
Where people get burned
Grey region, or a whole grey picture. The Apply Regional Adapters end handles the uncovered area, but if every entry has a mask and there's canvas nobody owns, the leftover keeps your plain prompt - which means you must actually wire positive and negative there. And if any entry modifies the prompt, missing conditioning is a hard error naming that entry.
Two-person seeds. With several people in frame the sampler decides where each stands, so on some seeds a region doesn't get the reference it was meant for. Not a bug, and no setting fixes it - reroll or constrain the composition.
A third-party apply node downstream. Something like Apply InstantID Advanced placed after Apply Regional Adapters still writes into the model it receives, so re-running after a weight change can produce a different image than a fresh run. Keep one place doing the patching.
Non-commercial weights. PuLID and InstantID both lean on InsightFace's face models, so the personal-use case is clean and the commercial one isn't.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| adapter_pipe | IPADAPTER_PIPE,PULID_PIPE,INSTANTID_PIPE,REDUX_PIPE | — | |
| weight | FLOAT | 1.00-1–5 | 1.0 fits most kinds. IPAdapter Plus: 0.7, as Regional IPAdapter Mask. InstantID: 0.8, as Apply InstantID. IPAdapter SD3.5: 0.5. IPAdapter FLUX with the InstantX file: 1.0 with end_at 0.7, a later end_at lays vertical stripes over the picture. IPAdapter FLUX with an XLabs file: 1.0 gives muddy pictures at cfg 1, use 0.6, or 0.92 with cfg 3.5 and an empty negative prompt. |
| start_at | FLOAT | 0.0000–1 | — |
| end_at | FLOAT | 1.0000–1 | — |
| imageopt | IMAGE | The reference picture. An IPAdapter pipe with embeds does not read it. | |
| maskopt | MASK | The region. Without it the entry covers the whole picture. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| REGIONAL_ADAPTER | REGIONAL_ADAPTER | — |