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:
@@ -1,151 +1,179 @@
|
||||
{
|
||||
"last_node_id": 6,
|
||||
"last_link_id": 5,
|
||||
"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": "UpscaleModelLoader",
|
||||
"pos": [
|
||||
50,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"RealESRGAN_x4.pth"
|
||||
],
|
||||
"title": "Upscale Model Loader",
|
||||
"pos": [50, 400],
|
||||
"size": [350, 100],
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "UPSCALE_MODEL",
|
||||
"type": "UPSCALE_MODEL",
|
||||
"links": [2],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "UpscaleModelLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
"widgets_values": ["RealESRGAN_x4.pth"],
|
||||
"title": "Upscale Model Loader"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "ImageUpscaleWithModel",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"title": "Upscale with Model (4x)",
|
||||
"pos": [450, 100],
|
||||
"size": [315, 100],
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "upscale_model",
|
||||
"type": "UPSCALE_MODEL",
|
||||
"link": 2
|
||||
},
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 1
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [3],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageUpscaleWithModel"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
"title": "Upscale with Model (4x)"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "ImageScale",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"lanczos",
|
||||
2
|
||||
],
|
||||
"title": "Optional Downscale to 2x",
|
||||
"type": "ImageScaleBy",
|
||||
"pos": [800, 100],
|
||||
"size": [315, 100],
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 3
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [4, 5],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageScale"
|
||||
"Node name for S&R": "ImageScaleBy"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
"widgets_values": ["lanczos", 0.5],
|
||||
"title": "Optional Downscale to 2x"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"title": "Preview Output",
|
||||
"pos": [1150, 100],
|
||||
"size": [315, 100],
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "images",
|
||||
"type": "IMAGE",
|
||||
"link": 4
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
"title": "Preview Output"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1150,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"simple_upscale_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"pos": [1150, 400],
|
||||
"size": [315, 100],
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "images",
|
||||
"type": "IMAGE",
|
||||
"link": 5
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
"widgets_values": ["simple_upscale_output"],
|
||||
"title": "API Image Output"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
[1, 1, 0, 3, 1, "IMAGE"],
|
||||
[2, 2, 0, 3, 0, "UPSCALE_MODEL"],
|
||||
[3, 3, 0, 4, 0, "IMAGE"],
|
||||
[4, 4, 0, 5, 0, "IMAGE"],
|
||||
[5, 4, 0, 6, 0, "IMAGE"]
|
||||
],
|
||||
"groups": [],
|
||||
"config": {},
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
"name": "Simple Upscale Production",
|
||||
"version": "1.0.0",
|
||||
"description": "Fast, straightforward upscaling using RealESRGAN. No diffusion refinement, optimized for speed.",
|
||||
"category": "upscaling",
|
||||
"tags": [
|
||||
"simple-upscale",
|
||||
"fast",
|
||||
"realesrgan",
|
||||
"production"
|
||||
],
|
||||
"tags": ["simple-upscale", "fast", "realesrgan", "production"],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"RealESRGAN"
|
||||
],
|
||||
"models": ["RealESRGAN"],
|
||||
"custom_nodes": [],
|
||||
"vram_min": "8GB"
|
||||
},
|
||||
@@ -159,15 +187,14 @@
|
||||
"node_id": 2,
|
||||
"type": "string",
|
||||
"default": "RealESRGAN_x4.pth",
|
||||
"options": [
|
||||
"RealESRGAN_x2.pth",
|
||||
"RealESRGAN_x4.pth"
|
||||
]
|
||||
"options": ["RealESRGAN_x2.pth", "RealESRGAN_x4.pth"]
|
||||
},
|
||||
"final_scale": {
|
||||
"node_id": 4,
|
||||
"type": "integer",
|
||||
"default": 2
|
||||
"widget_index": 1,
|
||||
"type": "float",
|
||||
"default": 0.5,
|
||||
"description": "Scale factor after 4x upscale (0.5 = final 2x, 1.0 = keep 4x)"
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
@@ -176,7 +203,5 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0.4,
|
||||
"links": [],
|
||||
"last_link_id": 0
|
||||
}
|
||||
"version": 0.4
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user