Video Relighting + Detail and Color Transfer (non-AnimateDiff)
5.0
1 reviewsDescription
This is a non-AnimateDiff video relighting workflow using IC-Light, RAVE attention and RIFE frame interpolation, plus frequency separation and color matching for detail and color transfer.
Tutorial here: Â https://youtu.be/to2hFQIRAzA
Want to support me? Buy me a ko-fi: Â https://ko-fi.com/risunobushi
To run the workflow and achieve the desired video relighting effects, you must provide the following inputs and variables:
- Source Video: The input video to be relit
- Number of frames: The total number of frames to process
- Number of initial frames to skip: The number of frames to skip from the beginning of the video
- Still or Moving Subject: A boolean switch to indicate whether the subject is still or moving
- Size of the longer side (resize): The size to which the frames will be resized based on the longer side
- Two Light Masks: Either the initial and final light mask positions (for a moving light mask) or the same light mask (for a still light mask)
- Light prompt: A text prompt describing the desired lighting
- CFG: A value between 1.05 and 3 to control the strength of the lighting changes (higher values lead to more noticeable changes but a higher chance of artifacts)
- Denoise: A value between 0.3 and 0.6 to control the denoising strength (higher values result in less flickering but may make the light mask look more like a filter)
How it works:
- The workflow uses IC-Light to relight each frame independently.
- For each frame, a latent is generated based on a blend of the subject frame and the corresponding light mask frame.
- The latent is generated at a low denoise value to force the light mask onto the final output.
- Since IC-Light may lose details at low denoising, the details and original colors are transferred back using Frequency Separation at the end of the workflow to maintain video quality after relighting.
Discussion
(No comments yet)
Loading...
Reviews
No reviews yet
Versions (1)
- latest (a year ago)
Node Details
Primitive Nodes (23)
FrequencyCombination (3)
FrequencySeparation (1)
FrequencySeparationHSV (3)
JWInteger (1)
Note (12)
Reroute (2)
Switch any [Crystools] (1)
Custom Nodes (84)
ComfyUI
- PreviewImage (18)
- ImageToMask (1)
- LoadImage (2)
- VAEEncode (3)
- ImageBlend (5)
- CLIPTextEncode (2)
- ControlNetApplyAdvanced (2)
- VAEDecode (2)
- MaskToImage (1)
- KSampler (2)
- CheckpointLoaderSimple (1)
- ControlNetLoader (2)
- ImageUpscaleWithModel (2)
- ImageScaleBy (2)
- UpscaleModelLoader (1)
- ImageDesaturate+ (1)
- RIFE VFI (5)
- Zoe-DepthMapPreprocessor (1)
- ColorBlend (1)
- SeedSelector (1)
- ICLightConditioning (1)
- LoadAndApplyICLightUnet (1)
- Float (2)
- Int (2)
- ApplyRaveAttentionNode (1)
- Pixel Deflicker (SuperBeasts.AI) (2)
- VHS_DuplicateImages (1)
- VHS_VideoCombine (3)
- VHS_LoadVideo (1)
- GrowMaskWithBlur (1)
- ImageBatchMulti (1)
- RemapMaskRange (1)
- MathExpression|pysssss (2)
- Int Literal (1)
- JWImageResize (6)
- JWImageResizeByLongerSide (1)
- Image Size to Number (1)
- Tensor Batch to Image (1)
Model Details
Checkpoints (1)
epicrealism.safetensors
LoRAs (0)