ComfyUI > Nodes > ComfyUI-LBM > Relighting (LBM)

ComfyUI Node: Relighting (LBM)

Class Name

LBM_Relighting

Category
🧪AILab/🔆LBM
Author
1038lab (Account age: 800days)
Extension
ComfyUI-LBM
Latest Updated
2025-05-27
Github Stars
0.04K

How to Install ComfyUI-LBM

Install this extension via the ComfyUI Manager by searching for ComfyUI-LBM
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LBM 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

Relighting (LBM) Description

Enhance image lighting with LBM model for artistic effects and flexibility.

Relighting (LBM):

The LBM_Relighting node is designed to enhance and modify the lighting of images using a machine learning model. This node leverages a Latent Bridge Model (LBM) to perform relighting tasks, allowing you to adjust the lighting conditions of an image while maintaining its original content and structure. The primary goal of this node is to provide a flexible and powerful tool for artists and designers to experiment with different lighting scenarios, enhancing the visual appeal and mood of their images. By utilizing advanced techniques such as variational autoencoders (VAE) and noise scheduling, the node ensures high-quality results that are both realistic and artistically pleasing. This makes it an essential tool for AI artists looking to explore creative lighting effects in their work.

Relighting (LBM) Input Parameters:

model

The model parameter refers to the pre-trained LBM model that is used to perform the relighting task. This model is responsible for understanding the image's structure and applying the desired lighting changes. It is crucial for the execution of the node as it contains the learned parameters and configurations necessary for relighting.

image

The image parameter is the input image that you wish to relight. This image serves as the base upon which the lighting modifications will be applied. The quality and resolution of the input image can impact the final output, so it is recommended to use high-quality images for the best results.

steps

The steps parameter determines the number of steps the model will take to apply the relighting effect. More steps can lead to a more refined and detailed relighting effect, but may also increase the processing time. The choice of steps should balance between desired quality and computational efficiency.

precision

The precision parameter specifies the numerical precision used during the relighting process. Options typically include bf16, fp16, and fp32, with higher precision potentially leading to more accurate results but at the cost of increased computational resources.

bridge_noise_sigma

The bridge_noise_sigma parameter controls the amount of noise introduced during the relighting process. This noise can help in achieving a more natural and varied lighting effect. The default value is 0.005, but it can be adjusted to suit specific artistic needs or to experiment with different lighting styles.

Relighting (LBM) Output Parameters:

out

The out parameter is the output image that has undergone the relighting process. This image reflects the changes in lighting as specified by the input parameters and the model's capabilities. The output is typically in the same format as the input image, allowing for easy comparison and further processing if needed.

Relighting (LBM) Usage Tips:

  • Experiment with different steps values to find the right balance between processing time and the quality of the relighting effect. More steps can lead to smoother transitions and more detailed lighting changes.
  • Adjust the bridge_noise_sigma parameter to explore different lighting styles. A higher value can introduce more variation and artistic effects, while a lower value maintains a more realistic appearance.
  • Use high-resolution images as input to ensure the best quality output, as the relighting process can highlight details and textures that may not be visible in lower-resolution images.

Relighting (LBM) Common Errors and Solutions:

Model not found

  • Explanation: This error occurs when the specified LBM model is not available or cannot be loaded.
  • Solution: Ensure that the model path is correct and that the model file exists in the specified location. Verify that the model is compatible with the node's requirements.

Invalid image format

  • Explanation: This error indicates that the input image is not in a supported format or is corrupted.
  • Solution: Check the image format and ensure it is supported by the node (e.g., JPEG, PNG). If the image is corrupted, try using a different image or re-saving the current one in a supported format.

Insufficient memory

  • Explanation: The node requires more memory than is available to process the image with the specified parameters.
  • Solution: Reduce the image resolution or the number of steps, or increase the available memory by closing other applications or processes that are consuming resources.

Relighting (LBM) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LBM
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.