gbieler/change-background-and-relight 🖼️📝🔢 → 🖼️

▶️ 2.0K runs 📅 Jul 2024 ⚙️ Cog 0.9.13 🔗 GitHub ⚖️ License
image-editing image-re-lighting

About

Change the background on an image and relight the scene.

Example Output

Output

Example outputExample output

Performance Metrics

29.92s Prediction Time
30.01s Total Time
All Input Parameters
{
  "light_mask": "https://projectsgb.s3.amazonaws.com/test_images/lightMask.png",
  "light_prompt": "sunlight",
  "subject_image": "https://replicate.delivery/pbxt/LMIL1QpED9befn94FOGiPLb9ufVhPbO2VtvlNhsAgxA8kuPt/astronaut.png",
  "background_image": "https://replicate.delivery/pbxt/LMIL19mjUmvvvaAtQB3yLw0G6lSc5iYBj21lCJLyXDTvDOOZ/00048-%28water-colored%29%2C%20illustration%2C%20style%20of%20Jessica%20Galbreth%2C%20%28far%20view%2C%20far%20shot%2C%20rear%20view%2C%20facing%20away_1.4%29%2C%20woman%20facing%20%28tall%20f.png",
  "denoise_strength": 0.7,
  "background_prompt": "astronaut floating with magical city in background"
}
Input Parameters
light_mask Type: string
Mask to use as a reference for the lighting (optional)
light_prompt Type: stringDefault:
Description of the lighting (optional)
subject_image Type: string
Image with the subject
background_image Type: string
Image to use as a reference for the background (optional)
denoise_strength Type: numberDefault: 0.7Range: 0.1 - 1
Background variation strength
background_prompt Type: stringDefault:
Description of the background (optional)
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
subject_image:  /tmp/tmpo0nwg7xvastronaut.png
background_image:  /tmp/tmpee0l9qc_00048-(water-colored), illustration, style of Jessica Galbreth, (far view, far shot, rear view, facing away_1.4), woman facing (tall f.png
updating parameters with:  {'background_prompt': 'astronaut floating with magical city in background', 'light_prompt': 'sunlight', 'subject_image_filename': 'subject_image.png', 'background_image_filename': 'background_image.png', 'light_mask_filename': 'light_mask.png', 'denoise_strength': 0.7, 'seed_IC_light': 975341863, 'seed_IP_adapter': 2512732489}
{'1': {'inputs': {'image': 'subject_image.png', 'upload': 'image'}, 'class_type': 'LoadImage', '_meta': {'title': 'Place Subject Here'}}, '2': {'inputs': {'megapixels': 1.5, 'images': ['1', 0]}, 'class_type': 'ImageScaleToMegapixels', '_meta': {'title': 'Scale To Megapixels'}}, '3': {'inputs': {'image': ['2', 0]}, 'class_type': 'Image Size to Number', '_meta': {'title': 'Image Size to Number'}}, '4': {'inputs': {'number': ['3', 0]}, 'class_type': 'Number to Int', '_meta': {'title': 'Width'}}, '5': {'inputs': {'number': ['3', 1]}, 'class_type': 'Number to Int', '_meta': {'title': 'Height'}}, '8': {'inputs': {'image': 'background_image.png', 'upload': 'image'}, 'class_type': 'LoadImage', '_meta': {'title': '(Optional) Place Background here'}}, '9': {'inputs': {'image': 'light_mask.png', 'channel': 'red', 'upload': 'image'}, 'class_type': 'LoadImageMask', '_meta': {'title': '(Optional) Place Light Mask Here'}}, '13': {'inputs': {'text': 'astronaut floating with magical city in background', 'clip': ['17', 1]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '15': {'inputs': {'text': 'sunlight', 'clip': ['88', 1]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '17': {'inputs': {'ckpt_name': 'epicrealism_naturalSinRC1VAE.safetensors'}, 'class_type': 'CheckpointLoaderSimple', '_meta': {'title': 'Load Checkpoint'}}, '18': {'inputs': {'text': 'natural light, advertising photo of a ', 'clip': ['17', 1]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '19': {'inputs': {'conditioning_to': ['18', 0], 'conditioning_from': ['13', 0]}, 'class_type': 'ConditioningConcat', '_meta': {'title': 'Conditioning (Concat)'}}, '20': {'inputs': {'text': 'watermark, deformed, bad anatomy', 'clip': ['17', 1]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '21': {'inputs': {'width': ['4', 0], 'height': ['5', 0], 'x': 0, 'y': 0, 'image': ['8', 0]}, 'class_type': 'ImageCrop', '_meta': {'title': 'ImageCrop'}}, '22': {'inputs': {'boolean': True, 'on_true': ['21', 0], 'on_false': ['23', 0]}, 'class_type': 'Switch any [Crystools]', '_meta': {'title': 'Did you input a background?'}}, '23': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['2', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '24': {'inputs': {'boolean': True, 'on_true': ['75', 0], 'on_false': ['55', 0]}, 'class_type': 'Switch any [Crystools]', '_meta': {'title': 'Did you input a Light Mask?'}}, '25': {'inputs': {'model_name': 'GroundingDINO_SwinT_OGC (694MB)'}, 'class_type': 'GroundingDinoModelLoader (segment anything)', '_meta': {'title': 'GroundingDinoModelLoader (segment anything)'}}, '26': {'inputs': {'model_name': 'sam_hq_vit_h (2.57GB)'}, 'class_type': 'SAMModelLoader (segment anything)', '_meta': {'title': 'SAMModelLoader (segment anything)'}}, '27': {'inputs': {'mask': ['30', 0]}, 'class_type': 'MaskToImage', '_meta': {'title': 'Convert Mask to Image'}}, '29': {'inputs': {'prompt': 'subject', 'threshold': 0.3, 'sam_model': ['26', 0], 'grounding_dino_model': ['25', 0], 'image': ['23', 0]}, 'class_type': 'GroundingDinoSAMSegment (segment anything)', '_meta': {'title': 'GroundingDinoSAMSegment (segment anything)'}}, '30': {'inputs': {'expand': -1, 'incremental_expandrate': 0, 'tapered_corners': True, 'flip_input': False, 'blur_radius': 0.5, 'lerp_alpha': 1, 'decay_factor': 1, 'fill_holes': False, 'mask': ['29', 1]}, 'class_type': 'GrowMaskWithBlur', '_meta': {'title': 'Grow Mask With Blur'}}, '32': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['27', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '33': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['22', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '34': {'inputs': {'blend_percentage': 1, 'image_a': ['33', 0], 'image_b': ['23', 0], 'mask': ['32', 0]}, 'class_type': 'Image Blend by Mask', '_meta': {'title': 'Image Blend by Mask'}}, '38': {'inputs': {'strength': 0.85, 'conditioning': ['19', 0], 'control_net': ['39', 0], 'image': ['42', 0]}, 'class_type': 'ControlNetApply', '_meta': {'title': 'Apply ControlNet'}}, '39': {'inputs': {'control_net_name': 'control_v11f1p_sd15_depth.pth'}, 'class_type': 'ControlNetLoader', '_meta': {'title': 'Load ControlNet Model'}}, '42': {'inputs': {'ckpt_name': 'depth_anything_vitl14.pth', 'resolution': 512, 'image': ['23', 0]}, 'class_type': 'DepthAnythingPreprocessor', '_meta': {'title': 'Depth Anything'}}, '44': {'inputs': {'pixels': ['172', 0], 'vae': ['17', 2]}, 'class_type': 'VAEEncode', '_meta': {'title': 'VAE Encode'}}, '45': {'inputs': {'seed': 2512732489, 'steps': 20, 'cfg': 6, 'sampler_name': 'dpmpp_2m', 'scheduler': 'karras', 'denoise': ['46', 0], 'model': ['50', 0], 'positive': ['38', 0], 'negative': ['20', 0], 'latent_image': ['44', 0]}, 'class_type': 'KSampler', '_meta': {'title': 'KSampler'}}, '46': {'inputs': {'value': 0.7}, 'class_type': 'Float-🔬', '_meta': {'title': 'Denoise (0.1-1.0)'}}, '49': {'inputs': {'preset': 'PLUS (high strength)', 'model': ['17', 0]}, 'class_type': 'IPAdapterUnifiedLoader', '_meta': {'title': 'IPAdapter Unified Loader'}}, '50': {'inputs': {'weight': 0.3, 'weight_type': 'linear', 'combine_embeds': 'concat', 'start_at': 0, 'end_at': 1, 'embeds_scaling': 'V only', 'model': ['49', 0], 'ipadapter': ['49', 1], 'image': ['172', 0]}, 'class_type': 'IPAdapterAdvanced', '_meta': {'title': 'IPAdapter Advanced'}}, '51': {'inputs': {'samples': ['45', 0], 'vae': ['17', 2]}, 'class_type': 'VAEDecode', '_meta': {'title': 'VAE Decode'}}, '53': {'inputs': {'blend_percentage': 1, 'image_a': ['171', 0], 'image_b': ['172', 0], 'mask': ['32', 0]}, 'class_type': 'Image Blend by Mask', '_meta': {'title': 'Image Blend by Mask'}}, '55': {'inputs': {'pixels': ['78', 0], 'vae': ['88', 2]}, 'class_type': 'VAEEncode', '_meta': {'title': 'VAE Encode'}}, '56': {'inputs': {'expand': 0, 'incremental_expandrate': 0, 'tapered_corners': True, 'flip_input': False, 'blur_radius': 0, 'lerp_alpha': 1, 'decay_factor': 1, 'fill_holes': False, 'mask': ['60', 7]}, 'class_type': 'GrowMaskWithBlur', '_meta': {'title': 'Grow Mask With Blur'}}, '57': {'inputs': {'min': 0, 'max': 1.02, 'mask': ['56', 0]}, 'class_type': 'RemapMaskRange', '_meta': {'title': 'Remap Mask Range'}}, '58': {'inputs': {'mask': ['57', 0]}, 'class_type': 'MaskToImage', '_meta': {'title': 'Convert Mask to Image'}}, '60': {'inputs': {'threshold_r': ['116', 0], 'threshold_g': ['116', 0], 'threshold_b': ['116', 0], 'image': ['53', 0]}, 'class_type': 'MaskFromRGBCMYBW+', '_meta': {'title': '🔧 Mask From RGB/CMY/BW'}}, '61': {'inputs': {'mask': ['60', 7]}, 'class_type': 'MaskToImage', '_meta': {'title': 'Convert Mask to Image'}}, '71': {'inputs': {'mask': ['74', 0]}, 'class_type': 'MaskToImage', '_meta': {'title': 'Convert Mask to Image'}}, '73': {'inputs': {'min': 0, 'max': 1.06, 'mask': ['9', 0]}, 'class_type': 'RemapMaskRange', '_meta': {'title': 'Remap Mask Range'}}, '74': {'inputs': {'expand': 0, 'incremental_expandrate': 0, 'tapered_corners': True, 'flip_input': False, 'blur_radius': 30, 'lerp_alpha': 1, 'decay_factor': 1, 'fill_holes': False, 'mask': ['73', 0]}, 'class_type': 'GrowMaskWithBlur', '_meta': {'title': 'Grow Mask With Blur'}}, '75': {'inputs': {'pixels': ['81', 0], 'vae': ['88', 2]}, 'class_type': 'VAEEncode', '_meta': {'title': 'VAE Encode'}}, '77': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['61', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '78': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['58', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '81': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['71', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '85': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['53', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '86': {'inputs': {'text': 'desaturated, sepia, white', 'clip': ['88', 1]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '87': {'inputs': {'model_path': 'iclight_sd15_fc.safetensors', 'model': ['88', 0]}, 'class_type': 'LoadAndApplyICLightUnet', '_meta': {'title': 'Load And Apply IC-Light'}}, '88': {'inputs': {'ckpt_name': 'epicrealism_naturalSinRC1VAE.safetensors'}, 'class_type': 'CheckpointLoaderSimple', '_meta': {'title': 'Load Checkpoint'}}, '91': {'inputs': {'seed': 975341863, 'steps': 30, 'cfg': ['111', 0], 'sampler_name': 'dpmpp_2m_sde', 'scheduler': 'karras', 'denoise': 1, 'model': ['87', 0], 'positive': ['92', 0], 'negative': ['92', 1], 'latent_image': ['24', 0]}, 'class_type': 'KSampler', '_meta': {'title': 'KSampler'}}, '92': {'inputs': {'multiplier': 0.156, 'positive': ['15', 0], 'negative': ['86', 0], 'vae': ['88', 2], 'foreground': ['93', 0]}, 'class_type': 'ICLightConditioning', '_meta': {'title': 'IC-Light Conditioning'}}, '93': {'inputs': {'pixels': ['85', 0], 'vae': ['88', 2]}, 'class_type': 'VAEEncode', '_meta': {'title': 'VAE Encode'}}, '94': {'inputs': {'samples': ['91', 0], 'vae': ['88', 2]}, 'class_type': 'VAEDecode', '_meta': {'title': 'VAE Decode'}}, '96': {'inputs': {'image': '$96-0', 'images': ['94', 0]}, 'class_type': 'PreviewBridge', '_meta': {'title': 'Preview Bridge (Image)'}}, '97': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['96', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '111': {'inputs': {'float': 2.4000000000000004}, 'class_type': 'Cfg Literal', '_meta': {'title': 'Relight CFG (1.2-3.5)'}}, '116': {'inputs': {'value': 0.2}, 'class_type': 'Float-🔬', '_meta': {'title': 'White Point'}}, '117': {'inputs': {'min': 0, 'max': 1, 'clamp': True, 'image': ['153', 1]}, 'class_type': 'RemapImageRange', '_meta': {'title': 'Remap Image Range'}}, '118': {'inputs': {'min': -0.2, 'max': 0.8, 'clamp': True, 'image': ['153', 1]}, 'class_type': 'RemapImageRange', '_meta': {'title': 'Remap Image Range'}}, '119': {'inputs': {'min': -0.4, 'max': 0.6, 'clamp': True, 'image': ['153', 1]}, 'class_type': 'RemapImageRange', '_meta': {'title': 'Remap Image Range'}}, '120': {'inputs': {'min': -0.6, 'max': 0.4, 'clamp': True, 'image': ['153', 1]}, 'class_type': 'RemapImageRange', '_meta': {'title': 'Remap Image Range'}}, '121': {'inputs': {'blur_type': 'guidedFilter', 'blur_size': ['125', 0], 'factor': 1, 'images': ['148', 1], 'reference': ['117', 0]}, 'class_type': 'ColorMatchImage', '_meta': {'title': 'Color Match Image'}}, '122': {'inputs': {'blur_type': 'guidedFilter', 'blur_size': ['125', 0], 'factor': 1, 'images': ['148', 1], 'reference': ['118', 0]}, 'class_type': 'ColorMatchImage', '_meta': {'title': 'Color Match Image'}}, '123': {'inputs': {'blur_type': 'guidedFilter', 'blur_size': ['125', 0], 'factor': 1, 'images': ['148', 1], 'reference': ['119', 0]}, 'class_type': 'ColorMatchImage', '_meta': {'title': 'Color Match Image'}}, '124': {'inputs': {'blur_type': 'guidedFilter', 'blur_size': ['125', 0], 'factor': 1, 'images': ['148', 1], 'reference': ['120', 0]}, 'class_type': 'ColorMatchImage', '_meta': {'title': 'Color Match Image'}}, '125': {'inputs': {'value': 24}, 'class_type': 'Int-🔬', '_meta': {'title': 'Int'}}, '135': {'inputs': {'operation': 'mean', 'images': ['136', 0]}, 'class_type': 'BatchAverageImage', '_meta': {'title': 'Batch Average Image'}}, '136': {'inputs': {'inputcount': 5, 'Update inputs': None, 'image_1': ['121', 0], 'image_2': ['122', 0], 'image_3': ['123', 0], 'image_4': ['124', 0], 'image_5': ['153', 1]}, 'class_type': 'ImageBatchMulti', '_meta': {'title': 'Image Batch Multi'}}, '137': {'inputs': {'operation': 'mean', 'images': ['138', 0]}, 'class_type': 'BatchAverageImage', '_meta': {'title': 'Batch Average Image'}}, '138': {'inputs': {'image1': ['148', 1], 'image2': ['135', 0]}, 'class_type': 'ImageBatch', '_meta': {'title': 'Batch Images'}}, '139': {'inputs': {'min': -0.15, 'max': 1.45, 'clamp': True, 'image': ['154', 0]}, 'class_type': 'RemapImageRange', '_meta': {'title': 'Remap Image Range'}}, '140': {'inputs': {'operation': 'mean', 'images': ['141', 0]}, 'class_type': 'BatchAverageImage', '_meta': {'title': 'Batch Average Image'}}, '141': {'inputs': {'image1': ['153', 1], 'image2': ['148', 1]}, 'class_type': 'ImageBatch', '_meta': {'title': 'Batch Images'}}, '144': {'inputs': {'mode': 'color', 'blend_percentage': 1, 'image_a': ['140', 0], 'image_b': ['153', 1]}, 'class_type': 'Image Blending Mode', '_meta': {'title': 'Color Blending Control'}}, '145': {'inputs': {'mode': 'hue', 'blend_percentage': 1, 'image_a': ['144', 0], 'image_b': ['153', 1]}, 'class_type': 'Image Blending Mode', '_meta': {'title': 'Hue Blending Control'}}, '146': {'inputs': {'mode': 'color', 'blend_percentage': 0.7000000000000001, 'image_a': ['137', 0], 'image_b': ['153', 1]}, 'class_type': 'Image Blending Mode', '_meta': {'title': 'Color Blending Control'}}, '147': {'inputs': {'mode': 'hue', 'blend_percentage': 0.7000000000000001, 'image_a': ['146', 0], 'image_b': ['153', 1]}, 'class_type': 'Image Blending Mode', '_meta': {'title': 'Hue Blending Control'}}, '148': {'inputs': {'blur_radius': 3, 'image': ['97', 0]}, 'class_type': 'FrequencySeparationHSV', '_meta': {'title': 'Frequency Separation HSV Node'}}, '149': {'inputs': {'images': ['153', 1]}, 'class_type': 'PreviewImage', '_meta': {'title': 'Preview Image'}}, '150': {'inputs': {'images': ['153', 0]}, 'class_type': 'PreviewImage', '_meta': {'title': 'Preview Image'}}, '153': {'inputs': {'blur_radius': 3, 'image': ['53', 0]}, 'class_type': 'FrequencySeparation', '_meta': {'title': 'Frequency Separation Node'}}, '154': {'inputs': {'high_freq': ['153', 0], 'low_freq': ['147', 0]}, 'class_type': 'FrequencyCombination', '_meta': {'title': 'Frequency Combination Node'}}, '155': {'inputs': {'high_freq': ['153', 0], 'low_freq': ['145', 0]}, 'class_type': 'FrequencyCombination', '_meta': {'title': 'Frequency Combination Node'}}, '159': {'inputs': {'min': 0, 'max': 1.1400000000000001, 'clamp': True, 'image': ['155', 0]}, 'class_type': 'RemapImageRange', '_meta': {'title': 'Remap Image Range'}}, '169': {'inputs': {'filename_prefix': 'ComfyUI', 'images': ['139', 0]}, 'class_type': 'SaveImage', '_meta': {'title': 'Save Image'}}, '170': {'inputs': {'filename_prefix': 'ComfyUI', 'images': ['159', 0]}, 'class_type': 'SaveImage', '_meta': {'title': 'Save Image'}}, '171': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['51', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}, '172': {'inputs': {'height': ['5', 0], 'width': ['4', 0], 'interpolation_mode': 'bicubic', 'image': ['34', 0]}, 'class_type': 'JWImageResize', '_meta': {'title': 'Image Resize'}}}
Checking inputs
✅ /tmp/inputs/subject_image.png
✅ /tmp/inputs/background_image.png
✅ /tmp/inputs/light_mask.png
====================================
Checking weights
Including weights for IPAdapter preset: PLUS (high strength)
✅ control_v11f1p_sd15_depth.pth exists in ComfyUI/models/controlnet
✅ depth_anything_vitl14.pth exists in ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/LiheYoung/Depth-Anything/checkpoints
✅ depth_anything_vitb14.pth exists in ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/LiheYoung/Depth-Anything/checkpoints
✅ iclight_sd15_fc.safetensors exists in ComfyUI/models/unet
✅ sam_hq_vit_h.pth exists in ComfyUI/models/sams
✅ ip-adapter-plus_sdxl_vit-h.safetensors exists in ComfyUI/models/ipadapter
✅ groundingdino_swint_ogc.pth exists in ComfyUI/models/grounding-dino
✅ CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors exists in ComfyUI/models/clip_vision
✅ ip-adapter-plus_sd15.safetensors exists in ComfyUI/models/ipadapter
✅ bert-base-uncased exists in ComfyUI/models/bert-base-uncased
✅ epicrealism_naturalSinRC1VAE.safetensors exists in ComfyUI/models/checkpoints
✅ depth_anything_vits14.pth exists in ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/LiheYoung/Depth-Anything/checkpoints
====================================
Running workflow
got prompt
Executing node 46, title: Denoise (0.1-1.0), class type: Float-🔬
Executing node 8, title: (Optional) Place Background here, class type: LoadImage
Executing node 21, title: ImageCrop, class type: ImageCrop
Executing node 22, title: Did you input a background?, class type: Switch any [Crystools]
Executing node 33, title: Image Resize, class type: JWImageResize
Executing node 34, title: Image Blend by Mask, class type: Image Blend by Mask
INFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting.
Executing node 172, title: Image Resize, class type: JWImageResize
Executing node 50, title: IPAdapter Advanced, class type: IPAdapterAdvanced
Executing node 13, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode
Executing node 19, title: Conditioning (Concat), class type: ConditioningConcat
Executing node 38, title: Apply ControlNet, class type: ControlNetApply
Executing node 44, title: VAE Encode, class type: VAEEncode
Executing node 45, title: KSampler, class type: KSampler
Requested to load BaseModel
Loading 1 new model
  0%|          | 0/20 [00:00<?, ?it/s]
  5%|▌         | 1/20 [00:00<00:07,  2.46it/s]
 10%|█         | 2/20 [00:00<00:07,  2.44it/s]
 15%|█▌        | 3/20 [00:01<00:06,  2.45it/s]
 20%|██        | 4/20 [00:01<00:06,  2.45it/s]
 25%|██▌       | 5/20 [00:02<00:06,  2.45it/s]
 30%|███       | 6/20 [00:02<00:05,  2.45it/s]
 35%|███▌      | 7/20 [00:02<00:05,  2.45it/s]
 40%|████      | 8/20 [00:03<00:04,  2.45it/s]
 45%|████▌     | 9/20 [00:03<00:04,  2.45it/s]
 50%|█████     | 10/20 [00:04<00:04,  2.45it/s]
 55%|█████▌    | 11/20 [00:04<00:03,  2.45it/s]
 60%|██████    | 12/20 [00:04<00:03,  2.45it/s]
 65%|██████▌   | 13/20 [00:05<00:02,  2.45it/s]
 70%|███████   | 14/20 [00:05<00:02,  2.45it/s]
 75%|███████▌  | 15/20 [00:06<00:02,  2.46it/s]
 80%|████████  | 16/20 [00:06<00:01,  2.46it/s]
 85%|████████▌ | 17/20 [00:06<00:01,  2.46it/s]
 90%|█████████ | 18/20 [00:07<00:00,  2.46it/s]
 95%|█████████▌| 19/20 [00:07<00:00,  2.46it/s]
100%|██████████| 20/20 [00:08<00:00,  2.46it/s]
100%|██████████| 20/20 [00:08<00:00,  2.45it/s]
Executing node 51, title: VAE Decode, class type: VAEDecode
Executing node 171, title: Image Resize, class type: JWImageResize
Executing node 53, title: Image Blend by Mask, class type: Image Blend by Mask
Executing node 153, title: Frequency Separation Node, class type: FrequencySeparation
Processing image 1/1 with shape: (1086, 1448, 3)
Executing node 149, title: Preview Image, class type: PreviewImage
Executing node 150, title: Preview Image, class type: PreviewImage
Executing node 15, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode
Executing node 85, title: Image Resize, class type: JWImageResize
Executing node 93, title: VAE Encode, class type: VAEEncode
Executing node 92, title: IC-Light Conditioning, class type: ICLightConditioning
Executing node 60, title: 🔧 Mask From RGB/CMY/BW, class type: MaskFromRGBCMYBW+
Executing node 56, title: Grow Mask With Blur, class type: GrowMaskWithBlur
Executing node 57, title: Remap Mask Range, class type: RemapMaskRange
Executing node 58, title: Convert Mask to Image, class type: MaskToImage
Executing node 78, title: Image Resize, class type: JWImageResize
Executing node 55, title: VAE Encode, class type: VAEEncode
Executing node 24, title: Did you input a Light Mask?, class type: Switch any [Crystools]
Executing node 91, title: KSampler, class type: KSampler
  0%|          | 0/30 [00:00<?, ?it/s]
  3%|▎         | 1/30 [00:00<00:08,  3.26it/s]
  7%|▋         | 2/30 [00:00<00:08,  3.21it/s]
 10%|█         | 3/30 [00:00<00:08,  3.19it/s]
 13%|█▎        | 4/30 [00:01<00:08,  3.18it/s]
 17%|█▋        | 5/30 [00:01<00:07,  3.18it/s]
 20%|██        | 6/30 [00:01<00:07,  3.18it/s]
 23%|██▎       | 7/30 [00:02<00:07,  3.18it/s]
 27%|██▋       | 8/30 [00:02<00:06,  3.17it/s]
 30%|███       | 9/30 [00:02<00:06,  3.18it/s]
 33%|███▎      | 10/30 [00:03<00:06,  3.17it/s]
 37%|███▋      | 11/30 [00:03<00:05,  3.18it/s]
 40%|████      | 12/30 [00:03<00:05,  3.18it/s]
 43%|████▎     | 13/30 [00:04<00:05,  3.18it/s]
 47%|████▋     | 14/30 [00:04<00:05,  3.19it/s]
 50%|█████     | 15/30 [00:04<00:04,  3.19it/s]
 53%|█████▎    | 16/30 [00:05<00:04,  3.20it/s]
 57%|█████▋    | 17/30 [00:05<00:04,  3.20it/s]
 60%|██████    | 18/30 [00:05<00:03,  3.20it/s]
 63%|██████▎   | 19/30 [00:05<00:03,  3.21it/s]
 67%|██████▋   | 20/30 [00:06<00:03,  3.21it/s]
 70%|███████   | 21/30 [00:06<00:02,  3.21it/s]
 73%|███████▎  | 22/30 [00:06<00:02,  3.20it/s]
 77%|███████▋  | 23/30 [00:07<00:02,  3.21it/s]
 80%|████████  | 24/30 [00:07<00:01,  3.21it/s]
 83%|████████▎ | 25/30 [00:07<00:01,  3.22it/s]
 87%|████████▋ | 26/30 [00:08<00:01,  3.22it/s]
 90%|█████████ | 27/30 [00:08<00:00,  3.22it/s]
 93%|█████████▎| 28/30 [00:08<00:00,  3.22it/s]
 97%|█████████▋| 29/30 [00:09<00:00,  3.30it/s]
100%|██████████| 30/30 [00:09<00:00,  3.37it/s]
100%|██████████| 30/30 [00:09<00:00,  3.22it/s]
Executing node 94, title: VAE Decode, class type: VAEDecode
Executing node 96, title: Preview Bridge (Image), class type: PreviewBridge
Executing node 97, title: Image Resize, class type: JWImageResize
Executing node 148, title: Frequency Separation HSV Node, class type: FrequencySeparationHSV
Executing node 141, title: Batch Images, class type: ImageBatch
Executing node 140, title: Batch Average Image, class type: BatchAverageImage
Executing node 144, title: Color Blending Control, class type: Image Blending Mode
Executing node 145, title: Hue Blending Control, class type: Image Blending Mode
Executing node 155, title: Frequency Combination Node, class type: FrequencyCombination
Executing node 159, title: Remap Image Range, class type: RemapImageRange
Executing node 170, title: Save Image, class type: SaveImage
Executing node 117, title: Remap Image Range, class type: RemapImageRange
Executing node 121, title: Color Match Image, class type: ColorMatchImage
Executing node 118, title: Remap Image Range, class type: RemapImageRange
Executing node 122, title: Color Match Image, class type: ColorMatchImage
Executing node 119, title: Remap Image Range, class type: RemapImageRange
Executing node 123, title: Color Match Image, class type: ColorMatchImage
Executing node 120, title: Remap Image Range, class type: RemapImageRange
Executing node 124, title: Color Match Image, class type: ColorMatchImage
Executing node 136, title: Image Batch Multi, class type: ImageBatchMulti
Executing node 135, title: Batch Average Image, class type: BatchAverageImage
Executing node 138, title: Batch Images, class type: ImageBatch
Executing node 137, title: Batch Average Image, class type: BatchAverageImage
Executing node 146, title: Color Blending Control, class type: Image Blending Mode
Executing node 147, title: Hue Blending Control, class type: Image Blending Mode
Executing node 154, title: Frequency Combination Node, class type: FrequencyCombination
Executing node 139, title: Remap Image Range, class type: RemapImageRange
Executing node 169, title: Save Image, class type: SaveImage
Prompt executed in 24.02 seconds
outputs:  {'149': {'images': [{'filename': 'ComfyUI_temp_pfemy_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '150': {'images': [{'filename': 'ComfyUI_temp_bfjxh_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '96': {'images': [{'filename': 'PB-_temp_ikjoo_00001_.png', 'subfolder': 'PreviewBridge', 'type': 'temp'}]}, '170': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}, '169': {'images': [{'filename': 'ComfyUI_00002_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
ComfyUI_00001_.png
ComfyUI_00002_.png
Version Details
Version ID
cd7bf1ce29ad3a9d8ac03d1d5b62a6bfa7b13c1cdc1b44784ebb481c621db966
Version Created
July 30, 2024
Run on Replicate →