{ "id": "41469b2d-d616-479d-879a-95cdc6074a37", "revision": 0, "last_node_id": 11, "last_link_id": 9, "nodes": [ { "id": 1, "type": "ResolutionCalculator", "pos": [ -30, 210 ], "size": [ 315, 126 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "image", "shape": 7, "type": "IMAGE", "link": 5 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": null } ], "outputs": [ { "name": "width", "type": "INT", "slot_index": 0, "links": [ 6 ] }, { "name": "height", "type": "INT", "slot_index": 1, "links": [ 7 ] } ], "properties": { "cnr_id": "kikotools", "ver": "965ad60c74d7f25b1acce890d9c06518e46e6d0b", "Node name for S&R": "ResolutionCalculator", "aux_id": "ComfyAssets/ComfyUI-KikoTools", "widget_ue_connectable": {} }, "widgets_values": [ 2.5 ] }, { "id": 6, "type": "LoadImage", "pos": [ -340, 210 ], "size": [ 274.080078125, 314 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 5 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.40", "Node name for S&R": "LoadImage", "widget_ue_connectable": {} }, "widgets_values": [ "image-2025-06-13-105737.jpg", "image" ] }, { "id": 7, "type": "MarkdownNote", "pos": [ -350, 610 ], "size": [ 410, 200 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Resolution Calculator Example\n\nThis node calculates upscaled dimensions from:\n- IMAGE tensors (connect from image loaders)\n- LATENT tensors (connect from VAE encode/generation)\n\nUse cases:\n- Calculate target dimensions for upscalers\n- Plan memory usage for large generations\n- Ensure dimensions are divisible by 8\n\nScale factors optimized for SDXL and FLUX models." ], "color": "#432", "bgcolor": "#653" }, { "id": 8, "type": "DisplayAny", "pos": [ 330, 160 ], "size": [ 270, 58 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 6 } ], "outputs": [ { "name": "display_text", "type": "STRING", "links": [ 8 ] } ], "properties": { "cnr_id": "kikotools", "ver": "271cd020c1b2f78e7ee40c1f08e70191fed00012", "Node name for S&R": "DisplayAny" }, "widgets_values": [ "raw value" ] }, { "id": 9, "type": "DisplayAny", "pos": [ 330, 310 ], "size": [ 270, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 7 } ], "outputs": [ { "name": "display_text", "type": "STRING", "links": [ 9 ] } ], "properties": { "cnr_id": "kikotools", "ver": "271cd020c1b2f78e7ee40c1f08e70191fed00012", "Node name for S&R": "DisplayAny" }, "widgets_values": [ "raw value" ] }, { "id": 10, "type": "DisplayText", "pos": [ 670, 160 ], "size": [ 210, 138 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 8 } ], "outputs": [ { "name": "text", "type": "STRING", "links": null } ], "properties": { "cnr_id": "kikotools", "ver": "271cd020c1b2f78e7ee40c1f08e70191fed00012", "Node name for S&R": "DisplayText" }, "widgets_values": [ null ] }, { "id": 11, "type": "DisplayText", "pos": [ 660, 400 ], "size": [ 210, 138 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 9 } ], "outputs": [ { "name": "text", "type": "STRING", "links": null } ], "properties": { "cnr_id": "kikotools", "ver": "271cd020c1b2f78e7ee40c1f08e70191fed00012", "Node name for S&R": "DisplayText" }, "widgets_values": [ null ] } ], "links": [ [ 5, 6, 0, 1, 0, "IMAGE" ], [ 6, 1, 0, 8, 0, "*" ], [ 7, 1, 1, 9, 0, "*" ], [ 8, 8, 0, 10, 0, "STRING" ], [ 9, 9, 0, 11, 0, "STRING" ] ], "groups": [ { "id": 1, "title": "Resolution Calculator", "bounding": [ -480, 20, 1480, 880 ], "color": "#ffffff", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ue_links": [], "ds": { "scale": 0.45000000000000145, "offset": [ 1248.1498802376432, 256.0155843113725 ] }, "links_added_by_ue": [], "frontendVersion": "1.23.4", "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }