{ "last_node_id": 32, "last_link_id": 43, "nodes": [ { "id": 1, "type": "CheckpointLoaderSimple", "pos": [ 0, 180 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 27 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 1, 2 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 12 ], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sdxl\\juggernautXL_v9Rdphoto2Lightning.safetensors" ] }, { "id": 2, "type": "CLIPTextEncode", "pos": [ 350, 250 ], "size": [ 310, 75.99998474121094 ], "flags": { "collapsed": false }, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 1 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "a timer" ] }, { "id": 3, "type": "CLIPTextEncode", "pos": [ 350, 370 ], "size": { "0": 410, "1": 320 }, "flags": { "collapsed": true }, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 2 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 14 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ] }, { "id": 9, "type": "KSamplerTimer", "pos": [ 690, 180 ], "size": [ 440, 470 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 27 }, { "name": "positive", "type": "CONDITIONING", "link": 13, "slot_index": 1 }, { "name": "negative", "type": "CONDITIONING", "link": 14, "slot_index": 2 }, { "name": "latent_image", "type": "LATENT", "link": 15, "slot_index": 3 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 16 ], "shape": 3, "slot_index": 0 }, { "name": "GENERATION_TIME_STRING", "type": "STRING", "links": [ 35 ], "shape": 3, "slot_index": 1 }, { "name": "GENERATION_TIME", "type": "FLOAT", "links": [ 25 ], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "KSamplerTimer" }, "widgets_values": [ 794074181015360, "randomize", 4, 1.8, "dpmpp_sde_gpu", "karras", 1 ] }, { "id": 7, "type": "VAEDecode", "pos": [ 1180, 180 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 16 }, { "name": "vae", "type": "VAE", "link": 12 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 29 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 30, "type": "PreviewImage", "pos": [ 2660, 450 ], "size": [ 210, 250 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 41 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 24, "type": "CR Text Replace", "pos": [ 1670, 840 ], "size": [ 400, 220 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 34, "widget": { "name": "text" } }, { "name": "replace1", "type": "STRING", "link": 37, "widget": { "name": "replace1" } }, { "name": "replace2", "type": "STRING", "link": 35, "widget": { "name": "replace2" } }, { "name": "replace3", "type": "STRING", "link": 43, "widget": { "name": "replace3" } } ], "outputs": [ { "name": "STRING", "type": "*", "links": [ 39 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Text Replace" }, "widgets_values": [ "", "@size@", "", "@total@", "", "@avg@", "" ] }, { "id": 20, "type": "MathExpression|pysssss", "pos": [ 1200, 690 ], "size": { "0": 400, "1": 200 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "a", "type": "INT,FLOAT,IMAGE,LATENT", "link": 25 }, { "name": "b", "type": "INT,FLOAT,IMAGE,LATENT", "link": 26 }, { "name": "c", "type": "INT,FLOAT,IMAGE,LATENT", "link": null } ], "outputs": [ { "name": "INT", "type": "INT", "links": [], "shape": 3, "slot_index": 0 }, { "name": "FLOAT", "type": "FLOAT", "links": [ 33 ], "shape": 3, "slot_index": 1 } ], "title": "Avg Gen Time (s)", "properties": { "Node name for S&R": "MathExpression|pysssss" }, "widgets_values": [ "a/b" ] }, { "id": 27, "type": "CR Text", "pos": [ 1200, 440 ], "size": { "0": 400, "1": 200 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "text", "type": "*", "links": [ 34 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Text" }, "widgets_values": [ "Batch of @size@ generated in @total@s (avg.: @avg@s)" ] }, { "id": 6, "type": "EmptyLatentImage", "pos": [ 350, 420 ], "size": [ 320, 110 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "batch_size", "type": "INT", "link": 17, "widget": { "name": "batch_size" } } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 15 ], "shape": 3 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 21, "type": "CR Image Grid Panel", "pos": [ 1440, 180 ], "size": { "0": 315, "1": 198 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 29 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 30 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Image Grid Panel" }, "widgets_values": [ 10, "white", 0, "white", 5, "#000000" ] }, { "id": 22, "type": "ImagePadForOutpaint", "pos": [ 1800, 180 ], "size": { "0": 315, "1": 174 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 30 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 31 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImagePadForOutpaint" }, "widgets_values": [ 0, 80, 0, 0, 0 ] }, { "id": 23, "type": "CR Overlay Text", "pos": [ 2200, 450 ], "size": [ 400, 380 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 31 }, { "name": "text", "type": "STRING", "link": 39, "widget": { "name": "text" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 41 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Overlay Text" }, "widgets_values": [ "text", "Roboto-Regular.ttf", 48, "custom", "top", "left", 0, 0, 5, 5, 0, "text center", "#000000" ] }, { "id": 10, "type": "INTConstant", "pos": [ 120, 700 ], "size": [ 200, 58 ], "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "value", "type": "INT", "links": [ 17, 26, 36 ], "shape": 3, "slot_index": 0 } ], "title": "Batch Size", "properties": { "Node name for S&R": "INTConstant" }, "widgets_values": [ 2 ], "color": "#1b4669", "bgcolor": "#29699c" }, { "id": 26, "type": "CR Float To String", "pos": [ 1230, 920 ], "size": [ 315, 78 ], "flags": { "collapsed": true }, "order": 12, "mode": 0, "inputs": [ { "name": "float_", "type": "FLOAT", "link": 33, "widget": { "name": "float_" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 42 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Float To String" }, "widgets_values": [ 0 ] }, { "id": 29, "type": "CR Integer To String", "pos": [ 1220, 1010 ], "size": [ 315, 78 ], "flags": { "collapsed": true }, "order": 7, "mode": 0, "inputs": [ { "name": "int_", "type": "INT", "link": 36, "widget": { "name": "int_" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 37 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Integer To String" }, "widgets_values": [ 0 ] }, { "id": 32, "type": "Text String Truncate", "pos": [ 1230, 960 ], "size": [ 315, 262 ], "flags": { "collapsed": true }, "order": 14, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 42, "widget": { "name": "text" } }, { "name": "text_b", "type": "STRING", "link": null, "widget": { "name": "text_b" } }, { "name": "text_c", "type": "STRING", "link": null, "widget": { "name": "text_c" } }, { "name": "text_d", "type": "STRING", "link": null, "widget": { "name": "text_d" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 43 ], "shape": 3, "slot_index": 0 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "Text String Truncate" }, "widgets_values": [ "", "characters", "beginning", 5, "", "", "" ] }, { "id": 31, "type": "Note", "pos": [ -10, -110 ], "size": [ 580, 110 ], "flags": {}, "order": 3, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Repository:\nhttps://gitlab.com/lanterieur/comfyui_ksamplertimer\nProfile:\nhttps://civitai.com/user/IndustrialVectors" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 1, 1, 1, 2, 0, "CLIP" ], [ 2, 1, 1, 3, 0, "CLIP" ], [ 12, 1, 2, 7, 1, "VAE" ], [ 13, 2, 0, 9, 1, "CONDITIONING" ], [ 14, 3, 0, 9, 2, "CONDITIONING" ], [ 15, 6, 0, 9, 3, "LATENT" ], [ 16, 9, 0, 7, 0, "LATENT" ], [ 17, 10, 0, 6, 0, "INT" ], [ 25, 9, 2, 20, 0, "INT,FLOAT,IMAGE,LATENT" ], [ 26, 10, 0, 20, 1, "INT,FLOAT,IMAGE,LATENT" ], [ 27, 1, 0, 9, 0, "MODEL" ], [ 29, 7, 0, 21, 0, "IMAGE" ], [ 30, 21, 0, 22, 0, "IMAGE" ], [ 31, 22, 0, 23, 0, "IMAGE" ], [ 33, 20, 1, 26, 0, "FLOAT" ], [ 34, 27, 0, 24, 0, "STRING" ], [ 35, 9, 1, 24, 2, "STRING" ], [ 36, 10, 0, 29, 0, "INT" ], [ 37, 29, 0, 24, 1, "STRING" ], [ 39, 24, 0, 23, 1, "STRING" ], [ 41, 23, 0, 30, 0, "IMAGE" ], [ 42, 26, 0, 32, 0, "STRING" ], [ 43, 32, 0, 24, 3, "STRING" ] ], "groups": [ { "title": "KSampler (timer)", "bounding": [ -16, -874, 1821, 336 ], "color": "#b58b2a", "font_size": 240, "locked": false }, { "title": "by @IndustrialVectors", "bounding": [ -16, -522, 140, 169 ], "color": "#3f789e", "font_size": 120, "locked": false }, { "title": "Generation time overlay", "bounding": [ -16, -334, 1300, 168 ], "color": "#3f789e", "font_size": 120, "locked": false } ], "config": {}, "extra": {}, "version": 0.4 }