{ "last_node_id": 225, "last_link_id": 333, "nodes": [ { "id": 39, "type": "Reroute", "pos": [ 110, 474.09573998280234 ], "size": [ 75, 26 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 65 } ], "outputs": [ { "name": "", "type": "VAE", "links": [ 130 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 41, "type": "Reroute", "pos": [ 110, 466.09573998280246 ], "size": [ 75, 26 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 234 } ], "outputs": [ { "name": "", "type": "LATENT", "links": [ 224 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 40, "type": "Reroute", "pos": [ 274.07408706902226, 491.0957399828021 ], "size": [ 75, 26 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 130, "slot_index": 0 } ], "outputs": [ { "name": "", "type": "VAE", "links": [], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 38, "type": "Reroute", "pos": [ 257.0740870690228, 324.0957399828027 ], "size": [ 75, 26 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 61 } ], "outputs": [ { "name": "", "type": "MODEL", "links": [ 207 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 73, "type": "Reroute", "pos": [ 260.0740870690228, 371.09573998280234 ], "size": [ 75, 26 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 129 } ], "outputs": [ { "name": "", "type": "CLIP", "links": [ 127, 128 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 65, "type": "CLIPTextEncodeSDXL", "pos": [ 0, 172 ], "size": { "0": 212.1192169189453, "1": 240.16322326660156 }, "flags": { "collapsed": false }, "order": 23, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 284 }, { "name": "text_g", "type": "STRING", "link": 331, "widget": { "name": "text_g" } }, { "name": "text_l", "type": "STRING", "link": 332, "widget": { "name": "text_l" }, "slot_index": 2 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 200 ], "shape": 3, "slot_index": 0 } ], "title": "CLIPTextEncodeSDXL NEG", "properties": { "Node name for S&R": "CLIPTextEncodeSDXL" }, "widgets_values": [ 4096, 4096, 0, 0, 4096, 4096, "text, watermark", "text, watermark" ] }, { "id": 50, "type": "CLIPTextEncodeSDXL", "pos": [ -229, 172 ], "size": { "0": 210, "1": 241.0738983154297 }, "flags": { "collapsed": false }, "order": 19, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 283 }, { "name": "text_g", "type": "STRING", "link": 323, "widget": { "name": "text_g" }, "slot_index": 1 }, { "name": "text_l", "type": "STRING", "link": 324, "widget": { "name": "text_l" }, "slot_index": 2 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 199 ], "shape": 3, "slot_index": 0 } ], "title": "CLIPTextEncodeSDXL POS", "properties": { "Node name for S&R": "CLIPTextEncodeSDXL" }, "widgets_values": [ 4096, 4096, 0, 0, 4096, 4096, "xxx ", "xxx " ] }, { "id": 139, "type": "KSamplerAdvanced", "pos": [ -558, 468 ], "size": { "0": 318.23089599609375, "1": 316.8831481933594 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 281 }, { "name": "positive", "type": "CONDITIONING", "link": 199 }, { "name": "negative", "type": "CONDITIONING", "link": 200 }, { "name": "latent_image", "type": "LATENT", "link": 279 }, { "name": "steps", "type": "INT", "link": 225, "widget": { "name": "steps" } }, { "name": "end_at_step", "type": "INT", "link": 228, "widget": { "name": "end_at_step" } }, { "name": "noise_seed", "type": "INT", "link": 235, "widget": { "name": "noise_seed" }, "slot_index": 6 }, { "name": "cfg", "type": "FLOAT", "link": 237, "widget": { "name": "cfg" }, "slot_index": 7 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 234 ], "shape": 3, "slot_index": 0 } ], "title": "KSampler BASE (Advanced)", "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 186488958305883, "fixed", 30, 8, "dpmpp_2m", "karras", 0, 24, "enable" ], "color": "#223", "bgcolor": "#335" }, { "id": 160, "type": "PrimitiveNode", "pos": [ -794.9259129309752, 569.0957399828028 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 237 ], "widget": { "name": "cfg" } } ], "title": "CFG Scale", "properties": {}, "widgets_values": [ 8, "fixed" ], "color": "#323", "bgcolor": "#535" }, { "id": 71, "type": "CLIPTextEncodeSDXLRefiner", "pos": [ 110, 630 ], "size": { "0": 266.3204040527344, "1": 152.06405639648438 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 128 }, { "name": "text", "type": "STRING", "link": 333, "widget": { "name": "text" }, "slot_index": 1 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 209 ], "shape": 3, "slot_index": 0 } ], "title": "CLIPTextEncodeSDXLRefiner NEG", "properties": { "Node name for S&R": "CLIPTextEncodeSDXLRefiner" }, "widgets_values": [ 2.5, 4096, 4096, "text, watermark" ] }, { "id": 5, "type": "EmptyLatentImage", "pos": [ -794.9259129309752, 422 ], "size": { "0": 210, "1": 106 }, "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 279 ], "slot_index": 0 } ], "title": "Image and batch size", "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 1024, 1024, 1 ], "color": "#323", "bgcolor": "#535" }, { "id": 211, "type": "VAELoader", "pos": [ -212, -50 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 303 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdxl_vae.safetensors" ] }, { "id": 142, "type": "KSamplerAdvanced", "pos": [ -230, 464.09161376953125 ], "size": { "0": 323.92498779296875, "1": 317.9724426269531 }, "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 207 }, { "name": "positive", "type": "CONDITIONING", "link": 208 }, { "name": "negative", "type": "CONDITIONING", "link": 209 }, { "name": "latent_image", "type": "LATENT", "link": 224 }, { "name": "steps", "type": "INT", "link": 226, "widget": { "name": "steps" } }, { "name": "start_at_step", "type": "INT", "link": 229, "widget": { "name": "start_at_step" } }, { "name": "noise_seed", "type": "INT", "link": 236, "widget": { "name": "noise_seed" } } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 217 ], "shape": 3, "slot_index": 0 } ], "title": "KSampler REFINER (Advanced)", "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 186488958305883, "fixed", 30, 8, "dpmpp_2m", "karras", 24, 1000, "disable" ], "color": "#223", "bgcolor": "#335" }, { "id": 152, "type": "PrimitiveNode", "pos": [ -795, 297 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 225, 226 ], "slot_index": 0, "widget": { "name": "steps" } } ], "title": "Total Steps (Base + Ref.)", "properties": {}, "widgets_values": [ 30, "fixed" ], "color": "#233", "bgcolor": "#355" }, { "id": 155, "type": "PrimitiveNode", "pos": [ -795, 172 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 228, 229 ], "slot_index": 0, "widget": { "name": "end_at_step" } } ], "title": "Steps On Base Model", "properties": {}, "widgets_values": [ 24, "fixed" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 159, "type": "PrimitiveNode", "pos": [ -794.9259129309752, 700.0640563964844 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 5, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 235, 236 ], "widget": { "name": "noise_seed" }, "slot_index": 0 } ], "title": "Seed", "properties": {}, "widgets_values": [ 186488958305883, "randomize" ], "color": "#432", "bgcolor": "#653" }, { "id": 70, "type": "CLIPTextEncodeSDXLRefiner", "pos": [ 104, 458 ], "size": { "0": 272.86651611328125, "1": 126 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 127 }, { "name": "text", "type": "STRING", "link": 325, "widget": { "name": "text" }, "slot_index": 1 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 208 ], "shape": 3, "slot_index": 0 } ], "title": "CLIPTextEncodeSDXLRefiner POS", "properties": { "Node name for S&R": "CLIPTextEncodeSDXLRefiner" }, "widgets_values": [ 6, 4096, 4096, "xxx " ] }, { "id": 146, "type": "VAEDecode", "pos": [ 206, 31 ], "size": { "0": 148.75479125976562, "1": 102.28533172607422 }, "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 217 }, { "name": "vae", "type": "VAE", "link": 303 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 286 ], "shape": 3, "slot_index": 0 } ], "title": "VAE Dec. Final", "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 200, "type": "Note", "pos": [ -1080, 437 ], "size": { "0": 260, "1": 210 }, "flags": {}, "order": 6, "mode": 0, "title": "Note - Empty Latent Image", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained values listed below:\n - 1024 x 1024\n - 1152 x 896\n - 896 x 1152\n - 1216 x 832\n - 832 x 1216\n - 1344 x 768\n - 768 x 1344\n - 1536 x 640\n - 640 x 1536" ], "color": "#323", "bgcolor": "#535" }, { "id": 199, "type": "SaveImage", "pos": [ 404, 202 ], "size": { "0": 565.774658203125, "1": 596.3757934570312 }, "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 286 }, { "name": "filename_prefix", "type": "STRING", "link": 319, "widget": { "name": "filename_prefix" } } ], "properties": {}, "widgets_values": [ "%date:yyyy-M-d%/ComfyUI" ], "color": "#222", "bgcolor": "#000" }, { "id": 11, "type": "CheckpointLoaderSimple", "pos": [ -570, 320 ], "size": { "0": 320, "1": 100 }, "flags": { "collapsed": false }, "order": 7, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 61 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 129 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 65 ], "shape": 3, "slot_index": 2 } ], "title": "Load Checkpoint (refiner)", "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0.safetensors" ], "color": "#432", "bgcolor": "#653" }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ -570, 175 ], "size": { "0": 320.0830383300781, "1": 101.19705200195312 }, "flags": {}, "order": 8, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 281 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 283, 284 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "slot_index": 2 } ], "title": "Load Checkpoint (base)", "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0.safetensors" ], "color": "#432", "bgcolor": "#653" }, { "id": 220, "type": "PrimitiveNode", "pos": [ 631, -216 ], "size": { "0": 210, "1": 58 }, "flags": {}, "order": 9, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 318, 319 ], "widget": { "name": "filename_prefix" }, "slot_index": 0 } ], "title": "Filename", "properties": {}, "widgets_values": [ "%date:yyyy-M-d%/ComfyUI" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 219, "type": "SavePromptToFile", "pos": [ 164, -219 ], "size": { "0": 216.3093719482422, "1": 166 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "filename_prefix", "type": "STRING", "link": 318, "widget": { "name": "filename_prefix" }, "slot_index": 0 }, { "name": "positive_prompt", "type": "STRING", "link": 320, "widget": { "name": "positive_prompt" } }, { "name": "negative_prompt", "type": "STRING", "link": 330, "widget": { "name": "negative_prompt" } } ], "properties": { "Node name for S&R": "SavePromptToFile" }, "widgets_values": [ "%date:yyyy-M-d%/ComfyUI", "", "text, watermark", "", "" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 221, "type": "Note", "pos": [ -1129, -566 ], "size": { "0": 210, "1": 58 }, "flags": {}, "order": 10, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Originally made by blitzk241\nThank you!" ], "color": "#432", "bgcolor": "#653" }, { "id": 215, "type": "PrimitiveNode", "pos": [ -1131, -461 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": false }, "order": 11, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 326 ], "slot_index": 0, "widget": { "name": "custom_subject" } } ], "title": "Overwrite Subject", "properties": {}, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 223, "type": "PrimitiveNode", "pos": [ -1137, -351 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": false }, "order": 12, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 327 ], "slot_index": 0, "widget": { "name": "custom_outfit" } } ], "title": "Overwrite Outfit", "properties": {}, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 16, "type": "PrimitiveNode", "pos": [ -1333, -97 ], "size": { "0": 434.15277099609375, "1": 152.36099243164062 }, "flags": {}, "order": 13, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 328 ], "slot_index": 0, "widget": { "name": "text_g" } } ], "title": "Negative Prompt", "properties": {}, "widgets_values": [ "text, watermark" ], "color": "#322", "bgcolor": "#533" }, { "id": 222, "type": "OneButtonPrompt", "pos": [ -785, -470 ], "size": { "0": 315, "1": 370 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "custom_subject", "type": "STRING", "link": 326, "widget": { "name": "custom_subject" } }, { "name": "custom_outfit", "type": "STRING", "link": 327, "widget": { "name": "custom_outfit" } } ], "outputs": [ { "name": "prompt", "type": "STRING", "links": [ 320, 323, 324, 325, 329 ], "shape": 3, "slot_index": 0 }, { "name": "prompt_g", "type": "STRING", "links": null, "shape": 3 }, { "name": "prompt_l", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "OneButtonPrompt" }, "widgets_values": [ 5, "all", "all", 20, "all", "", "", "all", "all", "all", "all", false, 0, "randomize" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 225, "type": "AutoNegativePrompt", "pos": [ -794, -55 ], "size": [ 319.0404052734375, 162 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "postive_prompt", "type": "STRING", "link": 329, "widget": { "name": "postive_prompt" } }, { "name": "base_negative", "type": "STRING", "link": 328, "widget": { "name": "base_negative" } } ], "outputs": [ { "name": "negative_prompt", "type": "STRING", "links": [ 330, 331, 332, 333 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "AutoNegativePrompt" }, "widgets_values": [ "", "text, watermark", 0, 0, 0, "randomize" ], "color": "#322", "bgcolor": "#533" } ], "links": [ [ 61, 11, 0, 38, 0, "*" ], [ 65, 11, 2, 39, 0, "*" ], [ 127, 73, 0, 70, 0, "CLIP" ], [ 128, 73, 0, 71, 0, "CLIP" ], [ 129, 11, 1, 73, 0, "*" ], [ 130, 39, 0, 40, 0, "*" ], [ 199, 50, 0, 139, 1, "CONDITIONING" ], [ 200, 65, 0, 139, 2, "CONDITIONING" ], [ 207, 38, 0, 142, 0, "MODEL" ], [ 208, 70, 0, 142, 1, "CONDITIONING" ], [ 209, 71, 0, 142, 2, "CONDITIONING" ], [ 217, 142, 0, 146, 0, "LATENT" ], [ 224, 41, 0, 142, 3, "LATENT" ], [ 225, 152, 0, 139, 4, "INT" ], [ 226, 152, 0, 142, 4, "INT" ], [ 228, 155, 0, 139, 5, "INT" ], [ 229, 155, 0, 142, 5, "INT" ], [ 234, 139, 0, 41, 0, "*" ], [ 235, 159, 0, 139, 6, "INT" ], [ 236, 159, 0, 142, 6, "INT" ], [ 237, 160, 0, 139, 7, "FLOAT" ], [ 279, 5, 0, 139, 3, "LATENT" ], [ 281, 4, 0, 139, 0, "MODEL" ], [ 283, 4, 1, 50, 0, "CLIP" ], [ 284, 4, 1, 65, 0, "CLIP" ], [ 286, 146, 0, 199, 0, "IMAGE" ], [ 303, 211, 0, 146, 1, "VAE" ], [ 318, 220, 0, 219, 0, "STRING" ], [ 319, 220, 0, 199, 1, "STRING" ], [ 320, 222, 0, 219, 1, "STRING" ], [ 323, 222, 0, 50, 1, "STRING" ], [ 324, 222, 0, 50, 2, "STRING" ], [ 325, 222, 0, 70, 1, "STRING" ], [ 326, 215, 0, 222, 0, "STRING" ], [ 327, 223, 0, 222, 1, "STRING" ], [ 328, 16, 0, 225, 1, "STRING" ], [ 329, 222, 0, 225, 0, "STRING" ], [ 330, 225, 0, 219, 2, "STRING" ], [ 331, 225, 0, 65, 1, "STRING" ], [ 332, 225, 0, 65, 2, "STRING" ], [ 333, 225, 0, 71, 1, "STRING" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }