Nodes/ComfyUI_EasyRegion/EasyRegion (Mask-Based)
ComfyUI Node

EasyRegion (Mask-Based)

Mask-based regional prompting for modern diffusion models. Quick Start: 1. Connect CLIP from checkpoint 2. Set width/height to match your latent exactly 3. Type prompts (background + regions) 4. Adjust per-region strength (defaults: 0.7, 0.8, 1.5, 2.5) 5. Draw/adjust boxes on canvas See README for model-specific tips and recommended settings.

By EnragedAntelope·Created 9 months ago·Updated 9 months ago· 2
EasyRegion (Mask-Based)
  • clip
  • conditioning
width1344
height768
soften_maskstrue
background_promptphoto of empty city street at night, high quality
background_strength1.0
region1_promptred sports car
region1_strength0.7
region2_promptcloseup full body giraffe wearing sunglasses
region2_strength0.8
region3_promptblue bird flying
region3_strength1.5
region4_prompt
region4_strength2.5
CategoryEasyRegion

Inputs (14)

NameTypeDefaultDescription
clipCLIPCLIP model from your checkpoint
widthINT134464–16384Output width - must match your latent/sampler
heightINT76864–16384Output height - must match your latent/sampler
soften_masksBOOLEANtrueEnable feathering at region edges - recommended ON
background_promptSTRINGphoto of empty city street at night, high qualityScene description (applies to entire image as base)
background_strengthoptFLOAT1.00–10Background conditioning strength (lower = regions show more, user-tested: 0.7-1.2)
region1_promptoptSTRINGred sports carRegion 1 - TIP: Include size/detail keywords (e.g. 'closeup', 'full body', 'large')
region1_strengthoptFLOAT0.70–10Region 1 strength (user-tested: 0.7, range: 0.5-1.0)
region2_promptoptSTRINGcloseup full body giraffe wearing sunglassesRegion 2 - TIP: Include size/detail keywords (e.g. 'closeup', 'full body', 'large')
region2_strengthoptFLOAT0.80–10Region 2 strength (user-tested: 0.8, range: 0.6-1.2)
region3_promptoptSTRINGblue bird flyingRegion 3 - Optional third region
region3_strengthoptFLOAT1.50–10Region 3 strength (user-tested: 1.5, range: 1.0-2.0)
region4_promptoptSTRINGRegion 4 - Optional fourth region
region4_strengthoptFLOAT2.50–10Region 4 strength (recommended: 2.5-3.0, higher values may cause artifacts)

Outputs (1)

NameTypeDescription
conditioningCONDITIONING