Skip to main content

Conditioning (Set Mask)

RyanLess than 1 minute

Conditioning (Set Mask) node
Conditioning (Set Mask) node

The Conditioning (Set Mask) node can be used to limit a conditioning to a specified mask. Together with the Conditioning (Combine) node this can be used to add more control over the composition of the final image.

Info

`strength` is normalized before mixing multiple noise predictions from the diffusion model. 

inputs

conditioning

The conditioning that will be limited to a mask.

mask

The mask to constrain the conditioning to.

strength

The weight of the masked area to be used when mixing multiple overlapping conditionings.

set_cond_area

Whether to denoise the whole area, or limit it to the bounding box of the mask.

outputs

CONDITIONING

A new conditioning limited to the specified mask.

example

example usage text with workflow image