Files
2026-04-21 05:20:00 +02:00

1007 lines
21 KiB
JSON

{
"id": "gigahires-helper-nodes-reference",
"revision": 0,
"last_node_id": 16,
"last_link_id": 29,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [20, 120],
"size": [315, 98],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
},
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [1, 11, 24]
},
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 1,
"links": [3, 5]
},
{
"name": "VAE",
"type": "VAE",
"slot_index": 2,
"links": [7, 10, 12, 18, 23, 25]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": ["put-your-checkpoint-here.safetensors"]
},
{
"id": 2,
"type": "CLIPTextEncode",
"pos": [20, 260],
"size": [425, 180],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [4, 13, 26]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": ["your prompt here"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [20, 470],
"size": [425, 160],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [6, 14, 27]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": ["text, watermark, blurry, low quality"],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 4,
"type": "EmptyLatentImage",
"pos": [20, 690],
"size": [315, 106],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
},
{
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [2]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [832, 1216, 1]
},
{
"id": 5,
"type": "KSampler",
"pos": [500, 180],
"size": [220, 474],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "control_after_generate",
"type": "COMBO",
"widget": {
"name": "control_after_generate"
},
"link": null
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [8, 9, 17]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "KSampler"
},
"widgets_values": [0, "fixed", 28, 6.5, "dpmpp_2m", "karras", 1.0]
},
{
"id": 6,
"type": "VAEDecode",
"pos": [780, 180],
"size": [160, 46],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 8
},
{
"name": "vae",
"type": "VAE",
"link": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 7,
"type": "GigaHiresLatentUpscale",
"pos": [1100, 60],
"size": [250, 222],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "latent",
"type": "LATENT",
"link": 9
},
{
"name": "vae",
"type": "VAE",
"link": 10
},
{
"name": "latent_mode",
"type": "COMBO",
"widget": {
"name": "latent_mode"
},
"link": null
},
{
"name": "sizing_mode",
"type": "COMBO",
"widget": {
"name": "sizing_mode"
},
"link": null
},
{
"name": "scale_by",
"type": "FLOAT",
"widget": {
"name": "scale_by"
},
"link": null
},
{
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
},
"link": null
},
{
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
},
"link": null
}
],
"outputs": [
{
"name": "upscaled_latent",
"type": "LATENT",
"slot_index": 0,
"links": [15]
},
{
"name": "debug_info",
"type": "STRING",
"slot_index": 1,
"links": []
}
],
"properties": {
"Node name for S&R": "GigaHiresLatentUpscale"
},
"widgets_values": ["Latent (antialiased)", "scale", 2.0, 0, 0]
},
{
"id": 8,
"type": "GigaHiresRefinePass",
"pos": [1400, 40],
"size": [240, 520],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 11
},
{
"name": "vae",
"type": "VAE",
"link": 12
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 13
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 14
},
{
"name": "latent",
"type": "LATENT",
"link": 15
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "control_after_generate",
"type": "COMBO",
"widget": {
"name": "control_after_generate"
},
"link": null
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
},
{
"name": "vae_mode",
"type": "COMBO",
"widget": {
"name": "vae_mode"
},
"link": null
},
{
"name": "vae_tile_size",
"type": "INT",
"widget": {
"name": "vae_tile_size"
},
"link": null
},
{
"name": "vae_overlap",
"type": "INT",
"widget": {
"name": "vae_overlap"
},
"link": null
}
],
"outputs": [
{
"name": "refined_latent",
"type": "LATENT",
"slot_index": 0,
"links": []
},
{
"name": "refined_image",
"type": "IMAGE",
"slot_index": 1,
"links": [16]
},
{
"name": "debug_info",
"type": "STRING",
"slot_index": 2,
"links": []
}
],
"properties": {
"Node name for S&R": "GigaHiresRefinePass"
},
"widgets_values": [0, "fixed", 12, 7.0, "dpmpp_2m", "karras", 0.35, "regular", 512, 64],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 9,
"type": "PreviewImage",
"pos": [1670, 80],
"size": [420, 420],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 16
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 10,
"type": "VAEDecode",
"pos": [1080, 760],
"size": [160, 46],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 17
},
{
"name": "vae",
"type": "VAE",
"link": 18
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [20]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 11,
"type": "UpscaleModelLoader",
"pos": [1080, 660],
"size": [300, 72],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
},
"link": null
}
],
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"slot_index": 0,
"links": [19]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": ["4x-UltraSharp.pth"]
},
{
"id": 12,
"type": "GigaHiresImageUpscale",
"pos": [1300, 650],
"size": [270, 250],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 20
},
{
"name": "method",
"type": "COMBO",
"widget": {
"name": "method"
},
"link": null
},
{
"name": "sizing_mode",
"type": "COMBO",
"widget": {
"name": "sizing_mode"
},
"link": null
},
{
"name": "scale_by",
"type": "FLOAT",
"widget": {
"name": "scale_by"
},
"link": null
},
{
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
},
"link": null
},
{
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
},
"link": null
},
{
"name": "upscale_model_name",
"type": "COMBO",
"widget": {
"name": "upscale_model_name"
},
"link": null
},
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 19
}
],
"outputs": [
{
"name": "upscaled_image",
"type": "IMAGE",
"slot_index": 0,
"links": [21, 22]
},
{
"name": "debug_info",
"type": "STRING",
"slot_index": 1,
"links": []
}
],
"properties": {
"Node name for S&R": "GigaHiresImageUpscale"
},
"widgets_values": ["upscale_model", "scale", 2.0, 0, 0, "None"]
},
{
"id": 13,
"type": "VAEEncode",
"pos": [1620, 830],
"size": [160, 46],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 22
},
{
"name": "vae",
"type": "VAE",
"link": 23
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [28]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 14,
"type": "GigaHiresRefinePass",
"pos": [1840, 720],
"size": [240, 520],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 25
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 26
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 27
},
{
"name": "latent",
"type": "LATENT",
"link": 28
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "control_after_generate",
"type": "COMBO",
"widget": {
"name": "control_after_generate"
},
"link": null
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
},
{
"name": "vae_mode",
"type": "COMBO",
"widget": {
"name": "vae_mode"
},
"link": null
},
{
"name": "vae_tile_size",
"type": "INT",
"widget": {
"name": "vae_tile_size"
},
"link": null
},
{
"name": "vae_overlap",
"type": "INT",
"widget": {
"name": "vae_overlap"
},
"link": null
}
],
"outputs": [
{
"name": "refined_latent",
"type": "LATENT",
"slot_index": 0,
"links": []
},
{
"name": "refined_image",
"type": "IMAGE",
"slot_index": 1,
"links": [29]
},
{
"name": "debug_info",
"type": "STRING",
"slot_index": 2,
"links": []
}
],
"properties": {
"Node name for S&R": "GigaHiresRefinePass"
},
"widgets_values": [0, "fixed", 12, 7.0, "dpmpp_2m", "karras", 0.3, "regular", 512, 64],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 15,
"type": "PreviewImage",
"pos": [1600, 620],
"size": [380, 320],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 21
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 16,
"type": "PreviewImage",
"pos": [2110, 760],
"size": [420, 420],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 29
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
}
],
"links": [
[1, 1, 0, 5, 0, "MODEL"],
[2, 4, 0, 5, 3, "LATENT"],
[3, 1, 1, 2, 0, "CLIP"],
[4, 2, 0, 5, 1, "CONDITIONING"],
[5, 1, 1, 3, 0, "CLIP"],
[6, 3, 0, 5, 2, "CONDITIONING"],
[7, 1, 2, 6, 1, "VAE"],
[8, 5, 0, 6, 0, "LATENT"],
[9, 5, 0, 7, 0, "LATENT"],
[10, 1, 2, 7, 1, "VAE"],
[11, 1, 0, 8, 0, "MODEL"],
[12, 1, 2, 8, 1, "VAE"],
[13, 2, 0, 8, 2, "CONDITIONING"],
[14, 3, 0, 8, 3, "CONDITIONING"],
[15, 7, 0, 8, 4, "LATENT"],
[16, 8, 1, 9, 0, "IMAGE"],
[17, 5, 0, 10, 0, "LATENT"],
[18, 1, 2, 10, 1, "VAE"],
[19, 11, 0, 12, 7, "UPSCALE_MODEL"],
[20, 10, 0, 12, 0, "IMAGE"],
[21, 12, 0, 15, 0, "IMAGE"],
[22, 12, 0, 13, 0, "IMAGE"],
[23, 1, 2, 13, 1, "VAE"],
[24, 1, 0, 14, 0, "MODEL"],
[25, 1, 2, 14, 1, "VAE"],
[26, 2, 0, 14, 2, "CONDITIONING"],
[27, 3, 0, 14, 3, "CONDITIONING"],
[28, 13, 0, 14, 4, "LATENT"],
[29, 14, 1, 16, 0, "IMAGE"]
],
"groups": [
{
"id": 1,
"title": "1. Normal Pass",
"bounding": [10, 100, 740, 760],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "2A. Helper Nodes: latent upscale + refine",
"bounding": [1070, 20, 1040, 560],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "2B. Helper Nodes: decode -> image upscale + refine",
"bounding": [1060, 620, 1490, 660],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.55,
"offset": [50, 120]
},
"frontendVersion": "1.31.0"
},
"version": 0.4
}