Nodes/FUSE Face Enhancer/FUSE KSampler (Generic)
ComfyUI Node

FUSE KSampler (Generic)

A ComfyUI node in Generic Enhancement with 22 inputs and 2 outputs.

By WASasquatch·Created about a year ago·Updated 9 months ago· 13
FUSE KSampler (Generic)
  • model
  • vae
  • images
  • positive
  • negative
  • mask_optionals
  • yolo_optionals
  • images
  • masks
use_cachetrue
seed0
steps20
cfg8.00
sampler_name
scheduler
denoise0.50
yolo_detector
sam_segmenter
sam_model_typevit_b
mask_id0
mask_orderlinear
mask_size512
mask_padding20
force_squaretrue
CategoryGeneric Enhancement

Inputs (22)

NameTypeDefaultDescription
modelMODELBase model for sampling.
vaeVAEVAE model for the sampler.
imagesIMAGEInput image batch for mask detection and upscaling.
positiveCONDITIONINGPositive conditioning for the sampler.
negativeCONDITIONINGNegative conditioning for the sampler.
use_cacheBOOLEANtrueUse internal caching to speed up workflow iteration.
seedINT00–18446744073709550000Seed for the sampler. Used for determinisitc results with some models.
stepsINT20Number of steps for the sampler.
cfgFLOAT8.00Classifier-Free Guidance scale for the sampler.
sampler_nameCOMBOChoose the sampler to use for sampling.
schedulerCOMBOChoose the scheduler to use for sampling.
denoiseFLOAT0.500–1Denoising strength for the sampler. When doing img2img like FUSE, lower values adhere more to the input image (mask).
yolo_detectorCOMBOChoose the YOLO detector to use for mask detection.
sam_segmenterCOMBOChoose the SAM segmentation model to use for mask segmentation. See: https://github.com/facebookresearch/segment-anything?tab=readme-ov-file#model-checkpoints
sam_model_typeCOMBOvit_bSAM model type
mask_idINT0Index of the mask to process in the image (0 is the first mask found, -1 is all masks).
mask_orderCOMBOlinearOrder to process detected masks: linear (top-to-bottom, left-to-right), linear_reverse (bottom-to-top, right-to-left), largest_bbox (largest mask first), smallest_bbox (smallest mask first).
mask_sizeCOMBO512The resolution to sample the mask crop at.
mask_paddingINT200–16384Padding in pixels (int) to pad the mask crop with.
force_squareBOOLEANtrueForce 1:1 square mask crops
mask_optionalsoptDICTOptional masking and blending settings from FUSESamplerMaskOptions node.
yolo_optionalsoptDICTOptional YOLO detection settings from FUSEYOLOSettings node.

Outputs (2)

NameTypeDescription
imagesIMAGE
masksMASK