{ "id": "ec1f729c-d164-435a-adb9-3a8e8f24a1e3", "revision": 0, "last_node_id": 134, "last_link_id": 222, "nodes": [ { "id": 97, "type": "Reroute", "pos": [ 621.4758911132812, 1410.3482666015625 ], "size": [ 75, 26 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 160 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 157, 158, 191 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 123, "type": "Image Comparer (rgthree)", "pos": [ 2166.79833984375, 1418.202880859375 ], "size": [ 476.6938171386719, 546.7750854492188 ], "flags": {}, "order": 29, "mode": 0, "inputs": [ { "dir": 3, "name": "image_a", "type": "IMAGE", "link": 206 }, { "dir": 3, "name": "image_b", "type": "IMAGE", "link": 208 } ], "outputs": [], "properties": { "cnr_id": "rgthree-comfy", "ver": "b84f39c7c224de765de0b54c55b967329011819d", "comparer_mode": "Slide", "aux_id": "rgthree/rgthree-comfy" }, "widgets_values": [ [ { "name": "A", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_bikvi_00001_.png&type=temp&subfolder=&rand=0.3573763312590408" }, { "name": "B", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_bikvi_00002_.png&type=temp&subfolder=&rand=0.1379430430729296" } ] ] }, { "id": 118, "type": "FaceAnalysisModels", "pos": [ 1311.7503662109375, 2008.2781982421875 ], "size": [ 315, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "ANALYSIS_MODELS", "type": "ANALYSIS_MODELS", "slot_index": 0, "links": [ 196 ] } ], "properties": { "cnr_id": "comfyui_faceanalysis", "ver": "8251fab13bf339eb389b1691153755118fd7a026", "Node name for S&R": "FaceAnalysisModels", "aux_id": "cubiq/ComfyUI_FaceAnalysis" }, "widgets_values": [ "insightface", "CUDA" ] }, { "id": 98, "type": "Reroute", "pos": [ 367.4774475097656, 728.5109252929688 ], "size": [ 75, 26 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 163 } ], "outputs": [ { "name": "", "type": "IMAGE", "slot_index": 0, "links": [ 161, 162, 206 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 126, "type": "Note", "pos": [ -596.5314331054688, 188.32418823242188 ], "size": [ 230.86343383789062, 88 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "The target image to face enhance" ], "color": "#432", "bgcolor": "#653" }, { "id": 125, "type": "Note", "pos": [ -593.9556884765625, 772.0499877929688 ], "size": [ 230.86343383789062, 88 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "The reference face image" ], "color": "#432", "bgcolor": "#653" }, { "id": 127, "type": "Note", "pos": [ -538.2857666015625, 1239.5035400390625 ], "size": [ 230.86343383789062, 88 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Positive/negative prompts are optional" ], "color": "#432", "bgcolor": "#653" }, { "id": 124, "type": "Reroute", "pos": [ 2035.27978515625, 1079.953125 ], "size": [ 75, 26 ], "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 207 } ], "outputs": [ { "name": "", "type": "IMAGE", "slot_index": 0, "links": [ 208, 210, 211 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 122, "type": "BasicGuider", "pos": [ 1313.324462890625, 981.9154052734375 ], "size": [ 241.79998779296875, 46 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 217 }, { "name": "conditioning", "type": "CONDITIONING", "link": 203 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "slot_index": 0, "links": [ 202 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "BasicGuider" }, "widgets_values": [] }, { "id": 42, "type": "CLIPTextEncode", "pos": [ 224.627685546875, 1002.7890014648438 ], "size": [ 400, 200 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 172 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 87 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ] }, { "id": 37, "type": "ControlNetApplyAdvanced", "pos": [ 837.775634765625, 1001.7030029296875 ], "size": [ 315, 186 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 87 }, { "name": "negative", "type": "CONDITIONING", "link": 88 }, { "name": "control_net", "type": "CONTROL_NET", "link": 89 }, { "name": "image", "type": "IMAGE", "link": 162 }, { "name": "vae", "shape": 7, "type": "VAE", "link": 157 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "slot_index": 0, "links": [ 203 ] }, { "name": "negative", "type": "CONDITIONING", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "ControlNetApplyAdvanced" }, "widgets_values": [ 1, 0.1, 0.8 ] }, { "id": 35, "type": "VAEEncode", "pos": [ 1320.22705078125, 888.8261108398438 ], "size": [ 210, 46 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 161 }, { "name": "vae", "type": "VAE", "link": 158 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 72 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "VAEEncode" }, "widgets_values": [] }, { "id": 23, "type": "CLIPTextEncode", "pos": [ 228.5153350830078, 1266.098388671875 ], "size": [ 400, 200 ], "flags": { "collapsed": true }, "order": 19, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 173 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 88 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ] }, { "id": 128, "type": "SaveImage", "pos": [ 2184.40869140625, 882.2232666015625 ], "size": [ 440.4703063964844, 463.7738952636719 ], "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 211 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "SaveImage" }, "widgets_values": [ "FaceEnhanced", "" ] }, { "id": 121, "type": "Display Any (rgthree)", "pos": [ 2242.676513671875, 2028.4595947265625 ], "size": [ 264.5999755859375, 88 ], "flags": {}, "order": 33, "mode": 0, "inputs": [ { "dir": 3, "name": "source", "type": "*", "link": 201 } ], "outputs": [], "properties": { "cnr_id": "rgthree-comfy", "ver": "b84f39c7c224de765de0b54c55b967329011819d", "Node name for S&R": "Display Any (rgthree)", "aux_id": "rgthree/rgthree-comfy" }, "widgets_values": [ "" ] }, { "id": 129, "type": "SaveImage", "pos": [ 2185.483154296875, 2173.050537109375 ], "size": [ 440.4703063964844, 463.7738952636719 ], "flags": {}, "order": 32, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 212 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "SaveImage" }, "widgets_values": [ "FaceEmbedDist", "" ] }, { "id": 1, "type": "SamplerCustomAdvanced", "pos": [ 1767.5123291015625, 874.9805908203125 ], "size": [ 355.20001220703125, 106 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 68 }, { "name": "guider", "type": "GUIDER", "link": 202 }, { "name": "sampler", "type": "SAMPLER", "link": 70 }, { "name": "sigmas", "type": "SIGMAS", "link": 214 }, { "name": "latent_image", "type": "LATENT", "link": 72 } ], "outputs": [ { "name": "output", "type": "LATENT", "slot_index": 0, "links": [ 190 ] }, { "name": "denoised_output", "type": "LATENT", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "SamplerCustomAdvanced" }, "widgets_values": [] }, { "id": 114, "type": "VAEDecode", "pos": [ 1771.2335205078125, 1040.572021484375 ], "size": [ 210, 46 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 190 }, { "name": "vae", "type": "VAE", "link": 191 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 207 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 50, "type": "KSamplerSelect", "pos": [ 1312.514404296875, 1212.9171142578125 ], "size": [ 315, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 70 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ] }, { "id": 131, "type": "BasicScheduler", "pos": [ 1313.8270263671875, 1318.2603759765625 ], "size": [ 315, 106 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 216 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "slot_index": 0, "links": [ 214 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "beta", 28, 0.75 ] }, { "id": 39, "type": "RandomNoise", "pos": [ 1311.832763671875, 1088.896728515625 ], "size": [ 315, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 68 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "RandomNoise" }, "widgets_values": [ 1, "fixed" ] }, { "id": 24, "type": "LoadImage", "pos": [ -352.1936340332031, 770.800537109375 ], "size": [ 404.0055236816406, 404.2244567871094 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 176 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "LoadImage" }, "widgets_values": [ "woman_face.jpg", "image", "" ] }, { "id": 40, "type": "LoadImage", "pos": [ -351.87322998046875, 188.0283966064453 ], "size": [ 433.580322265625, 523.640869140625 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 163 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "LoadImage" }, "widgets_values": [ "woman1_gpt_2.png", "image", "" ] }, { "id": 95, "type": "VAELoader", "pos": [ -265.02642822265625, 1410.9061279296875 ], "size": [ 315, 58 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 160 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.safetensors" ] }, { "id": 94, "type": "DualCLIPLoader", "pos": [ -274.0904235839844, 1235.6214599609375 ], "size": [ 315, 130 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 172, 173 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "t5xxl_fp16.safetensors", "clip_l.safetensors", "flux", "default" ] }, { "id": 46, "type": "PulidFluxInsightFaceLoader", "pos": [ -300.94317626953125, 1863.1434326171875 ], "size": [ 365.4000244140625, 58 ], "flags": {}, "order": 10, "mode": 0, "inputs": [], "outputs": [ { "name": "FACEANALYSIS", "type": "FACEANALYSIS", "links": [ 218 ] } ], "properties": { "aux_id": "balazik/ComfyUI-PuLID-Flux", "ver": "a80912fc3435c358607bf4b43a58dbcbebdb09ff", "Node name for S&R": "PulidFluxInsightFaceLoader" }, "widgets_values": [ "CUDA" ] }, { "id": 45, "type": "PulidFluxEvaClipLoader", "pos": [ -294.8002624511719, 1774.585693359375 ], "size": [ 362.79498291015625, 38.76161575317383 ], "flags": {}, "order": 11, "mode": 0, "inputs": [], "outputs": [ { "name": "EVA_CLIP", "type": "EVA_CLIP", "links": [ 219 ] } ], "properties": { "aux_id": "balazik/ComfyUI-PuLID-Flux", "ver": "a80912fc3435c358607bf4b43a58dbcbebdb09ff", "Node name for S&R": "PulidFluxEvaClipLoader" }, "widgets_values": [] }, { "id": 44, "type": "PulidFluxModelLoader", "pos": [ -262.90264892578125, 1662.658447265625 ], "size": [ 315, 58 ], "flags": {}, "order": 12, "mode": 0, "inputs": [], "outputs": [ { "name": "PULIDFLUX", "type": "PULIDFLUX", "links": [ 220 ] } ], "properties": { "aux_id": "balazik/ComfyUI-PuLID-Flux", "ver": "a80912fc3435c358607bf4b43a58dbcbebdb09ff", "Node name for S&R": "PulidFluxModelLoader" }, "widgets_values": [ "pulid_flux_v0.9.1.safetensors" ] }, { "id": 93, "type": "UNETLoader", "pos": [ -265.5894775390625, 1531.7340087890625 ], "size": [ 315, 82 ], "flags": {}, "order": 13, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 221 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux1-dev.safetensors", "default" ] }, { "id": 105, "type": "Reroute", "pos": [ 81.75617980957031, 771.7276611328125 ], "size": [ 75, 26 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 176 } ], "outputs": [ { "name": "", "type": "IMAGE", "slot_index": 0, "links": [ 199, 222 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 41, "type": "SetUnionControlNetType", "pos": [ 200.7367706298828, 1973.8323974609375 ], "size": [ 315, 58 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "control_net", "type": "CONTROL_NET", "link": 94 } ], "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 89 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "SetUnionControlNetType" }, "widgets_values": [ "tile" ] }, { "id": 49, "type": "ControlNetLoader", "pos": [ -299.92938232421875, 1973.3970947265625 ], "size": [ 370.503173828125, 62.10068130493164 ], "flags": {}, "order": 14, "mode": 0, "inputs": [], "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 94 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "Flux_Dev_ControlNet_Union_Pro_ShakkerLabs.safetensors" ] }, { "id": 133, "type": "ApplyPulidFlux", "pos": [ 205.47418212890625, 1556.73681640625 ], "size": [ 315, 346 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 221 }, { "name": "pulid_flux", "type": "PULIDFLUX", "link": 220 }, { "name": "eva_clip", "type": "EVA_CLIP", "link": 219 }, { "name": "face_analysis", "type": "FACEANALYSIS", "link": 218 }, { "name": "image", "type": "IMAGE", "link": 222 }, { "name": "attn_mask", "shape": 7, "type": "MASK", "link": null }, { "name": "prior_image", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 216, 217 ] } ], "properties": { "aux_id": "balazik/ComfyUI-PuLID-Flux", "ver": "a80912fc3435c358607bf4b43a58dbcbebdb09ff", "Node name for S&R": "ApplyPulidFlux" }, "widgets_values": [ 0.7500000000000001, 0.10000000000000002, 1, "mean", 1, 0, 1000, true ] }, { "id": 117, "type": "FaceEmbedDistance", "pos": [ 1792.0877685546875, 2008.6629638671875 ], "size": [ 315, 170 ], "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "analysis_models", "type": "ANALYSIS_MODELS", "link": 196 }, { "name": "reference", "type": "IMAGE", "link": 199 }, { "name": "image", "type": "IMAGE", "link": 210 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 212 ] }, { "name": "distance", "type": "FLOAT", "slot_index": 1, "links": [ 201 ] } ], "properties": { "cnr_id": "comfyui_faceanalysis", "ver": "8251fab13bf339eb389b1691153755118fd7a026", "Node name for S&R": "FaceEmbedDistance", "aux_id": "cubiq/ComfyUI_FaceAnalysis" }, "widgets_values": [ "cosine", 100, 0, true ] } ], "links": [ [ 68, 39, 0, 1, 0, "NOISE" ], [ 70, 50, 0, 1, 2, "SAMPLER" ], [ 72, 35, 0, 1, 4, "LATENT" ], [ 87, 42, 0, 37, 0, "CONDITIONING" ], [ 88, 23, 0, 37, 1, "CONDITIONING" ], [ 89, 41, 0, 37, 2, "CONTROL_NET" ], [ 94, 49, 0, 41, 0, "CONTROL_NET" ], [ 157, 97, 0, 37, 4, "VAE" ], [ 158, 97, 0, 35, 1, "VAE" ], [ 160, 95, 0, 97, 0, "*" ], [ 161, 98, 0, 35, 0, "IMAGE" ], [ 162, 98, 0, 37, 3, "IMAGE" ], [ 163, 40, 0, 98, 0, "*" ], [ 172, 94, 0, 42, 0, "CLIP" ], [ 173, 94, 0, 23, 0, "CLIP" ], [ 176, 24, 0, 105, 0, "*" ], [ 190, 1, 0, 114, 0, "LATENT" ], [ 191, 97, 0, 114, 1, "VAE" ], [ 196, 118, 0, 117, 0, "ANALYSIS_MODELS" ], [ 199, 105, 0, 117, 1, "IMAGE" ], [ 201, 117, 1, 121, 0, "*" ], [ 202, 122, 0, 1, 1, "GUIDER" ], [ 203, 37, 0, 122, 1, "CONDITIONING" ], [ 206, 98, 0, 123, 0, "IMAGE" ], [ 207, 114, 0, 124, 0, "*" ], [ 208, 124, 0, 123, 1, "IMAGE" ], [ 210, 124, 0, 117, 2, "IMAGE" ], [ 211, 124, 0, 128, 0, "IMAGE" ], [ 212, 117, 0, 129, 0, "IMAGE" ], [ 214, 131, 0, 1, 3, "SIGMAS" ], [ 216, 133, 0, 131, 0, "MODEL" ], [ 217, 133, 0, 122, 0, "MODEL" ], [ 218, 46, 0, 133, 3, "FACEANALYSIS" ], [ 219, 45, 0, 133, 2, "EVA_CLIP" ], [ 220, 44, 0, 133, 1, "PULIDFLUX" ], [ 221, 93, 0, 133, 0, "MODEL" ], [ 222, 105, 0, 133, 4, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7400249944258407, "offset": [ 722.4404733590745, -636.2035262737298 ] }, "node_versions": { "comfy-core": "0.3.26", "ComfyUI-PuLID-Flux-Enhanced": "04e1b52320f1f14383afe18959349703623c5b88", "rgthree-comfy": "1.0.0", "comfyui_faceanalysis": "4919e4e931db0edb219ba5086b3c10b8af750631" }, "ue_links": [] }, "version": 0.4 }