Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance pre-existing mask details for AI art projects with customizable parameters for precise results.
The preMaskDetailerFix
node is designed to enhance the details of pre-existing masks in your AI art projects. This node is particularly useful for refining masks to ensure that the masked areas are accurately represented and detailed, which is crucial for high-quality image processing tasks. By leveraging this node, you can achieve more precise and visually appealing results in your artwork. The node offers a range of customizable parameters that allow you to control various aspects of the mask detailing process, such as the size of the guide, the mode of the mask, and the level of denoising. This flexibility makes it a powerful tool for artists looking to fine-tune their masks for better integration and realism in their compositions.
This parameter represents the pipeline that the node will use for processing. It is a required input and should be of type PIPE_LINE
.
This parameter is the mask that you want to detail. It is a required input and should be of type MASK
.
This parameter controls the size of the guide used for detailing the mask. It is a floating-point value with a default of 384, a minimum of 64, and a maximum defined by MAX_RESOLUTION
. The step size is 8. Adjusting this value can help in achieving the desired level of detail in the mask.
This boolean parameter determines whether the guide size is applied to the bounding box (bbox
) or the crop region. The default value is True
, which applies the guide size to the bounding box. If set to False
, it applies to the crop region.
This parameter sets the maximum size for the detailing process. It is a floating-point value with a default of 1024, a minimum of 64, and a maximum defined by MAX_RESOLUTION
. The step size is 8. This parameter helps in managing the scale of the detailing process.
This boolean parameter specifies whether the detailing should be applied to the masked areas only (masked only
) or the whole image (whole
). The default value is True
, which means the detailing is applied to the masked areas only.
This integer parameter sets the seed for random number generation, which can affect the detailing process. It has a default value of 0 and ranges from 0 to 0xffffffffffffffff
. Setting a specific seed can help in achieving reproducible results.
This integer parameter controls the number of steps for the detailing process. It has a default value of 20, with a minimum of 1 and a maximum of 10000. Increasing the number of steps can lead to more detailed results but may also increase processing time.
This floating-point parameter sets the configuration value for the detailing process. It has a default value of 8.0, with a minimum of 0.0 and a maximum of 100.0. Adjusting this value can help in fine-tuning the detailing process.
This parameter specifies the sampler to be used for the detailing process. It should be one of the samplers available in comfy.samplers.KSampler.SAMPLERS
.
This parameter sets the scheduler for the detailing process. It should be one of the schedulers available in comfy.samplers.KSampler.SCHEDULERS
.
This floating-point parameter controls the level of denoising applied during the detailing process. It has a default value of 0.5, with a minimum of 0.0001 and a maximum of 1.0. Adjusting this value can help in reducing noise and achieving cleaner results.
This output parameter represents the new pipeline after the detailing process. It is of type PIPE_LINE
and contains the enhanced mask details, ready for further processing or final output.
guide_size
parameter to control the level of detail in the mask. A larger guide size can capture more details but may also increase processing time.mask_mode
parameter to specify whether you want to detail only the masked areas or the entire image. This can be useful for different artistic effects.denoise
parameter to find the right balance between detail and noise reduction. A lower value can preserve more details, while a higher value can produce cleaner results.pipe
parameter includes a valid bounding box segmentation pipeline.pipe
parameter includes a valid SAM pipeline.© Copyright 2024 RunComfy. All Rights Reserved.