ComfyUI-Utility-Suite Introduction
ComfyUI-Utility-Suite provides tools for tiling and inpainting/outpainting workflows. Its documented node, SEGS Sampler Custom, helps you refine selected parts of an image using Impact-compatible SEGS. A SEG represents an area to work on; the node processes crops of those areas and places the results back into the image.
This is useful when an image is mostly right but particular areas need more attention. Instead of treating the entire canvas as one edit, you can work through the selected areas with control over how each crop is sampled and how it blends into its surroundings.
The author recommends Impact Pack as an addition for workflows involving Impact-compatible SEGS.
How ComfyUI-Utility-Suite Works
Think of each SEG as an instruction to focus on one part of the canvas. SEGS Sampler Custom takes the corresponding crop, processes it, and pastes the result back in SEG order.
The node lets you supply ComfyUI’s separate NOISE, GUIDER, SAMPLER, and SIGMAS components. In practical terms, these are separate parts of the sampling process, so you can assemble a workflow using the components you want rather than relying on one combined sampling input.
The operation setting determines how crops relate to one another:
sequentialtakes each crop from the progressively updated canvas. An edit made to an earlier area is therefore present when a later area is processed.individualenhances stored or original crops independently, then pastes the results back in SEG order. Each crop is processed without taking its input from the canvas as earlier edits accumulate.
For example, if several selected areas overlap, sequential lets later crops start from a canvas that includes earlier edits. individual keeps the crop-processing steps independent. The default is sequential.
ComfyUI-Utility-Suite Features
SEGS Sampler Custom
This node combines Impact-compatible SEGS with separate sampling components and controls for crop size, inpainting, masks, feathering, and tiled processing. Its documented widget defaults are:
| Setting | Default | What it controls |
|---|---|---|
guide_size | 512 | The target guide size used when preparing a crop for processing. |
guide_size_for | bbox | Uses the SEG’s bounding box as the reference for guide sizing. |
scale_to_guide_size | upscale | Allows crops to be enlarged toward the guide size. |
max_size | 1024 | Limits the size used when preparing a crop. |
force_inpaint | Enabled | Requests inpainting behavior for the processed area. |
feather | 5 | Softens the edge where a processed crop is placed back into the image. |
noise_mask | Enabled | Uses a mask to focus noise on the area being edited. |
noise_mask_feather | 20 | Softens the edge of that noise mask. |
tiled_encode | Disabled | Leaves tiled encoding off by default. |
tiled_decode | Disabled | Leaves tiled decoding off by default. |
operation | sequential | Processes crops from the progressively updated canvas. |
You can use these settings to match the edit to the artwork. A larger feather value, for instance, gives the pasted crop a softer transition at its edges; a smaller value keeps that transition tighter. The guide-size and maximum-size controls affect how large crops may be when processed. The two tiled options can be enabled separately for encoding and decoding when your workflow calls for tiled processing.
Start with the defaults, then change one setting at a time while comparing the result. For edits that should build on one another, try sequential; for crops you want processed independently, try individual.
