Add workflow for upscaling images

This commit is contained in:
moshferatu 2023-11-03 11:31:56 -07:00
parent 9121537752
commit ec33681c93
3 changed files with 180 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# ComfyUI Workflows # ComfyUI Workflows
## Upscale
![Upscale](./upscale.png)
## LoRA ## LoRA
![LoRA](./lora.png) ![LoRA](./lora.png)

176
upscale.json Normal file
View File

@ -0,0 +1,176 @@
{
"last_node_id": 4,
"last_link_id": 3,
"nodes": [
{
"id": 2,
"type": "UpscaleModelLoader",
"pos": [
916,
499
],
"size": [
334.6999809570316,
58
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
1
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"RealESRGAN_x4plus.pth"
]
},
{
"id": 4,
"type": "PreviewImage",
"pos": [
1299,
111
],
"size": [
1072.5356882324222,
989.0469571533206
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 3
}
],
"title": "Upscaled Image",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 1,
"type": "LoadImage",
"pos": [
123,
229
],
"size": [
756.843688232422,
760.9259571533205
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"title": "Original Image",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"7411ffea-b5d0-495a-b31b-c5a7cacde745.png",
"image"
]
},
{
"id": 3,
"type": "ImageUpscaleWithModel",
"pos": [
958,
620
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3
],
"shape": 3,
"slot_index": 0
}
],
"title": "Upscale Image",
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
}
],
"links": [
[
1,
2,
0,
3,
0,
"UPSCALE_MODEL"
],
[
2,
1,
0,
3,
1,
"IMAGE"
],
[
3,
3,
0,
4,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}

BIN
upscale.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB