Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyTV > Relight

ComfyUI Node: Relight

Class Name

ComfyTV.RelightStage

Category
ComfyTV/Image
Author
jtydhr88 (Account age: 5469days)
Extension
ComfyTV
Latest Updated
2026-06-11
Github Stars
0.06K

How to Install ComfyTV

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

Relight Description

Enhance image lighting with AI-powered adjustments for dynamic visual storytelling.

Relight:

The ComfyTV.RelightStage node is designed to enhance and modify the lighting of images, providing a powerful tool for AI artists to adjust the visual aesthetics of their creations. This node allows you to simulate different lighting conditions, such as altering brightness, color, and rim light effects, to achieve a desired mood or highlight specific features within an image. By leveraging advanced algorithms, the RelightStage can intelligently adjust lighting based on the context of the image, offering a seamless way to enhance visual storytelling. This capability is particularly beneficial for artists looking to create dynamic and visually appealing compositions without the need for extensive manual editing.

Relight Input Parameters:

brightness

The brightness parameter controls the overall light intensity applied to the image. Adjusting this parameter can make the image appear lighter or darker, which can significantly impact the mood and visibility of details. The minimum value typically represents no change, while the maximum value can brighten the image to its fullest extent. The default value is usually set to maintain the original brightness of the image.

color

The color parameter allows you to modify the color temperature of the lighting applied to the image. This can range from cooler tones, which add a bluish tint, to warmer tones, which introduce a reddish or yellowish hue. Adjusting this parameter can help in setting the emotional tone of the image or matching the lighting to a specific environment. The default setting usually maintains the original color balance.

rim_light

The rim_light parameter enhances the edges of objects within the image by adding a light outline, which can help in defining shapes and adding depth. This effect is particularly useful for creating a sense of separation between the subject and the background, making the subject stand out more prominently. The parameter can be adjusted to increase or decrease the intensity of the rim light effect.

main_prompt

The main_prompt parameter is used to guide the relighting process by providing a textual description of the desired lighting effect. This input helps the node understand the artistic intent and apply the appropriate lighting adjustments to achieve the specified look. The prompt should be clear and descriptive to ensure the best results.

upstream

The upstream parameter is a collection of images that serve as references or inputs for the relighting process. This parameter allows the node to consider multiple images when determining the optimal lighting adjustments, ensuring consistency and coherence across a series of images. The upstream images can influence the final output by providing additional context for the lighting changes.

Relight Output Parameters:

payload

The payload output parameter contains the processed image data after the relighting adjustments have been applied. This output is the final result of the node's operation, reflecting the changes made to the lighting conditions as specified by the input parameters. The payload is crucial for further processing or for use in the final composition, as it represents the enhanced visual output.

Relight Usage Tips:

  • Experiment with different brightness and color settings to find the perfect balance that complements your image's theme and mood.
  • Use the rim_light parameter to add depth and focus to your subject, especially in images where the subject blends into the background.
  • Provide a clear and descriptive main_prompt to guide the relighting process effectively, ensuring that the node understands your artistic vision.
  • Utilize upstream images to maintain consistency in lighting across multiple images, especially when working on a series or a cohesive project.

Relight Common Errors and Solutions:

RuntimeError: RelightStage: workflow returned no output

  • Explanation: This error occurs when the relighting process does not produce any output, possibly due to incorrect input parameters or an unsupported workflow.
  • Solution: Verify that all input parameters are correctly set and that the workflow specified is supported by the node. Ensure that the main_prompt is clear and that upstream images are correctly provided. If the issue persists, consult the documentation for supported workflows and parameter configurations.

Relight Related Nodes

Go back to the extension to check out more related nodes.
ComfyTV
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 Models, enabling artists to harness the latest AI tools to create incredible art.