{ "id": "8a52fd0c-be3d-403e-8cd5-4c0433887354", "revision": 0, "last_node_id": 23, "last_link_id": 48, "nodes": [ { "id": 2, "type": "DualCLIPLoader", "pos": [ -245.61761474609375, 15.502504348754883 ], "size": [ 315, 130 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 5 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "t5xxl_fp16.safetensors", "clip_l.safetensors", "flux", "default" ] }, { "id": 1, "type": "UNETLoader", "pos": [ -240.9630584716797, -115.98843383789062 ], "size": [ 315, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 17 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux1-kontext-dev.safetensors", "default" ], "color": "#223", "bgcolor": "#335" }, { "id": 3, "type": "VAELoader", "pos": [ -248.8447723388672, 196.257080078125 ], "size": [ 311.81634521484375, 60.429901123046875 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 20, 43 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.safetensors" ] }, { "id": 10, "type": "FluxGuidance", "pos": [ 105.09590911865234, 107.06298065185547 ], "size": [ 316.1900329589844, 60.41999816894531 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 8 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 40, 42 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "FluxGuidance" }, "widgets_values": [ 2.5 ], "color": "#233", "bgcolor": "#355" }, { "id": 5, "type": "FluxKontextImageScale", "pos": [ 119.72850036621094, 34.109222412109375 ], "size": [ 300.28448486328125, 26 ], "flags": { "collapsed": false }, "order": 5, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 44, 47 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "FluxKontextImageScale" }, "widgets_values": [] }, { "id": 22, "type": "Kontext Inpainting Conditioning", "pos": [ 472.4767150878906, -108.21031951904297 ], "size": [ 293.7056579589844, 118 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 42 }, { "name": "vae", "type": "VAE", "link": 43 }, { "name": "pixels", "type": "IMAGE", "link": 44 }, { "name": "mask", "type": "MASK", "link": 45 } ], "outputs": [ { "name": "conditioning", "type": "CONDITIONING", "links": [ 48 ] }, { "name": "latent", "type": "LATENT", "links": [ 46 ] } ], "properties": { "aux_id": "ZenAI-Vietnam/ComfyUI-Kontext-Inpainting", "ver": "b82af8f6b169fd0bb1115f12263861e0d4142f78", "Node name for S&R": "Kontext Inpainting Conditioning" }, "widgets_values": [ true ] }, { "id": 14, "type": "VAEDecode", "pos": [ 495.7565612792969, 80.830322265625 ], "size": [ 210, 46 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 19 }, { "name": "vae", "type": "VAE", "link": 20 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 37 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 23, "type": "PreviewImage", "pos": [ 175.34364318847656, 265.0733947753906 ], "size": [ 319.9173278808594, 411.66864013671875 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 47 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 19, "type": "SaveImage", "pos": [ 518.9135131835938, 269.5692443847656 ], "size": [ 317.5677795410156, 412.2777099609375 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 37 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43" }, "widgets_values": [ "ComfyUI" ] }, { "id": 4, "type": "LoadImage", "pos": [ -235.81552124023438, 309.2546081542969 ], "size": [ 287.6320495605469, 351.7520446777344 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 1 ] }, { "name": "MASK", "type": "MASK", "links": [ 45 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "LoadImage" }, "widgets_values": [ "clipspace/clipspace-mask-694820.1999999993.png [input]", "image" ] }, { "id": 8, "type": "CLIPTextEncode", "pos": [ 117.60894775390625, -114.06146240234375 ], "size": [ 310.3150329589844, 88 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 8 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "make the girl hold the smartphone instead of bread" ], "color": "#232", "bgcolor": "#353" }, { "id": 13, "type": "KSampler", "pos": [ 798.10107421875, -97.01424407958984 ], "size": [ 270, 262 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 17 }, { "name": "positive", "type": "CONDITIONING", "link": 48 }, { "name": "negative", "type": "CONDITIONING", "link": 40 }, { "name": "latent_image", "type": "LATENT", "link": 46 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 19 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "KSampler" }, "widgets_values": [ 897401741031714, "randomize", 28, 1, "euler", "simple", 1 ] } ], "links": [ [ 1, 4, 0, 5, 0, "IMAGE" ], [ 5, 2, 0, 8, 0, "CLIP" ], [ 8, 8, 0, 10, 0, "CONDITIONING" ], [ 17, 1, 0, 13, 0, "MODEL" ], [ 19, 13, 0, 14, 0, "LATENT" ], [ 20, 3, 0, 14, 1, "VAE" ], [ 37, 14, 0, 19, 0, "IMAGE" ], [ 40, 10, 0, 13, 2, "CONDITIONING" ], [ 42, 10, 0, 22, 0, "CONDITIONING" ], [ 43, 3, 0, 22, 1, "VAE" ], [ 44, 5, 0, 22, 2, "IMAGE" ], [ 45, 4, 1, 22, 3, "MASK" ], [ 46, 22, 1, 13, 3, "LATENT" ], [ 47, 5, 0, 23, 0, "IMAGE" ], [ 48, 22, 0, 13, 1, "CONDITIONING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 1.210000000000001, "offset": [ 571.8192277879641, 223.5328851596955 ] }, "frontendVersion": "1.23.4" }, "version": 0.4 }