Back
Relight Composited Product - After
Relight Composited Product - Before

The 'Relight Composited Product' workflow is designed to enhance product images by allowing users to relight specific areas within a composited image. This is particularly useful for e-commerce and marketing professionals who need to adjust lighting conditions to better highlight their products. The workflow utilizes the Qwen-Image-Edit model, which is adept at handling image editing tasks with precision. By using a combination of nodes, including LoadImage and SaveImage, alongside a custom node 'comfyui-inpaint-cropandstitch', users can upload an image, apply a mask to the area they wish to relight, and seamlessly integrate the changes into the scene. This approach not only saves time but also ensures that the final image maintains a natural look, crucial for professional product presentations.

Technically, the workflow begins with the LoadImage node, where users upload their composited product image. The mask editor is then used to draw a mask over the area that needs relighting. The custom node 'comfyui-inpaint-cropandstitch' plays a critical role here by allowing for precise inpainting and stitching of the edited areas, ensuring that the relighted section blends perfectly with the rest of the image. Finally, the SaveImage node captures the final output, ready for use in digital marketing or online storefronts. This workflow is invaluable for its ability to quickly adjust lighting without requiring extensive manual editing, making it a powerful tool for enhancing visual appeal in product imagery.