ComfyUI / workflows /FLUX Try-on v.1.0.json
Tenofas's picture
Upload 4 files
51c919c verified
raw
history blame
45 kB
{
"last_node_id": 114,
"last_link_id": 249,
"nodes": [
{
"id": 105,
"type": "Seed (rgthree)",
"pos": [
-1039.423095703125,
192.58592224121094
],
"size": [
339.62640380859375,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
238
],
"slot_index": 0,
"shape": 3,
"dir": 4
}
],
"properties": {},
"widgets_values": [
-1,
null,
null,
null
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 106,
"type": "Sampler Selector (Image Saver)",
"pos": [
-1032.6602783203125,
364.8855895996094
],
"size": [
337.9477233886719,
78
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "sampler",
"type": "COMBO",
"links": [
239
],
"slot_index": 0
},
{
"name": "sampler_name",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "Sampler Selector (Image Saver)"
},
"widgets_values": [
"euler"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 58,
"type": "ConditioningZeroOut",
"pos": [
-1026.8255615234375,
-24.632272720336914
],
"size": [
211.60000610351562,
29.7861270904541
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 144
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
145
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": []
},
{
"id": 56,
"type": "DifferentialDiffusion",
"pos": [
-1675.499755859375,
374.4490661621094
],
"size": [
277.20001220703125,
26
],
"flags": {
"collapsed": true
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 233
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
138
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DifferentialDiffusion"
},
"widgets_values": []
},
{
"id": 108,
"type": "Scheduler Selector (Comfy) (Image Saver)",
"pos": [
-1029.842529296875,
489.53900146484375
],
"size": [
336,
78
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "scheduler",
"type": "COMBO",
"links": [
240
],
"slot_index": 0
},
{
"name": "scheduler_name",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "Scheduler Selector (Comfy) (Image Saver)"
},
"widgets_values": [
"beta"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 39,
"type": "CLIPVisionEncode",
"pos": [
-1385.260009765625,
-10.878236770629883
],
"size": [
290,
78
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 117
},
{
"name": "image",
"type": "IMAGE",
"link": 181
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
120
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode"
},
"widgets_values": [
"center"
]
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
-1388.4735107421875,
475.6677551269531
],
"size": [
317.4000244140625,
58
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 234
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
122
],
"slot_index": 0,
"shape": 3
}
],
"title": "FluxGuidance (keep at 30.0)",
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
30
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 104,
"type": "Primitive integer [Crystools]",
"pos": [
-1041.0802001953125,
100.05131530761719
],
"size": [
342.76470947265625,
60.77650833129883
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "int",
"type": "INT",
"links": [
237
],
"slot_index": 0
}
],
"title": "Steps",
"properties": {
"Node name for S&R": "Primitive integer [Crystools]"
},
"widgets_values": [
30
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 76,
"type": "Image Overlay",
"pos": [
-1742.1099853515625,
-75.83529663085938
],
"size": [
315,
290
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "base_image",
"type": "IMAGE",
"link": 179
},
{
"name": "overlay_image",
"type": "IMAGE",
"link": 180
},
{
"name": "optional_mask",
"type": "MASK",
"link": null,
"shape": 7
},
{
"name": "width",
"type": "INT",
"link": 182,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 183,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
181
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Overlay"
},
"widgets_values": [
"None",
"nearest-exact",
1,
512,
512,
0,
0,
0,
0
],
"color": "#223333",
"bgcolor": "#335555",
"shape": 1
},
{
"id": 102,
"type": "Power Lora Loader (rgthree)",
"pos": [
-1744.9278564453125,
263.2802734375
],
"size": [
326.4233093261719,
318.0140380859375
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 232,
"dir": 3
},
{
"name": "clip",
"type": "CLIP",
"link": 235,
"dir": 3
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
233
],
"slot_index": 0,
"shape": 3,
"dir": 4
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
236
],
"slot_index": 1,
"shape": 3,
"dir": 4
}
],
"properties": {
"Show Strengths": "Single Strength"
},
"widgets_values": [
null,
{
"type": "PowerLoraLoaderHeaderWidget"
},
null,
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 95,
"type": "LoadImage",
"pos": [
-3130.24609375,
-913.1038208007812
],
"size": [
561.0575561523438,
589.0514526367188
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
219,
227,
246
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
228
],
"slot_index": 1
}
],
"title": "Model image",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-17962831.299999952.png [input]",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 41,
"type": "StyleModelApply",
"pos": [
-1034.0684814453125,
-70.70128631591797
],
"size": [
320,
122
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 122
},
{
"name": "style_model",
"type": "STYLE_MODEL",
"link": 172
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"link": 120,
"shape": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
143,
144
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StyleModelApply"
},
"widgets_values": [
1,
"multiply"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-1398.7655029296875,
113.14105224609375
],
"size": [
334.5587463378906,
315.6915283203125
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 236
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
234
],
"slot_index": 0
}
],
"title": "Prompt (do not change)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A pair of professional photographs that highlights a clothing and its styling on a model. The photographs are in high resolution and extremely detailed. \nThe image on the left shows a detailed product shot of a piece of clothing, in the image on the right the same clothing is worn by a model in a lifestyle setting.\nThe model is portaied in a professional fashion photography style, she has professional makeup and hairstyle."
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 112,
"type": "GetImageSize+",
"pos": [
-2481.459228515625,
-768.6283569335938
],
"size": [
214.20001220703125,
66
],
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 246
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
247
],
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"links": [
248
],
"slot_index": 1
},
{
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize+"
},
"widgets_values": []
},
{
"id": 51,
"type": "ImageResize+",
"pos": [
-2489.936767578125,
-777.9014282226562
],
"size": [
297.1544189453125,
170
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 230
},
{
"name": "width",
"type": "INT",
"link": 247,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 248,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
132,
185
],
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
768,
1024,
"nearest",
"pad",
"always",
0
]
},
{
"id": 47,
"type": "LayerMask: LoadBiRefNetModelV2",
"pos": [
-2494.377197265625,
-279.67254638671875
],
"size": [
352.79998779296875,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "birefnet_model",
"type": "BIREFNET_MODEL",
"links": [
126
]
}
],
"properties": {
"Node name for S&R": "LayerMask: LoadBiRefNetModelV2"
},
"widgets_values": [
"RMBG-2.0"
],
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 46,
"type": "LayerMask: BiRefNetUltraV2",
"pos": [
-2492.225341796875,
-562.7713012695312
],
"size": [
352.79998779296875,
246
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 132
},
{
"name": "birefnet_model",
"type": "BIREFNET_MODEL",
"link": 126
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
175,
180
],
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LayerMask: BiRefNetUltraV2"
},
"widgets_values": [
"VITMatte",
4,
2,
0.01,
0.99,
true,
"cuda",
2
],
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 59,
"type": "GrowMask",
"pos": [
-2130.880615234375,
-783.53857421875
],
"size": [
246.9031982421875,
82
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 228
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
150
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GrowMask"
},
"widgets_values": [
2,
true
]
},
{
"id": 75,
"type": "MaskToImage",
"pos": [
-2115.722412109375,
-368.9703674316406
],
"size": [
233.39779663085938,
26.861953735351562
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 178
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
179
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 74,
"type": "GetImageSize+",
"pos": [
-2087.13623046875,
-484.32501220703125
],
"size": [
214.20001220703125,
66
],
"flags": {
"collapsed": true
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 175
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
176,
182
],
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"links": [
177,
183
],
"slot_index": 1
},
{
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize+"
},
"widgets_values": []
},
{
"id": 73,
"type": "SolidMask",
"pos": [
-2123.144287109375,
-494.0954284667969
],
"size": [
241.42361450195312,
78
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 176,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 177,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
178
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SolidMask"
},
"widgets_values": [
1,
512,
512
]
},
{
"id": 49,
"type": "ImageConcanate",
"pos": [
-2131.0986328125,
-654.3838500976562
],
"size": [
248.62716674804688,
102
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 185
},
{
"name": "image2",
"type": "IMAGE",
"link": 227
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
152,
162
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageConcanate"
},
"widgets_values": [
"right",
true
]
},
{
"id": 60,
"type": "Mask Fill Holes",
"pos": [
-1841.080078125,
-755.823974609375
],
"size": [
210,
26
],
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "masks",
"type": "MASK",
"link": 150
}
],
"outputs": [
{
"name": "MASKS",
"type": "MASK",
"links": [
151
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Mask Fill Holes"
},
"widgets_values": []
},
{
"id": 62,
"type": "GetImageSize+",
"pos": [
-1844.063720703125,
-629.7202758789062
],
"size": [
214.20001220703125,
66
],
"flags": {
"collapsed": true
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 152
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
153,
169,
241
],
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"links": [
154,
170
],
"slot_index": 1
},
{
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize+"
},
"widgets_values": []
},
{
"id": 63,
"type": "EmptyImage",
"pos": [
-1852.3287353515625,
-662.1111450195312
],
"size": [
261.5569152832031,
123.96615600585938
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 153,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 154,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
155
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
512,
512,
1,
0
]
},
{
"id": 61,
"type": "MaskToImage",
"pos": [
-1852.3040771484375,
-773.8860473632812
],
"size": [
264.5999755859375,
26
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 151
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
156
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 109,
"type": "SimpleMath+",
"pos": [
-1825.7039794921875,
-491.8083190917969
],
"size": [
217.59568786621094,
78
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 241,
"shape": 7
},
{
"name": "b",
"type": "INT,FLOAT",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
242,
243
],
"slot_index": 0
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a/2"
]
},
{
"id": 64,
"type": "ImageCompositeMasked",
"pos": [
-1553.877685546875,
-771.36962890625
],
"size": [
315,
146
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 155
},
{
"name": "source",
"type": "IMAGE",
"link": 156
},
{
"name": "mask",
"type": "MASK",
"link": null,
"shape": 7
},
{
"name": "x",
"type": "INT",
"link": 242,
"widget": {
"name": "x"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
160
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 68,
"type": "ImageToMask",
"pos": [
-1551.947509765625,
-579.6597290039062
],
"size": [
315,
58
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 160
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
161
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 42,
"type": "StyleModelLoader",
"pos": [
-2483.963134765625,
-23.9359130859375
],
"size": [
306.682373046875,
60
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STYLE_MODEL",
"type": "STYLE_MODEL",
"links": [
172
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StyleModelLoader"
},
"widgets_values": [
"flux1-redux-dev.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 38,
"type": "CLIPVisionLoader",
"pos": [
-2144.714111328125,
-23.52039337158203
],
"size": [
305.30816650390625,
58
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
117
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"sigclip_vision_patch14_384.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 55,
"type": "UNETLoader",
"pos": [
-2481.41455078125,
75.09271240234375
],
"size": [
306.38018798828125,
82
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
232
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-fill-dev.safetensors",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-2480.760009765625,
201.3509521484375
],
"size": [
303.196533203125,
58.70587921142578
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
146
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
-2141.210205078125,
84.31764221191406
],
"size": [
299.4842529296875,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
235
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 97,
"type": "SaveImage",
"pos": [
-932.718017578125,
-1207.9002685546875
],
"size": [
941.7351684570312,
1011.4095458984375
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 216
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"%date:yyyy-MM-dd%/TryOn"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 99,
"type": "Image Comparer (rgthree)",
"pos": [
52.4533576965332,
-1081.86767578125
],
"size": [
1408.967529296875,
1581.227783203125
],
"flags": {},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 219,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 218,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_mlbnu_00025_.png&type=temp&subfolder=&rand=0.7398491719607028"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_mlbnu_00026_.png&type=temp&subfolder=&rand=0.2384491683837866"
}
]
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 57,
"type": "InpaintModelConditioning",
"pos": [
-681.1238403320312,
-67.26879119873047
],
"size": [
315,
138
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 143
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 145
},
{
"name": "vae",
"type": "VAE",
"link": 146
},
{
"name": "pixels",
"type": "IMAGE",
"link": 162
},
{
"name": "mask",
"type": "MASK",
"link": 161
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
139
],
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
140
],
"slot_index": 1
},
{
"name": "latent",
"type": "LATENT",
"links": [
141
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "InpaintModelConditioning"
},
"widgets_values": [
true
]
},
{
"id": 69,
"type": "ImageCrop+",
"pos": [
-675.7874145507812,
119.07998657226562
],
"size": [
315,
194
],
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 163
},
{
"name": "width",
"type": "INT",
"link": 169,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 170,
"widget": {
"name": "height"
}
},
{
"name": "x_offset",
"type": "INT",
"link": 243,
"widget": {
"name": "x_offset"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
216,
218
],
"slot_index": 0
},
{
"name": "x",
"type": "INT",
"links": null
},
{
"name": "y",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageCrop+"
},
"widgets_values": [
256,
256,
"top-left",
0,
0
]
},
{
"id": 54,
"type": "KSampler",
"pos": [
-338.1947326660156,
-68.30671691894531
],
"size": [
315,
262
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 138
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 139
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 140
},
{
"name": "latent_image",
"type": "LATENT",
"link": 141
},
{
"name": "steps",
"type": "INT",
"link": 237,
"widget": {
"name": "steps"
}
},
{
"name": "seed",
"type": "INT",
"link": 238,
"widget": {
"name": "seed"
}
},
{
"name": "sampler_name",
"type": "COMBO",
"link": 239,
"widget": {
"name": "sampler_name"
}
},
{
"name": "scheduler",
"type": "COMBO",
"link": 240,
"widget": {
"name": "scheduler"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
147
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
612593047352726,
"randomize",
31,
1,
"euler",
"beta",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
-295.3216857910156,
242.7046661376953
],
"size": [
210,
46
],
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 147
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
163
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 114,
"type": "MarkdownNote",
"pos": [
-2373.70556640625,
-1187.2247314453125
],
"size": [
986.7086791992188,
299.7860412597656
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# TENOFAS' Try-on workflow\nThis workflow allows you to transfer a specific cloth/garment to another image in a way that the final output image will show the subject of the second image wearing that specific cloth/garment.\n\n## 1. Upload the images\nFirst thing to do is to upload the \"Model image\" with the subject that you want to dress-up and the \"Cloth/garment to be trasfered\", containing the image of the piece of cloth you want to use. This image can contain only the cloth/garment or it could show someone wearing that cloth/garment.\n\n## 2. Leave the Prompt as it is.\nThe workflow will generate a \"double image\", on the left the garment, on the right the model with the masked area where the garment will be transfered. This is needed for consistency: this way FLUX will generate a single image with the same details in the left area and in the right area. Once the image is generated, it will be split, and only the model image, with the new clothing, will be saved. Leave Flux Guidance to 30.0 too.\n\n## 3. FLUX Settings\nYou can choose the numnber of steps, the seed (fixed or random), sampler and scheduler, and you can add LoRAs' too (green nodes). JUst remember that the generation will be focused ONLY on the masked area!"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 45,
"type": "LoadImage",
"pos": [
-3128.85205078125,
-275.45452880859375
],
"size": [
558.8815307617188,
588.358642578125
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
230
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"slot_index": 1
}
],
"title": "Cloth/garment to be transfered",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"palm-angels-t-shirt-bear-in-mind-cropped_25370000_57339446_800.webp",
"image"
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
12,
10,
0,
8,
1,
"VAE"
],
[
117,
38,
0,
39,
0,
"CLIP_VISION"
],
[
120,
39,
0,
41,
2,
"CLIP_VISION_OUTPUT"
],
[
122,
26,
0,
41,
0,
"CONDITIONING"
],
[
126,
47,
0,
46,
1,
"BIREFNET_MODEL"
],
[
132,
51,
0,
46,
0,
"IMAGE"
],
[
138,
56,
0,
54,
0,
"MODEL"
],
[
139,
57,
0,
54,
1,
"CONDITIONING"
],
[
140,
57,
1,
54,
2,
"CONDITIONING"
],
[
141,
57,
2,
54,
3,
"LATENT"
],
[
143,
41,
0,
57,
0,
"CONDITIONING"
],
[
144,
41,
0,
58,
0,
"CONDITIONING"
],
[
145,
58,
0,
57,
1,
"CONDITIONING"
],
[
146,
10,
0,
57,
2,
"VAE"
],
[
147,
54,
0,
8,
0,
"LATENT"
],
[
150,
59,
0,
60,
0,
"MASK"
],
[
151,
60,
0,
61,
0,
"MASK"
],
[
152,
49,
0,
62,
0,
"IMAGE"
],
[
153,
62,
0,
63,
0,
"INT"
],
[
154,
62,
1,
63,
1,
"INT"
],
[
155,
63,
0,
64,
0,
"IMAGE"
],
[
156,
61,
0,
64,
1,
"IMAGE"
],
[
160,
64,
0,
68,
0,
"IMAGE"
],
[
161,
68,
0,
57,
4,
"MASK"
],
[
162,
49,
0,
57,
3,
"IMAGE"
],
[
163,
8,
0,
69,
0,
"IMAGE"
],
[
169,
62,
0,
69,
1,
"INT"
],
[
170,
62,
1,
69,
2,
"INT"
],
[
172,
42,
0,
41,
1,
"STYLE_MODEL"
],
[
175,
46,
0,
74,
0,
"IMAGE"
],
[
176,
74,
0,
73,
0,
"INT"
],
[
177,
74,
1,
73,
1,
"INT"
],
[
178,
73,
0,
75,
0,
"MASK"
],
[
179,
75,
0,
76,
0,
"IMAGE"
],
[
180,
46,
0,
76,
1,
"IMAGE"
],
[
181,
76,
0,
39,
1,
"IMAGE"
],
[
182,
74,
0,
76,
3,
"INT"
],
[
183,
74,
1,
76,
4,
"INT"
],
[
185,
51,
0,
49,
0,
"IMAGE"
],
[
216,
69,
0,
97,
0,
"IMAGE"
],
[
218,
69,
0,
99,
1,
"IMAGE"
],
[
219,
95,
0,
99,
0,
"IMAGE"
],
[
227,
95,
0,
49,
1,
"IMAGE"
],
[
228,
95,
1,
59,
0,
"MASK"
],
[
230,
45,
0,
51,
0,
"IMAGE"
],
[
232,
55,
0,
102,
0,
"MODEL"
],
[
233,
102,
0,
56,
0,
"MODEL"
],
[
234,
6,
0,
26,
0,
"CONDITIONING"
],
[
235,
11,
0,
102,
1,
"CLIP"
],
[
236,
102,
1,
6,
0,
"CLIP"
],
[
237,
104,
0,
54,
4,
"INT"
],
[
238,
105,
0,
54,
5,
"INT"
],
[
239,
106,
0,
54,
6,
"COMBO"
],
[
240,
108,
0,
54,
7,
"COMBO"
],
[
241,
62,
0,
109,
0,
"INT,FLOAT"
],
[
242,
109,
0,
64,
3,
"INT"
],
[
243,
109,
0,
69,
3,
"INT"
],
[
246,
95,
0,
112,
0,
"IMAGE"
],
[
247,
112,
0,
51,
1,
"INT"
],
[
248,
112,
1,
51,
2,
"INT"
]
],
"groups": [
{
"id": 1,
"title": "MASK Generator",
"bounding": [
-2503.02978515625,
-855.1921997070312,
1284.943115234375,
652.7342529296875
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "FLUX settings and image generation",
"bounding": [
-1760.475830078125,
-161.8750457763672,
1773.8109130859375,
767.65576171875
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Load FLUX model files",
"bounding": [
-2495.48876953125,
-98.80638122558594,
675.9940795898438,
377.4039306640625
],
"color": "#88A",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.7203390053643542,
"offset": [
3381.596967263404,
1254.6297871382935
]
},
"groupNodes": {},
"node_versions": {
"rgthree-comfy": "5d771b8b56a343c24a26e8cea1f0c87c3d58102f",
"comfyui-image-saver": "1.4.0",
"comfy-core": "0.3.12",
"comfyui-crystools": "1.21.0",
"efficiency-nodes-comfyui": "1.0.5",
"comfyui_essentials": "1.1.0",
"ComfyUI_LayerStyle_Advance": "7fdcbce0727a541efcd3ff393a099b3f0fa52d33",
"comfyui-kjnodes": "1.0.5",
"pr-was-node-suite-comfyui-47064894": "1.0.2"
},
"ue_links": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0
},
"version": 0.4
}