Nodes/☁️BizyAir Nodes/☁️BizyAir Conditioning (Set Mask)
ComfyUI Node

☁️BizyAir Conditioning (Set Mask)

Regional prompting with an actual shape, not a rectangle

By siliconflow·Created 2 years ago·Updated 11 months ago· 855
☁️BizyAir Conditioning (Set Mask)
  • conditioning
  • mask
  • BIZYAIR_CONDITIONING
strength1.00
set_cond_area

The two Set Area nodes in this pack restrict a conditioning to a rectangle. This one restricts it to whatever shape you actually draw or generate as a mask - a circle, an outline traced around a subject, the output of a segmentation node, anything. Same underlying idea as regional prompting with Set Area, but with real boundaries instead of a bounding box, which matters the moment your subject isn't rectangular (a person, an animal, anything with an outline that isn't "a square block of canvas").

How it fits with the rest of the conditioning toolkit: this is the mask-shaped sibling of Set Area and Set Area with Percentage. All three do the same fundamental thing - tell a conditioning "you only get to influence this part of the image" - they just differ in how you describe the region. Coordinates for a clean rectangle, a mask for anything else. If your regional-prompting plan involves an actual shape rather than a box, this is the one to reach for, and you'd typically combine its output with other regional or global conditionings via a Combine node before it reaches your sampler, same pattern as the area-based versions.

Inputs that matter. conditioning, required, BIZYAIR_CONDITIONING - the prompt you're restricting. mask, required, MASK - note this one's a plain, un-prefixed MASK type, so it can come from anywhere in your graph: a hand-painted mask, a segmentation node's output, whatever you've got. strength (default 1, range 0–10, step 0.01) works the same as on the area nodes - how strongly this conditioning pushes inside the masked region. set_cond_area is the one genuinely new control here, a two-way switch between default and mask bounds. "Default" applies the conditioning weighted per-pixel across the mask as given; "mask bounds" instead clips the conditioning's effective area down to the mask's bounding rectangle, which is tighter and typically faster to compute, at the cost of losing the mask's exact shape as the influence boundary. If your mask is already close to rectangular, the difference barely matters; if it's an irregular shape and you care about the boundary being followed precisely, use default.

Output: one BIZYAIR_CONDITIONING carrying the mask restriction - wire it the same way you would any other conditioning in this pack, into a Combine node alongside others or straight into your sampler's positive/negative slot.

Install: search "BizyAir" in ComfyUI Manager and install, git clone https://github.com/siliconflow/BizyAir.git into custom_nodes and restart, or comfy node install bizyair - one pack install, no separate download for this node specifically. It's a cloud-executed node like the rest of the pack, so you need a registered BizyAir account and your API key set before it'll run at all.

Troubleshooting: if the masked region doesn't seem to be respected, first check that your mask actually covers the area you think it does - it's easy to feed in an inverted mask (covering everything except the intended region) from an upstream node without noticing. If the effect is there but blurrier or less precise than expected, try switching set_cond_area between the two modes and compare. Beyond that, a stalled or unclear failure is the usual API-key check - confirm you're authenticated before digging into the graph logic.

Category☁️BizyAir/conditioning

Inputs (4)

NameTypeDefaultDescription
conditioningBIZYAIR_CONDITIONING
maskMASK
strengthFLOAT1.000–10
set_cond_areaCOMBO2 options: default, mask bounds

Outputs (1)

NameTypeDescription
BIZYAIR_CONDITIONINGBIZYAIR_CONDITIONING