Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust image opacity for blending, overlays, and visual effects with control over transparency levels and mask inversion.
The LayerUtility: ImageOpacity node is designed to adjust the opacity of an image, allowing you to control the transparency level of your visual elements. This node is particularly useful for blending images, creating overlays, or achieving specific visual effects by modifying the visibility of an image layer. By adjusting the opacity, you can make an image more or less transparent, which can help in creating subtle effects or emphasizing certain parts of your artwork. Additionally, the node offers the option to invert a mask, providing further flexibility in how the transparency is applied. This functionality is essential for AI artists looking to fine-tune their compositions and achieve the desired aesthetic results.
This parameter accepts an image input that you want to adjust the opacity for. The image serves as the base layer whose transparency will be modified according to the specified opacity level.
This parameter controls the transparency level of the image. It accepts an integer value ranging from 0 to 100, where 0 means the image is completely transparent, and 100 means the image is fully opaque. The default value is set to 100, allowing you to start with a fully visible image and adjust as needed.
This boolean parameter determines whether the mask should be inverted. When set to True, the mask's effect is reversed, which can be useful for achieving specific transparency effects. The default value is True.
This optional parameter allows you to provide a mask that defines which parts of the image should be affected by the opacity adjustment. If no mask is provided, the opacity adjustment is applied uniformly across the entire image.
The output image is the result of applying the specified opacity level to the input image. This image will have the adjusted transparency based on the provided opacity and mask settings.
The output mask reflects any modifications made to the input mask, including inversion if the invert_mask parameter was set to True. This mask can be used for further processing or compositing tasks.
© Copyright 2024 RunComfy. All Rights Reserved.