comfy / workflows /ic-light-bria.json
Martin Tomov
workflows/ic-light-bria.json
8f30e3a verified
raw
history blame
No virus
16.4 kB
{
"last_node_id": 63,
"last_link_id": 25,
"nodes": [
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
100,
130
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
9
],
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
11,
13
],
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
16,
19,
21
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"photon_v1.safetensors"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
2802.5999755859375,
130
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 1
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 12,
"type": "LoadImage",
"pos": [
100,
358
],
"size": [
315,
314
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"https://summersnowjuice.com.au/cdn/shop/products/A08I9047-square_5000x.jpg?v=1675730655example_url",
"image"
]
},
{
"id": 40,
"type": "ImageResize+",
"pos": [
515,
318
],
"size": {
"0": 315,
"1": 194
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4
],
"shape": 3
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"nearest",
false,
"always"
]
},
{
"id": 44,
"type": "BRIA_RMBG_ModelLoader_Zho",
"pos": [
100,
590
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "rmbgmodel",
"type": "RMBGMODEL",
"links": [
3
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BRIA_RMBG_ModelLoader_Zho"
}
},
{
"id": 45,
"type": "BRIA_RMBG_Zho",
"pos": [
1015,
130
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "rmbgmodel",
"type": "RMBGMODEL",
"link": 3
},
{
"name": "image",
"type": "IMAGE",
"link": 4
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
18
],
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BRIA_RMBG_Zho"
}
},
{
"id": 46,
"type": "LightSource",
"pos": [
515,
1302
],
"size": [
315,
178
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "start_color",
"type": "STRING",
"link": 5,
"widget": {
"name": "start_color"
}
},
{
"name": "end_color",
"type": "STRING",
"link": 6,
"widget": {
"name": "end_color"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LightSource"
},
"widgets_values": [
"Left Light",
1,
"#FFFFFF",
"#000000",
1024,
1024
]
},
{
"id": 48,
"type": "VAEEncode",
"pos": [
1015,
306
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
25
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 49,
"type": "LoadAndApplyICLightUnet",
"pos": [
515,
130
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 9
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
22
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadAndApplyICLightUnet"
},
"widgets_values": [
"iclight_sd15_fc.safetensors"
]
},
{
"id": 53,
"type": "CLIPTextEncode",
"pos": [
515,
972
],
"size": [
400,
200
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 11
},
{
"name": "text",
"type": "STRING",
"link": 10,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
14
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 54,
"type": "CLIPTextEncode",
"pos": [
515,
642
],
"size": [
400,
200
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 13
},
{
"name": "text",
"type": "STRING",
"link": 12,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
15
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 55,
"type": "ICLightConditioning",
"pos": [
1635,
130
],
"size": {
"0": 342.5999755859375,
"1": 138
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 14
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 15
},
{
"name": "vae",
"type": "VAE",
"link": 16
},
{
"name": "foreground",
"type": "LATENT",
"link": 17
},
{
"name": "opt_background",
"type": "LATENT",
"link": null
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
23
],
"shape": 3
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
24
],
"shape": 3
},
{
"name": "empty_latent",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ICLightConditioning"
},
"widgets_values": [
0.2
]
},
{
"id": 56,
"type": "StringInput_fal",
"pos": [
100,
746
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
12
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "StringInput_fal"
},
"widgets_values": [
"Negative Prompt",
"Watermark"
]
},
{
"id": 57,
"type": "StringInput_fal",
"pos": [
100,
958
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
10
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "StringInput_fal"
},
"widgets_values": [
"Positive Prompt",
"advertisement photography, orange juice on a table on a sunny summer beach"
]
},
{
"id": 58,
"type": "VAEEncode",
"pos": [
1325,
130
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 18
},
{
"name": "vae",
"type": "VAE",
"link": 19
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
17
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 59,
"type": "VAEDecode",
"pos": [
2492.5999755859375,
130
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 20
},
{
"name": "vae",
"type": "VAE",
"link": 21
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 61,
"type": "KSamplerAdvanced",
"pos": [
2077.5999755859375,
130
],
"size": {
"0": 315,
"1": 334
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 22
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 23
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 24
},
{
"name": "latent_image",
"type": "LATENT",
"link": 25
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
0,
"randomize",
40,
2,
"dpmpp_3m_sde_gpu",
"karras",
0,
10000,
"disable"
]
},
{
"id": 62,
"type": "StringInput_fal",
"pos": [
100,
1170
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
5
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "StringInput_fal"
},
"widgets_values": [
"lightsource_start_color",
"#FFFFFF"
]
},
{
"id": 63,
"type": "StringInput_fal",
"pos": [
100,
1382
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
6
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "StringInput_fal"
},
"widgets_values": [
"lightsource_end_color",
"#000000"
]
}
],
"links": [
[
1,
59,
0,
9,
0,
"IMAGE"
],
[
2,
12,
0,
40,
0,
"IMAGE"
],
[
3,
44,
0,
45,
0,
"RMBGMODEL"
],
[
4,
40,
0,
45,
1,
"IMAGE"
],
[
5,
62,
0,
46,
0,
"STRING"
],
[
6,
63,
0,
46,
1,
"STRING"
],
[
7,
46,
0,
48,
0,
"IMAGE"
],
[
8,
4,
2,
48,
1,
"VAE"
],
[
9,
4,
0,
49,
0,
"MODEL"
],
[
10,
57,
0,
53,
1,
"STRING"
],
[
11,
4,
1,
53,
0,
"CLIP"
],
[
12,
56,
0,
54,
1,
"STRING"
],
[
13,
4,
1,
54,
0,
"CLIP"
],
[
14,
53,
0,
55,
0,
"CONDITIONING"
],
[
15,
54,
0,
55,
1,
"CONDITIONING"
],
[
16,
4,
2,
55,
2,
"VAE"
],
[
17,
58,
0,
55,
3,
"LATENT"
],
[
18,
45,
0,
58,
0,
"IMAGE"
],
[
19,
4,
2,
58,
1,
"VAE"
],
[
20,
61,
0,
59,
0,
"LATENT"
],
[
21,
4,
2,
59,
1,
"VAE"
],
[
22,
49,
0,
61,
0,
"MODEL"
],
[
23,
55,
0,
61,
1,
"CONDITIONING"
],
[
24,
55,
1,
61,
2,
"CONDITIONING"
],
[
25,
48,
0,
61,
3,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}