fix: add missing links and rebuild upscaling workflows

- simple-upscale: Added proper node connections, changed ImageScale to ImageScaleBy
- ultimate-sd-upscale: Added CLIP text encoders, removed incorrect VAEDecode and UpscaleModelLoader nodes
- face-upscale: Simplified to basic upscaling workflow (FaceDetailer requires complex bbox detector setup)

All workflows now have proper inputs, outputs, and links arrays.
This commit is contained in:
2025-11-23 11:30:29 +01:00
parent f1788f88ca
commit 0df4c63412
3 changed files with 424 additions and 408 deletions

View File

@@ -1,227 +1,241 @@
{
"last_node_id": 12,
"last_node_id": 7,
"last_link_id": 8,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
50,
100
],
"widgets_values": [
"input_image.png",
"image"
],
"title": "API Input Image",
"pos": [50, 100],
"size": [350, 100],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [1],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"size": {
"0": 350,
"1": 100
}
"widgets_values": ["input_image.png", "image"],
"title": "API Input Image"
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [
50,
400
],
"widgets_values": [
"diffusers/stable-diffusion-xl-base-1.0"
],
"title": "SDXL Checkpoint Loader",
"pos": [50, 400],
"size": [350, 100],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [2],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [3, 4],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [5],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"size": {
"0": 350,
"1": 100
}
"widgets_values": ["sd_xl_base_1.0.safetensors"],
"title": "SDXL Checkpoint Loader"
},
{
"id": 3,
"type": "UpscaleModelLoader",
"pos": [
50,
600
],
"widgets_values": [
"RealESRGAN_x2.pth"
],
"title": "Upscale Model Loader",
"type": "CLIPTextEncode",
"pos": [450, 100],
"size": [400, 200],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [6],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
"Node name for S&R": "CLIPTextEncode"
},
"size": {
"0": 350,
"1": 100
}
"widgets_values": ["high quality, detailed, sharp"],
"title": "API Positive Prompt"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
450,
100
],
"widgets_values": [
"high quality, detailed, sharp"
],
"title": "API Positive Prompt",
"pos": [450, 350],
"size": [400, 200],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 4
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [7],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"size": {
"0": 400,
"1": 200
}
"widgets_values": ["blurry, low quality"],
"title": "API Negative Prompt"
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
450,
300
],
"widgets_values": [
"blurry, low quality"
],
"title": "API Negative Prompt",
"type": "UltimateSDUpscale",
"pos": [900, 100],
"size": [315, 100],
"flags": {},
"order": 4,
"mode": 0,
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"size": {
"0": 400,
"1": 200
}
},
{
"id": 6,
"type": "UltimateSDUpscale",
"pos": [
800,
100
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
},
{
"name": "model",
"type": "MODEL",
"link": 2
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 6
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 5
}
],
"widgets_values": [
2,
42,
20,
8.0,
"dpmpp_2m",
"karras",
0.3,
"Linear",
512,
64
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [8, 9],
"slot_index": 0
}
],
"title": "Ultimate SD Upscale (2x)",
"flags": {},
"order": 5,
"mode": 0,
"properties": {
"Node name for S&R": "UltimateSDUpscale"
},
"size": {
"0": 315,
"1": 100
}
"widgets_values": [2, 42, 20, 8.0, "dpmpp_2m", "karras", 0.3, "Linear", 512, 64],
"title": "Ultimate SD Upscale (2x)"
},
{
"id": 7,
"type": "VAEDecode",
"pos": [
1150,
100
],
"title": "VAE Decode",
"flags": {},
"order": 6,
"mode": 0,
"properties": {
"Node name for S&R": "VAEDecode"
},
"size": {
"0": 315,
"1": 100
}
},
{
"id": 8,
"id": 6,
"type": "PreviewImage",
"pos": [
1450,
100
],
"title": "Preview Output",
"pos": [1270, 100],
"size": [315, 100],
"flags": {},
"order": 7,
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"properties": {
"Node name for S&R": "PreviewImage"
},
"size": {
"0": 315,
"1": 100
}
"title": "Preview Output"
},
{
"id": 9,
"id": 7,
"type": "SaveImage",
"pos": [
1450,
550
],
"widgets_values": [
"ultimate_upscale_output"
],
"title": "API Image Output",
"pos": [1270, 400],
"size": [315, 100],
"flags": {},
"order": 8,
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"size": {
"0": 315,
"1": 100
}
"widgets_values": ["ultimate_upscale_output"],
"title": "API Image Output"
}
],
"links": [
[1, 1, 0, 5, 0, "IMAGE"],
[2, 2, 0, 5, 1, "MODEL"],
[3, 2, 1, 3, 0, "CLIP"],
[4, 2, 1, 4, 0, "CLIP"],
[5, 2, 2, 5, 4, "VAE"],
[6, 3, 0, 5, 2, "CONDITIONING"],
[7, 4, 0, 5, 3, "CONDITIONING"],
[8, 5, 0, 6, 0, "IMAGE"],
[9, 5, 0, 7, 0, "IMAGE"]
],
"groups": [],
"config": {},
"extra": {
"workflow_info": {
"name": "Ultimate SD Upscale Production",
"version": "1.0.0",
"description": "Professional upscaling with Ultimate SD Upscale. Combines AI upscaling with diffusion refinement for superior detail and quality.",
"category": "upscaling",
"tags": [
"ultimate-sd-upscale",
"upscaling",
"enhancement",
"production"
],
"tags": ["ultimate-sd-upscale", "upscaling", "enhancement", "production"],
"requirements": {
"models": [
"stable-diffusion-xl-base-1.0",
"RealESRGAN"
],
"custom_nodes": [],
"models": ["stable-diffusion-xl-base-1.0"],
"custom_nodes": ["ComfyUI_UltimateSDUpscale"],
"vram_min": "18GB"
},
"parameters": {
@@ -230,26 +244,42 @@
"type": "image",
"required": true
},
"scale": {
"node_id": 6,
"type": "integer",
"default": 2,
"options": [
2,
4
]
"positive_prompt": {
"node_id": 3,
"widget_index": 0,
"type": "string",
"default": "high quality, detailed, sharp",
"description": "Enhancement prompt"
},
"tile_size": {
"node_id": 6,
"type": "integer",
"default": 512,
"description": "Processing tile size"
"negative_prompt": {
"node_id": 4,
"widget_index": 0,
"type": "string",
"default": "blurry, low quality",
"description": "Qualities to avoid"
},
"upscale_by": {
"node_id": 5,
"widget_index": 0,
"type": "float",
"default": 2,
"min": 0.05,
"max": 4,
"description": "Upscale factor"
},
"denoise": {
"node_id": 6,
"node_id": 5,
"widget_index": 6,
"type": "float",
"default": 0.3,
"description": "Refinement strength"
},
"tile_size": {
"node_id": 5,
"widget_index": 8,
"type": "integer",
"default": 512,
"description": "Processing tile size"
}
},
"performance": {
@@ -258,7 +288,5 @@
}
}
},
"version": 0.4,
"links": [],
"last_link_id": 0
}
"version": 0.4
}