Visit ComfyUI Online for ready-to-use ComfyUI environment
Simulate vintage light leaks in images for nostalgic flair with customizable colors and intensity.
The LightLeaksNode
is designed to simulate the aesthetic effect of light leaks in digital images, reminiscent of the charming imperfections found in vintage photography. This node allows you to add colorful, organic-looking light leaks to your images, enhancing them with a nostalgic or artistic flair. By applying a combination of color palettes and customizable parameters, the node generates light leaks that can vary in intensity, color, and position, providing a versatile tool for creative expression. The main goal of the LightLeaksNode
is to offer a simple yet powerful way to introduce these visually appealing effects, making your images stand out with a unique, retro-inspired look.
The image
parameter is the input image to which the light leak effect will be applied. It should be provided as a tensor, and the node will process this image to add the desired light leaks.
The leak_intensity
parameter controls the strength of the light leak effect. A higher value results in more pronounced light leaks, while a lower value produces subtler effects. The intensity can be adjusted to suit the desired level of impact on the image.
The leak_color
parameter determines the color palette used for the light leaks. Options include predefined palettes such as "warm," "cool," "rainbow," and "vintage," as well as a "custom" option that allows for a user-defined hue. This parameter significantly influences the mood and style of the light leaks.
The leak_count
parameter specifies the number of light leaks to be applied to the image. Increasing the count will result in more light leaks, creating a more complex and layered effect.
The leak_position
parameter defines the placement of the light leaks on the image. By default, it is set to "random," allowing the node to automatically position the leaks in a visually appealing manner. This parameter can be adjusted to control the specific location of the leaks if desired.
The blur_amount
parameter controls the amount of blur applied to the light leaks, affecting their softness and integration with the image. A higher blur amount results in smoother, more diffused light leaks, while a lower amount keeps them sharper and more defined.
The custom_hue
parameter is used when the leak_color
is set to "custom." It allows you to specify a custom hue for the light leaks, providing additional flexibility in achieving the desired color effect. The hue is specified in degrees, with a typical range from 0 to 360.
The result_tensor
is the output image with the applied light leak effects. It is returned as a tensor, ready for further processing or display. This output represents the final result of the node's operations, showcasing the added light leaks and their impact on the original image.
leak_color
options to find the palette that best complements your image and desired aesthetic.leak_intensity
and blur_amount
parameters to fine-tune the visibility and softness of the light leaks, achieving the perfect balance for your creative vision.custom_hue
parameter to create unique color effects that are not available in the predefined palettes, allowing for personalized and distinctive results.leak_color
parameter.leak_color
parameter is set to one of the valid options: "warm," "cool," "rainbow," "vintage," or "custom."custom_hue
value is outside the acceptable range of 0 to 360 degrees.custom_hue
parameter to ensure it falls within the valid range, allowing for proper conversion to RGB values.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.