workflow / Flux_inpaint.json
phamhungd's picture
Upload 24 files
574c311 verified
{
"last_node_id": 72,
"last_link_id": 120,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [
1178,
91
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 66
},
{
"name": "vae",
"type": "VAE",
"link": 88
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 52,
"type": "CheckpointLoaderSimple",
"pos": [
63,
89
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
89
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
111
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
88,
117
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Flux_dev_v1.safetensors"
]
},
{
"id": 68,
"type": "Note",
"pos": [
65,
236
],
"size": [
312.59844944233674,
99.95023421605549
],
"flags": {},
"order": 1,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"ComfyUI Colab:\n- Creator: stablediffusion.vn\n- Website: sdvn.me | comfy.vn | fluxai.vn\n- Document: bit.ly/sdvn-lib\n- Skills training: hungdiffusion.com"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1410,
91
],
"size": {
"0": 356.08502197265625,
"1": 499.8143310546875
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 44,
"type": "KSampler",
"pos": [
837,
93
],
"size": {
"0": 318.3961181640625,
"1": 487.5167236328125
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 89
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 112
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 114
},
{
"name": "latent_image",
"type": "LATENT",
"link": 119,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
66
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1,
"fixed",
20,
1,
"euler",
"simple",
0.8
]
},
{
"id": 70,
"type": "LoadImage",
"pos": [
66,
393
],
"size": [
315,
314
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
115
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
120
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-1246178.2.png [input]",
"image"
]
},
{
"id": 71,
"type": "VAEEncode",
"pos": [
404,
391
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 115
},
{
"name": "vae",
"type": "VAE",
"link": 117,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
118
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 72,
"type": "SetLatentNoiseMask",
"pos": [
629,
391
],
"size": [
176.39999389648438,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 118
},
{
"name": "mask",
"type": "MASK",
"link": 120,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
119
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SetLatentNoiseMask"
}
},
{
"id": 69,
"type": "CLIPTextEncode",
"pos": [
408,
89
],
"size": [
400,
200
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 111
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
112,
114
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"Actual image of a smiling Vietnamese girl. With both hands she was holding a notice board with the word \"SDVN.ME\" large in the middle. Photos have high detail"
]
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
66,
44,
0,
8,
0,
"LATENT"
],
[
75,
10,
0,
8,
1,
"VAE"
],
[
76,
12,
0,
44,
0,
"MODEL"
],
[
77,
11,
0,
48,
0,
"CLIP"
],
[
78,
10,
0,
30,
1,
"VAE"
],
[
79,
12,
0,
51,
0,
"MODEL"
],
[
80,
11,
0,
51,
1,
"CLIP"
],
[
81,
10,
0,
51,
2,
"VAE"
],
[
88,
52,
2,
8,
1,
"VAE"
],
[
89,
52,
0,
44,
0,
"MODEL"
],
[
111,
52,
1,
69,
0,
"CLIP"
],
[
112,
69,
0,
44,
1,
"CONDITIONING"
],
[
114,
69,
0,
44,
2,
"CONDITIONING"
],
[
115,
70,
0,
71,
0,
"IMAGE"
],
[
117,
52,
2,
71,
1,
"VAE"
],
[
118,
71,
0,
72,
0,
"LATENT"
],
[
119,
72,
0,
44,
3,
"LATENT"
],
[
120,
70,
1,
72,
1,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.2100000000000002,
"offset": [
-8.70188029202725,
-1.8985433586173746
]
}
},
"version": 0.4
}