mycomfyuiworkflows / LBM Relighting.json
Bhanu Khan
Upload My ComfyUI workflows
2128e05 verified
{
"id": "7bb2ac30-3a7c-4f8a-ab55-2e0dbc7e845c",
"revision": 0,
"last_node_id": 7,
"last_link_id": 6,
"nodes": [
{
"id": 2,
"type": "RMBG",
"pos": [
667,
142
],
"size": [
320,
266
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
},
{
"name": "background_color",
"shape": 7,
"type": "COLOR",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "MASK_IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-rmbg",
"ver": "2.3.2",
"Node name for S&R": "RMBG"
},
"widgets_values": [
"RMBG-2.0",
1,
1024,
0,
0,
false,
false,
"Alpha"
],
"color": "#222e40",
"bgcolor": "#364254"
},
{
"id": 4,
"type": "AILab_ImageCombiner",
"pos": [
1110.3604736328125,
144.75991821289062
],
"size": [
281.70001220703125,
194
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "foreground",
"type": "IMAGE",
"link": 2
},
{
"name": "background",
"type": "IMAGE",
"link": 3
},
{
"name": "foreground_mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4,
5
]
}
],
"properties": {
"cnr_id": "comfyui-rmbg",
"ver": "2.3.2",
"Node name for S&R": "AILab_ImageCombiner"
},
"widgets_values": [
"normal",
1,
1,
44,
72
],
"color": "#2e3e57",
"bgcolor": "#4b5b73"
},
{
"id": 1,
"type": "AILab_LoadImage",
"pos": [
324,
141
],
"size": [
270,
470
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "MASK_IMAGE",
"type": "IMAGE",
"links": null
},
{
"name": "WIDTH",
"type": "INT",
"links": null
},
{
"name": "HEIGHT",
"type": "INT",
"links": null
}
],
"title": "Load Image (RMBG) 🖼️Foreground",
"properties": {
"cnr_id": "comfyui-rmbg",
"ver": "2.3.2",
"Node name for S&R": "AILab_LoadImage"
},
"widgets_values": [
"pexels-maksgelatin-5046542.jpg",
"alpha",
1,
"longest_side",
1024,
"image"
],
"color": "#2e3e57",
"bgcolor": "#4b5b73"
},
{
"id": 3,
"type": "AILab_LoadImage",
"pos": [
669.919921875,
495.65997314453125
],
"size": [
270,
470.0000305175781
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "MASK_IMAGE",
"type": "IMAGE",
"links": null
},
{
"name": "WIDTH",
"type": "INT",
"links": null
},
{
"name": "HEIGHT",
"type": "INT",
"links": null
}
],
"title": "Load Image (RMBG) 🖼️Background",
"properties": {
"cnr_id": "comfyui-rmbg",
"ver": "2.3.2",
"Node name for S&R": "AILab_LoadImage"
},
"widgets_values": [
"pexels-arooh-522583439-32159565.jpg",
"alpha",
1,
"shortest_side",
1024,
"image"
],
"color": "#2e3e57",
"bgcolor": "#4b5b73"
},
{
"id": 6,
"type": "LBM_Relighting",
"pos": [
1112.7802734375,
397.64996337890625
],
"size": [
271.3333435058594,
154
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 5
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
]
}
],
"properties": {
"cnr_id": "ComfyUI-LBM",
"ver": "c840b107d9203cc28e6a7774359d79e098cee435",
"Node name for S&R": "LBM_Relighting"
},
"widgets_values": [
"LBM_relighting.safetensors",
30,
"bf16",
0.005,
1
]
},
{
"id": 5,
"type": "PreviewImage",
"pos": [
1417.7001953125,
148.3900604248047
],
"size": [
221.0699920654297,
258
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 4
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 7,
"type": "SaveImage",
"pos": [
1415.280029296875,
455.73016357421875
],
"size": [
270,
58
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"IMAGE"
],
[
2,
2,
0,
4,
0,
"IMAGE"
],
[
3,
3,
0,
4,
1,
"IMAGE"
],
[
4,
4,
0,
5,
0,
"IMAGE"
],
[
5,
4,
0,
6,
0,
"IMAGE"
],
[
6,
6,
0,
7,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917354,
"offset": [
-327.48999999999944,
-20.130000000000102
]
},
"frontendVersion": "1.19.9"
},
"version": 0.4
}