{ "id": "7cbcec68-7fa6-47bb-a38a-da689949a001", "revision": 0, "last_node_id": 216, "last_link_id": 327, "nodes": [ { "id": 135, "type": "ConditioningZeroOut", "pos": [ 616.41015625, 325.72991943359375 ], "size": [ 240, 26 ], "flags": { "collapsed": false }, "order": 14, "mode": 0, "inputs": [ { "label": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 237 } ], "outputs": [ { "label": "条件", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 238 ] } ], "properties": { "Node name for S&R": "ConditioningZeroOut", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 8, "type": "VAEDecode", "pos": [ 655.399658203125, 404.9999694824219 ], "size": [ 190, 46 ], "flags": { "collapsed": false }, "order": 18, "mode": 0, "inputs": [ { "label": "Latent", "name": "samples", "type": "LATENT", "link": 52 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 61 } ], "outputs": [ { "label": "图像", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 300, 312 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.38" }, "widgets_values": [] }, { "id": 204, "type": "LoraLoaderModelOnly", "pos": [ 405.6462707519531, -100.46891784667969 ], "size": [ 315, 82 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 325 } ], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 319 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "kontext\\(转换后)relight-kontext-lora-single-caption_comfy.safetensors", 0.9000000000000001 ] }, { "id": 208, "type": "LoraLoaderModelOnly", "pos": [ 415.6460266113281, -443.46875 ], "size": [ 315, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": null } ], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "kontext\\重新打光.safetensors", 0.9000000000000001 ] }, { "id": 209, "type": "LoraLoaderModelOnly", "pos": [ 412.3813781738281, -573.7056884765625 ], "size": [ 315, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": null } ], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "kontext\\relighting-kontext-dev-lora-v3.safetensors", 0.9000000000000001 ] }, { "id": 207, "type": "CR Text", "pos": [ 398.0239562988281, -285.7630615234375 ], "size": [ 341.4414367675781, 118.01802062988281 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "label": "文本", "name": "text", "type": "*", "links": null }, { "label": "显示帮助", "name": "show_help", "type": "STRING", "links": null } ], "properties": { "Node name for S&R": "CR Text" }, "widgets_values": [ "Change lighting to natural light, casting shadows from blinds", [ false, true ] ] }, { "id": 35, "type": "FluxGuidance", "pos": [ 616.41015625, 215.730224609375 ], "size": [ 240, 58 ], "flags": { "collapsed": false }, "order": 16, "mode": 0, "inputs": [ { "label": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 292 } ], "outputs": [ { "label": "条件", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 57 ] } ], "properties": { "Node name for S&R": "FluxGuidance", "cnr_id": "comfy-core", "ver": "0.3.38" }, "widgets_values": [ 2.5 ] }, { "id": 39, "type": "VAELoader", "pos": [ -168.0098419189453, 198.3800506591797 ], "size": [ 337.76861572265625, 58 ], "flags": { "collapsed": true }, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "label": "VAE", "name": "VAE", "type": "VAE", "links": [ 61, 223 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.38", "models": [ { "name": "ae.safetensors", "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors", "directory": "vae" } ] }, "widgets_values": [ "ae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 192, "type": "Image Comparer (rgthree)", "pos": [ 1265.388427734375, 78.06938171386719 ], "size": [ 507.59716796875, 498.0924072265625 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "label": "图像_A", "name": "image_a", "type": "IMAGE", "link": 300 }, { "label": "图像_B", "name": "image_b", "type": "IMAGE", "link": 301 } ], "outputs": [], "properties": { "comparer_mode": "Slide" }, "widgets_values": [ [ { "name": "A", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_kqcde_00001_.png&type=temp&subfolder=&rand=0.1419729160643145" }, { "name": "B", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_kqcde_00002_.png&type=temp&subfolder=&rand=0.5632097005633505" } ] ] }, { "id": 199, "type": "PreviewImage", "pos": [ 1825.42919921875, 320.27642822265625 ], "size": [ 297.29998779296875, 268 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "label": "图像", "name": "images", "type": "IMAGE", "link": 312 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [ "" ] }, { "id": 203, "type": "FluxKontextImageScale", "pos": [ -185.006591796875, 262.36834716796875 ], "size": [ 187.75448608398438, 26 ], "flags": { "collapsed": false }, "order": 9, "mode": 0, "inputs": [ { "label": "image", "name": "image", "type": "IMAGE", "link": 314 } ], "outputs": [ { "label": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 315 ] } ], "properties": { "Node name for S&R": "FluxKontextImageScale", "cnr_id": "comfy-core", "ver": "0.3.38" }, "widgets_values": [] }, { "id": 124, "type": "VAEEncode", "pos": [ 75.31471252441406, 229.1245574951172 ], "size": [ 240, 50 ], "flags": { "collapsed": false }, "order": 12, "mode": 0, "inputs": [ { "label": "图像", "name": "pixels", "type": "IMAGE", "link": 315 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 223 } ], "outputs": [ { "label": "Latent", "name": "LATENT", "type": "LATENT", "links": [ 291, 293 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 177, "type": "ReferenceLatent", "pos": [ 376.4099426269531, 265.730224609375 ], "size": [ 197.712890625, 46 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "label": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 294 }, { "label": "latent", "name": "latent", "shape": 7, "type": "LATENT", "link": 293 } ], "outputs": [ { "label": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 292 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.3.41" }, "widgets_values": [] }, { "id": 31, "type": "KSampler", "pos": [ 902.1796264648438, 90.18960571289062 ], "size": [ 320, 474 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 319 }, { "label": "正面条件", "name": "positive", "type": "CONDITIONING", "link": 57 }, { "label": "负面条件", "name": "negative", "type": "CONDITIONING", "link": 238 }, { "label": "Latent", "name": "latent_image", "type": "LATENT", "link": 291 } ], "outputs": [ { "label": "Latent", "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.38" }, "widgets_values": [ 924354131192854, "randomize", 25, 1, "euler", "simple", 1 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ -137.0599365234375, 387.5196533203125 ], "size": [ 400, 220 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "label": "CLIP", "name": "clip", "type": "CLIP", "link": 327 } ], "outputs": [ { "label": "条件", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 237, 294 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.38" }, "widgets_values": [ "Integrate the items in the picture into the home scene", [ false, true ] ], "color": "#232", "bgcolor": "#353" }, { "id": 190, "type": "LoadImage", "pos": [ -721.40771484375, 270.91326904296875 ], "size": [ 355.4818115234375, 426.7091064453125 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "label": "图像", "name": "IMAGE", "type": "IMAGE", "links": [ 301, 314 ] }, { "label": "遮罩", "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "1 (11).jpg", "image" ] }, { "id": 213, "type": "UNETLoader", "pos": [ -629.57958984375, -109.08092498779297 ], "size": [ 270, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "label": "模型", "name": "MODEL", "type": "MODEL", "links": [ 326 ] } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux1-kontext-dev.safetensors", "default" ] }, { "id": 197, "type": "ApplyFBCacheOnModel", "pos": [ -105.33824157714844, -100.26576232910156 ], "size": [ 315, 82 ], "flags": { "collapsed": false }, "order": 10, "mode": 0, "inputs": [ { "label": "model", "name": "model", "type": "MODEL", "link": 326 } ], "outputs": [ { "label": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 325 ] } ], "properties": { "Node name for S&R": "ApplyFBCacheOnModel" }, "widgets_values": [ "diffusion_model", 0.1 ] }, { "id": 214, "type": "DualCLIPLoader", "pos": [ -622.8922119140625, 39.005245208740234 ], "size": [ 270, 130 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "label": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 327 ] } ], "properties": { "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "umt5_xxl_fp16.safetensors", "clip_l.safetensors", "sdxl", "default" ] }, { "id": 215, "type": "Note", "pos": [ 304.7919006347656, 451.9193115234375 ], "size": [ 238.04295349121094, 88 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Lora tutorial:\nhttps://youtu.be/LTeEPfZ5--8" ], "color": "#432", "bgcolor": "#653" }, { "id": 216, "type": "Note", "pos": [ -79.6296615600586, -284.89886474609375 ], "size": [ 238.04295349121094, 88 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Wave speed acceleration, can be deleted if not installed" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 57, 35, 0, 31, 1, "CONDITIONING" ], [ 61, 39, 0, 8, 1, "VAE" ], [ 223, 39, 0, 124, 1, "VAE" ], [ 237, 6, 0, 135, 0, "CONDITIONING" ], [ 238, 135, 0, 31, 2, "CONDITIONING" ], [ 291, 124, 0, 31, 3, "LATENT" ], [ 292, 177, 0, 35, 0, "CONDITIONING" ], [ 293, 124, 0, 177, 1, "LATENT" ], [ 294, 6, 0, 177, 0, "CONDITIONING" ], [ 300, 8, 0, 192, 0, "IMAGE" ], [ 301, 190, 0, 192, 1, "IMAGE" ], [ 312, 8, 0, 199, 0, "IMAGE" ], [ 314, 190, 0, 203, 0, "IMAGE" ], [ 315, 203, 0, 124, 0, "IMAGE" ], [ 319, 204, 0, 31, 0, "MODEL" ], [ 325, 197, 0, 204, 0, "MODEL" ], [ 326, 213, 0, 197, 0, "MODEL" ], [ 327, 214, 0, 6, 0, "CLIP" ] ], "groups": [ { "id": 7, "title": "Re-Light lora", "bounding": [ 388.0239562988281, -647.3060302734375, 361.4414367675781, 638.8369750976562 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 1.2100000000000002, "offset": [ 729.2509192459447, 674.7843975893741 ] }, "frontendVersion": "1.27.10", "groupNodes": {}, "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }