LBM Relighting enables realistic and flexible relighting of subject images using lighting information from a separate reference image. The LBM Relighting workflow integrated into ComfyUI lets users combine two images—one for the subject and one for the lighting—to produce a relit composition that reflects the tone, direction, and mood of the lighting input. The LBM Relighting technique preserves the natural characteristics of both images while transforming the lighting conditions.
Ideal for lighting experimentation, photorealistic compositing, and digital look development, LBM Relighting simplifies the process of applying complex lighting setups without the need for 3D rendering or manual adjustments. LBM Relighting provides an efficient and visually accurate way to reimagine subjects under different lighting environments, making it a powerful tool for artists, designers, and visual storytellers who want to experiment with LBM Relighting technology.
The LBM Relighting workflow provides:
LBM Relighting makes it easy to produce new lighting versions of a subject without re-rendering or reshooting, all within the AI compositing environment of ComfyUI. With LBM Relighting, you can achieve professional results in significantly less time.
Subject Image
node (this is the image you want to relight with LBM Relighting).Background Image
node (this image provides the lighting conditions for LBM Relighting).Outputs
folder through the Image Save node.Select the appropriate LBM Relighting Compatible model and assets for LBM Relighting generation:
model.safetensors
: Selected LBM Relighting diffusion model loader. You can rename it for your convenience.ComfyUI/models/diffusion_models
to enable LBM Relighting functionalityDownload Link for LBM Relighting model - https://huggingface.co/jasperai/LBM_relighting/blob/main/model.safetensors
Adjust the subject's mask's expansion or contraction settings to prevent color bleeding when applying LBM Relighting.
Once both images are uploaded, the LBM Relighting model will process them to generate a relit result, combining the subject with the lighting style of the reference. There are no prompts or advanced configuration required—just drop in the images and run the LBM Relighting workflow.
The rendered LBM Relighting results will be saved in the ComfyUI > Output folder. Each run of the LBM Relighting workflow produces a relit image that combines the subject's original appearance with the lighting characteristics of the reference image.
The LBM Relighting output provides a visually coherent result with the subject naturally illuminated by the new lighting conditions—ideal for artistic rendering, photo adjustments, or creative visual effects that require professional LBM Relighting.
The LBM Relighting workflow and model wrapper were developed by Kijai, offering a straightforward yet powerful solution for image-based relighting within ComfyUI. By using two inputs—a subject image and a lighting reference—the LBM Relighting workflow generates realistic relit outputs that reflect the lighting conditions of the reference. LBM Relighting provides an accessible way for artists and creators to experiment with lighting variations without needing complex setups or 3D environments.
This LBM Relighting workflow demonstrates how focused tools within ComfyUI can solve specific visual problems with minimal effort. Thanks to Kijai's integration of the LBM Relighting model, users can easily explore relighting as part of larger pipelines or as a standalone enhancement step. We also acknowledge the broader ComfyUI ecosystem, which continues to support modular experimentation and creative flexibility in AI-assisted workflows like LBM Relighting.
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.