Files
ComfyUI_UltimateSGUpscale/example_workflows/tiled-upscale-builtin-nodes.json
Ethanfel 01b4800fce fix: resolve overlapping group bounding boxes and add README
Group 4/5 and Group 1/2 bounding boxes overlapped, causing nodes to
appear in multiple groups. Muting the Seam Fix group would have also
muted Pass 1 output nodes. Repositioned GenerateSeamMask node and
adjusted all group boundaries to eliminate overlaps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 16:21:11 +01:00

511 lines
14 KiB
JSON

{
"last_node_id": 23,
"last_link_id": 37,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [50, 200],
"size": [315, 98],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [1, 2]},
{"name": "CLIP", "type": "CLIP", "slot_index": 1, "links": [3, 4]},
{"name": "VAE", "type": "VAE", "slot_index": 2, "links": [5, 6, 7, 8]}
],
"properties": {"Node name for S&R": "CheckpointLoaderSimple"},
"widgets_values": ["v1-5-pruned-emaonly-fp16.safetensors"]
},
{
"id": 2,
"type": "CLIPTextEncode",
"pos": [50, 400],
"size": [400, 150],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{"name": "clip", "type": "CLIP", "link": 3}
],
"outputs": [
{"name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [9, 10]}
],
"properties": {"Node name for S&R": "CLIPTextEncode"},
"widgets_values": ["high quality, detailed, sharp"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [50, 600],
"size": [400, 150],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{"name": "clip", "type": "CLIP", "link": 4}
],
"outputs": [
{"name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [11, 12]}
],
"properties": {"Node name for S&R": "CLIPTextEncode"},
"widgets_values": ["blurry, low quality, artifacts, watermark"],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 4,
"type": "LoadImage",
"pos": [500, 50],
"size": [315, 314],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [13]},
{"name": "MASK", "type": "MASK", "slot_index": 1, "links": []}
],
"properties": {"Node name for S&R": "LoadImage"},
"widgets_values": ["example.png", "image"]
},
{
"id": 5,
"type": "UpscaleModelLoader",
"pos": [500, 400],
"size": [315, 58],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "slot_index": 0, "links": [14]}
],
"properties": {"Node name for S&R": "UpscaleModelLoader"},
"widgets_values": ["4x-UltraSharp.pth"]
},
{
"id": 6,
"type": "ImageUpscaleWithModel",
"pos": [870, 200],
"size": [241, 46],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{"name": "upscale_model", "type": "UPSCALE_MODEL", "link": 14},
{"name": "image", "type": "IMAGE", "link": 13}
],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [15, 16]}
],
"properties": {"Node name for S&R": "ImageUpscaleWithModel"},
"widgets_values": []
},
{
"id": 7,
"type": "GetImageSize",
"pos": [870, 300],
"size": [200, 66],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{"name": "image", "type": "IMAGE", "link": 15}
],
"outputs": [
{"name": "width", "type": "INT", "slot_index": 0, "links": [17, 18, 35]},
{"name": "height", "type": "INT", "slot_index": 1, "links": [19, 20, 36]},
{"name": "batch_size", "type": "INT", "slot_index": 2, "links": []}
],
"properties": {"Node name for S&R": "GetImageSize"},
"widgets_values": []
},
{
"id": 8,
"type": "SplitImageToTileList",
"pos": [1170, 200],
"size": [250, 106],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{"name": "image", "type": "IMAGE", "link": 16}
],
"outputs": [
{"name": "image", "type": "IMAGE", "slot_index": 0, "links": [21]}
],
"properties": {"Node name for S&R": "SplitImageToTileList"},
"widgets_values": [1024, 1024, 128]
},
{
"id": 9,
"type": "VAEEncode",
"pos": [1470, 200],
"size": [170, 46],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{"name": "pixels", "type": "IMAGE", "link": 21},
{"name": "vae", "type": "VAE", "link": 5}
],
"outputs": [
{"name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [22]}
],
"properties": {"Node name for S&R": "VAEEncode"},
"widgets_values": []
},
{
"id": 10,
"type": "KSampler",
"pos": [1470, 300],
"size": [300, 474],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{"name": "model", "type": "MODEL", "link": 1},
{"name": "positive", "type": "CONDITIONING", "link": 9},
{"name": "negative", "type": "CONDITIONING", "link": 11},
{"name": "latent_image", "type": "LATENT", "link": 22}
],
"outputs": [
{"name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [23]}
],
"properties": {"Node name for S&R": "KSampler"},
"widgets_values": [0, "fixed", 20, 7.0, "euler", "normal", 0.35]
},
{
"id": 11,
"type": "VAEDecode",
"pos": [1820, 200],
"size": [170, 46],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{"name": "samples", "type": "LATENT", "link": 23},
{"name": "vae", "type": "VAE", "link": 6}
],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [24]}
],
"properties": {"Node name for S&R": "VAEDecode"},
"widgets_values": []
},
{
"id": 12,
"type": "ImageMergeTileList",
"pos": [2040, 200],
"size": [250, 106],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{"name": "image_list", "type": "IMAGE", "link": 24},
{"name": "final_width", "type": "INT", "link": 17, "widget": {"name": "final_width"}},
{"name": "final_height", "type": "INT", "link": 19, "widget": {"name": "final_height"}}
],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [25, 37]}
],
"properties": {"Node name for S&R": "ImageMergeTileList"},
"widgets_values": [2048, 2048, 128]
},
{
"id": 23,
"type": "PreviewImage",
"pos": [2040, 350],
"size": [300, 300],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{"name": "images", "type": "IMAGE", "link": 37}
],
"outputs": [],
"properties": {"Node name for S&R": "PreviewImage"},
"widgets_values": []
},
{
"id": 13,
"type": "GenerateSeamMask",
"pos": [2370, 650],
"size": [250, 170],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{"name": "image_width", "type": "INT", "link": 18, "widget": {"name": "image_width"}},
{"name": "image_height", "type": "INT", "link": 20, "widget": {"name": "image_height"}}
],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [27]}
],
"properties": {"Node name for S&R": "GenerateSeamMask"},
"widgets_values": [2048, 2048, 1024, 1024, 128, 64]
},
{
"id": 14,
"type": "SplitImageToTileList",
"pos": [2370, 200],
"size": [250, 106],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{"name": "image", "type": "IMAGE", "link": 25}
],
"outputs": [
{"name": "image", "type": "IMAGE", "slot_index": 0, "links": [28]}
],
"properties": {"Node name for S&R": "SplitImageToTileList"},
"widgets_values": [768, 768, 128]
},
{
"id": 15,
"type": "SplitImageToTileList",
"pos": [2370, 500],
"size": [250, 106],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{"name": "image", "type": "IMAGE", "link": 27}
],
"outputs": [
{"name": "image", "type": "IMAGE", "slot_index": 0, "links": [29]}
],
"properties": {"Node name for S&R": "SplitImageToTileList"},
"widgets_values": [768, 768, 128]
},
{
"id": 16,
"type": "ImageToMask",
"pos": [2670, 500],
"size": [200, 58],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{"name": "image", "type": "IMAGE", "link": 29}
],
"outputs": [
{"name": "MASK", "type": "MASK", "slot_index": 0, "links": [30]}
],
"properties": {"Node name for S&R": "ImageToMask"},
"widgets_values": ["red"]
},
{
"id": 17,
"type": "VAEEncode",
"pos": [2670, 200],
"size": [170, 46],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{"name": "pixels", "type": "IMAGE", "link": 28},
{"name": "vae", "type": "VAE", "link": 7}
],
"outputs": [
{"name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [31]}
],
"properties": {"Node name for S&R": "VAEEncode"},
"widgets_values": []
},
{
"id": 18,
"type": "SetLatentNoiseMask",
"pos": [2670, 350],
"size": [250, 46],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{"name": "samples", "type": "LATENT", "link": 31},
{"name": "mask", "type": "MASK", "link": 30}
],
"outputs": [
{"name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [32]}
],
"properties": {"Node name for S&R": "SetLatentNoiseMask"},
"widgets_values": []
},
{
"id": 19,
"type": "KSampler",
"pos": [2970, 200],
"size": [300, 474],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{"name": "model", "type": "MODEL", "link": 2},
{"name": "positive", "type": "CONDITIONING", "link": 10},
{"name": "negative", "type": "CONDITIONING", "link": 12},
{"name": "latent_image", "type": "LATENT", "link": 32}
],
"outputs": [
{"name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [33]}
],
"properties": {"Node name for S&R": "KSampler"},
"widgets_values": [0, "fixed", 20, 7.0, "euler", "normal", 0.35]
},
{
"id": 20,
"type": "VAEDecode",
"pos": [3320, 200],
"size": [170, 46],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{"name": "samples", "type": "LATENT", "link": 33},
{"name": "vae", "type": "VAE", "link": 8}
],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [34]}
],
"properties": {"Node name for S&R": "VAEDecode"},
"widgets_values": []
},
{
"id": 21,
"type": "ImageMergeTileList",
"pos": [3540, 200],
"size": [250, 106],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{"name": "image_list", "type": "IMAGE", "link": 34},
{"name": "final_width", "type": "INT", "link": 35, "widget": {"name": "final_width"}},
{"name": "final_height", "type": "INT", "link": 36, "widget": {"name": "final_height"}}
],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [26]}
],
"properties": {"Node name for S&R": "ImageMergeTileList"},
"widgets_values": [2048, 2048, 128]
},
{
"id": 22,
"type": "SaveImage",
"pos": [3840, 200],
"size": [400, 400],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{"name": "images", "type": "IMAGE", "link": 26}
],
"outputs": [],
"properties": {"Node name for S&R": "SaveImage"},
"widgets_values": ["UltimateSG/upscale"]
}
],
"links": [
[1, 1, 0, 10, 0, "MODEL"],
[2, 1, 0, 19, 0, "MODEL"],
[3, 1, 1, 2, 0, "CLIP"],
[4, 1, 1, 3, 0, "CLIP"],
[5, 1, 2, 9, 1, "VAE"],
[6, 1, 2, 11, 1, "VAE"],
[7, 1, 2, 17, 1, "VAE"],
[8, 1, 2, 20, 1, "VAE"],
[9, 2, 0, 10, 1, "CONDITIONING"],
[10, 2, 0, 19, 1, "CONDITIONING"],
[11, 3, 0, 10, 2, "CONDITIONING"],
[12, 3, 0, 19, 2, "CONDITIONING"],
[13, 4, 0, 6, 1, "IMAGE"],
[14, 5, 0, 6, 0, "UPSCALE_MODEL"],
[15, 6, 0, 7, 0, "IMAGE"],
[16, 6, 0, 8, 0, "IMAGE"],
[17, 7, 0, 12, 1, "INT"],
[18, 7, 0, 13, 0, "INT"],
[19, 7, 1, 12, 2, "INT"],
[20, 7, 1, 13, 1, "INT"],
[21, 8, 0, 9, 0, "IMAGE"],
[22, 9, 0, 10, 3, "LATENT"],
[23, 10, 0, 11, 0, "LATENT"],
[24, 11, 0, 12, 0, "IMAGE"],
[25, 12, 0, 14, 0, "IMAGE"],
[26, 21, 0, 22, 0, "IMAGE"],
[27, 13, 0, 15, 0, "IMAGE"],
[28, 14, 0, 17, 0, "IMAGE"],
[29, 15, 0, 16, 0, "IMAGE"],
[30, 16, 0, 18, 1, "MASK"],
[31, 17, 0, 18, 0, "LATENT"],
[32, 18, 0, 19, 3, "LATENT"],
[33, 19, 0, 20, 0, "LATENT"],
[34, 20, 0, 21, 0, "IMAGE"],
[35, 7, 0, 21, 1, "INT"],
[36, 7, 1, 21, 2, "INT"],
[37, 12, 0, 23, 0, "IMAGE"]
],
"groups": [
{
"id": 1,
"title": "Load Models",
"bounding": [40, 130, 345, 190],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Prompts",
"bounding": [40, 330, 420, 440],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Upscale",
"bounding": [490, 30, 500, 400],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Pass 1: Tiled Redraw",
"bounding": [1150, 130, 1200, 730],
"color": "#3a7e3a",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Pass 2: Seam Fix (bypass/mute to skip)",
"bounding": [2360, 130, 1470, 710],
"color": "#7e3a3a",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "Output",
"bounding": [3830, 130, 420, 500],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.4,
"offset": [50, 50]
}
},
"version": 0.4
}