ComfyUI > Nodes > ComfyUI-Image-Effects > 💡 Light Leaks

ComfyUI Node: 💡 Light Leaks

Class Name

LightLeaksNode

Category
Image Effects
Author
orion4d (Account age: 929days)
Extension
ComfyUI-Image-Effects
Latest Updated
2025-05-28
Github Stars
0.02K

How to Install ComfyUI-Image-Effects

Install this extension via the ComfyUI Manager by searching for ComfyUI-Image-Effects
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Image-Effects in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

💡 Light Leaks Description

Simulate vintage light leaks in images for nostalgic flair with customizable colors and intensity.

💡 Light Leaks:

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.

💡 Light Leaks Input Parameters:

image

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.

leak_intensity

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.

leak_color

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.

leak_count

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.

leak_position

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.

blur_amount

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.

custom_hue

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.

💡 Light Leaks Output Parameters:

result_tensor

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.

💡 Light Leaks Usage Tips:

  • Experiment with different leak_color options to find the palette that best complements your image and desired aesthetic.
  • Adjust the 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.
  • Use the custom_hue parameter to create unique color effects that are not available in the predefined palettes, allowing for personalized and distinctive results.

💡 Light Leaks Common Errors and Solutions:

Image tensor shape mismatch

  • Explanation: This error occurs when the input image tensor does not have the expected shape, which should be either 3D or 4D.
  • Solution: Ensure that the input image tensor is correctly formatted, with dimensions corresponding to either a single image or a batch of images.

Invalid leak_color option

  • Explanation: This error arises when an unrecognized value is provided for the leak_color parameter.
  • Solution: Verify that the leak_color parameter is set to one of the valid options: "warm," "cool," "rainbow," "vintage," or "custom."

Custom hue out of range

  • Explanation: This error occurs when the custom_hue value is outside the acceptable range of 0 to 360 degrees.
  • Solution: Adjust the custom_hue parameter to ensure it falls within the valid range, allowing for proper conversion to RGB values.

💡 Light Leaks Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Image-Effects
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.