Visit ComfyUI Online for ready-to-use ComfyUI environment
Specialized node for applying masks during tiled sampling, enhancing precision and artistic control.
The Runtime44TiledMaskSampler
is a specialized node designed to facilitate the use of masks during a tiled sampling process. This node is particularly useful for AI artists who need to apply specific masks to different sections of an image or latent space, ensuring that the sampling process respects these masks. By breaking down the image into tiles and applying the mask to each tile, this node allows for more precise control over the sampling process, leading to higher quality and more targeted results. The primary goal of this node is to enhance the flexibility and accuracy of the sampling process, making it easier to achieve the desired artistic effects.
This parameter specifies the model to be used for the sampling process. It is essential as it defines the underlying architecture and weights that will generate the output. The model parameter ensures that the sampling process is consistent with the chosen model's capabilities and characteristics.
This parameter represents the positive conditioning input, which guides the model towards generating desired features in the output. It is crucial for steering the sampling process in a direction that aligns with the artist's vision.
This parameter represents the negative conditioning input, which helps the model avoid generating unwanted features. By providing negative examples, the sampling process can be fine-tuned to exclude specific characteristics from the output.
The latent parameter is the initial latent space representation that will be modified during the sampling process. It serves as the starting point for the generation and is essential for defining the initial conditions of the sampling.
The mask parameter is a tensor that defines the areas of the image or latent space that should be influenced during the sampling process. It allows for selective modification, ensuring that only specific regions are altered according to the mask's design.
This integer parameter sets the random seed for the sampling process, ensuring reproducibility. The default value is 0, with a minimum of 0 and a maximum of 0xFFFFFFFFFFFFFFFF. Setting the seed allows for consistent results across different runs.
This integer parameter defines the number of steps to be taken during the sampling process. The default value is 20, with a minimum of 1 and a maximum of 10000. More steps generally lead to higher quality results but require more computational resources.
The cfg parameter is a float that controls the classifier-free guidance scale. The default value is 8.0, with a range from 0.0 to 100.0 and a step size of 0.1. This parameter balances the trade-off between adhering to the conditioning inputs and exploring new variations.
This parameter specifies the name of the sampler to be used. It determines the sampling algorithm, which can significantly impact the quality and style of the generated output.
The scheduler parameter defines the scheduling strategy for the sampling process. Different schedulers can affect the convergence and quality of the results.
This float parameter controls the denoising strength during the sampling process. The default value is 1.0, with a range from 0.0 to 1.0 and a step size of 0.01. Adjusting this parameter can help in reducing noise and improving the clarity of the output.
This integer parameter specifies the feathering amount for the mask, which smooths the edges of the mask. The default value is 13, with a range from 0 to 10000. Feathering helps in blending the masked regions more naturally with the rest of the image.
This integer parameter controls the dilation of the mask, which expands or contracts the masked areas. The default value is 0, with a range from -10000 to 10000. Dilation can be used to adjust the influence area of the mask.
The output parameter is a latent space representation that has been modified according to the specified mask and sampling process. This latent output can be further processed or directly used to generate the final image. It encapsulates the changes made during the tiled sampling process, reflecting the applied masks and conditioning inputs.
steps
and cfg
parameters to find the optimal balance between quality and computational efficiency. More steps generally lead to better results but require more processing time.mask_feather
parameter to smooth the edges of your mask, which can help in creating more natural transitions between masked and unmasked areas.© Copyright 2024 RunComfy. All Rights Reserved.