ComfyUI / txt2img_img2img_upscaler.json
kadirnar's picture
Upload 2 files
76a3323
{
"last_node_id": 39,
"last_link_id": 70,
"nodes": [
{
"id": 10,
"type": "VAEDecode",
"pos": [
1549.3579159244384,
-2340.3685127817985
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 10
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26,
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
1105.8324560542335,
-2718.9960117532055
],
"size": {
"0": 364.6484375,
"1": 85.34481048583984
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 55
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6,
22,
32
],
"shape": 3,
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"designed by Joseph Clement Coll and Elsa Bleda, Vector Art, 3D Rendering, Portrait of a midweight Janus, he is feeling relaxed, wearing Fire, Efficacious Cybernetic Eye, Overdetailed art, F/14, de dia los muertos, Yelling upset angry"
]
},
{
"id": 8,
"type": "EmptyLatentImage",
"pos": [
1100.3579159244384,
-2469.3685127817985
],
"size": {
"0": 371.8406066894531,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
4
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [
803.8324560542335,
-2723.9960117532055
],
"size": {
"0": 283.5121154785156,
"1": 98.10640716552734
},
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
21,
53
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
49
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"turbovisionxl.safetensors"
]
},
{
"id": 30,
"type": "LoraLoader",
"pos": [
803.3579159244384,
-2476.3685127817985
],
"size": {
"0": 277.7330627441406,
"1": 126
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 53
},
{
"name": "clip",
"type": "CLIP",
"link": 49
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
52,
54
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
55,
56
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"add-detail-xl.safetensors",
1,
1
]
},
{
"id": 16,
"type": "VAELoader",
"pos": [
802.3579159244384,
-2575.3685127817985
],
"size": {
"0": 261.334716796875,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
10,
45,
46,
47,
59,
64
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"taesdxl"
]
},
{
"id": 9,
"type": "KSamplerAdvanced",
"pos": [
1497.3579159244384,
-2715.3685127817985
],
"size": {
"0": 302.0309143066406,
"1": 334
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 52
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 6
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 5
},
{
"name": "latent_image",
"type": "LATENT",
"link": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
797874336695255,
"randomize",
5,
1.6500000000000001,
"dpmpp_sde",
"karras",
0,
10000,
"disable"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
1091.8324560542335,
-2589.9960117532055
],
"size": {
"0": 372.9367370605469,
"1": 76.00006103515625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 56
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
5,
23,
31
],
"shape": 3,
"slot_index": 0
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"cropped-frame, imbalance, poor image quality, limited video, specialized creators, polymorphic, washed-out low-contrast (deep fried) watermark, cropped, out-of-frame, low quality, low res, poorly drawn"
]
},
{
"id": 32,
"type": "UpscaleModelLoader",
"pos": [
2311.05564071469,
-2183.0779412943975
],
"size": {
"0": 337.0872802734375,
"1": 65.91532897949219
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
61
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x-UltraSharp.pth"
]
},
{
"id": 33,
"type": "ImageUpscaleWithModel",
"pos": [
2319.698753023739,
-2026.7008675690006
],
"size": {
"0": 246.78919982910156,
"1": 55.3056640625
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 61
},
{
"name": "image",
"type": "IMAGE",
"link": 66,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
63
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
},
{
"id": 34,
"type": "ImageScale",
"pos": [
2665.698753023739,
-2176.7008675690013
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 63
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
62
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
2048,
2048,
"disabled"
]
},
{
"id": 35,
"type": "VAEEncode",
"pos": [
2328.698753023739,
-1888.7008675689995
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 62,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 59,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
57
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 19,
"type": "VAEDecode",
"pos": [
2725.4601266571544,
-2356.2702150348864
],
"size": {
"0": 192.70428466796875,
"1": 46.87427520751953
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 25
},
{
"name": "vae",
"type": "VAE",
"link": 47
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
18,
66
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 17,
"type": "LatentUpscale",
"pos": [
2313.46012665716,
-2600.2702150348855
],
"size": {
"0": 263.4329833984375,
"1": 130
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 38
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LatentUpscale"
},
"widgets_values": [
"nearest-exact",
1024,
1024,
"disabled"
]
},
{
"id": 27,
"type": "PreviewImage",
"pos": [
1848.475042780957,
-2215.68764446487
],
"size": {
"0": 430.128662109375,
"1": 461.6102294921875
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 37
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 26,
"type": "VAEDecode",
"pos": [
1501.5903547363264,
-2030.0937859497076
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 35
},
{
"name": "vae",
"type": "VAE",
"link": 46
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
37
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 24,
"type": "VAEEncode",
"pos": [
855.5903547363271,
-2023.0937859497076
],
"size": {
"0": 205.57781982421875,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 27
},
{
"name": "vae",
"type": "VAE",
"link": 45
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
29
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
1847,
-2735
],
"size": {
"0": 432.4180908203125,
"1": 453.734130859375
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 25,
"type": "KSampler",
"pos": [
1093.5903547363264,
-2148.0937859497076
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 32
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 31
},
{
"name": "latent_image",
"type": "LATENT",
"link": 29
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
35,
38
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
643497033705411,
"randomize",
10,
2.05,
"dpmpp_sde",
"karras",
0.8
]
},
{
"id": 22,
"type": "KSampler",
"pos": [
2609.46012665716,
-2699.2702150348873
],
"size": {
"0": 315.20599365234375,
"1": 262
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 21
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 22
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 23
},
{
"name": "latent_image",
"type": "LATENT",
"link": 24
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
25
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
940407107569450,
"randomize",
10,
2.05,
"dpmpp_sde",
"karras",
0.5
]
},
{
"id": 21,
"type": "PreviewImage",
"pos": [
3003,
-2732
],
"size": {
"0": 426.52813720703125,
"1": 451.5635681152344
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 18
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 36,
"type": "VAEDecode",
"pos": [
2693.698753023739,
-1884.7008675689995
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 57
},
{
"name": "vae",
"type": "VAE",
"link": 64
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
67
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 37,
"type": "PreviewImage",
"pos": [
3010,
-2198
],
"size": {
"0": 420.1706848144531,
"1": 448.50909423828125
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 67
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
4,
8,
0,
9,
3,
"LATENT"
],
[
5,
7,
0,
9,
2,
"CONDITIONING"
],
[
6,
5,
0,
9,
1,
"CONDITIONING"
],
[
7,
9,
0,
10,
0,
"LATENT"
],
[
10,
16,
0,
10,
1,
"VAE"
],
[
18,
19,
0,
21,
0,
"IMAGE"
],
[
21,
2,
0,
22,
0,
"MODEL"
],
[
22,
5,
0,
22,
1,
"CONDITIONING"
],
[
23,
7,
0,
22,
2,
"CONDITIONING"
],
[
24,
17,
0,
22,
3,
"LATENT"
],
[
25,
22,
0,
19,
0,
"LATENT"
],
[
26,
10,
0,
11,
0,
"IMAGE"
],
[
27,
10,
0,
24,
0,
"IMAGE"
],
[
29,
24,
0,
25,
3,
"LATENT"
],
[
31,
7,
0,
25,
2,
"CONDITIONING"
],
[
32,
5,
0,
25,
1,
"CONDITIONING"
],
[
35,
25,
0,
26,
0,
"LATENT"
],
[
37,
26,
0,
27,
0,
"IMAGE"
],
[
38,
25,
0,
17,
0,
"LATENT"
],
[
45,
16,
0,
24,
1,
"VAE"
],
[
46,
16,
0,
26,
1,
"VAE"
],
[
47,
16,
0,
19,
1,
"VAE"
],
[
49,
2,
1,
30,
1,
"CLIP"
],
[
52,
30,
0,
9,
0,
"MODEL"
],
[
53,
2,
0,
30,
0,
"MODEL"
],
[
54,
30,
0,
25,
0,
"MODEL"
],
[
55,
30,
1,
5,
0,
"CLIP"
],
[
56,
30,
1,
7,
0,
"CLIP"
],
[
57,
35,
0,
36,
0,
"LATENT"
],
[
59,
16,
0,
35,
1,
"VAE"
],
[
61,
32,
0,
33,
0,
"UPSCALE_MODEL"
],
[
62,
34,
0,
35,
0,
"IMAGE"
],
[
63,
33,
0,
34,
0,
"IMAGE"
],
[
64,
16,
0,
36,
1,
"VAE"
],
[
66,
19,
0,
33,
1,
"IMAGE"
],
[
67,
36,
0,
37,
0,
"IMAGE"
]
],
"groups": [
{
"title": "Text2Image",
"bounding": [
800,
-2799,
1479,
516
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Latent Hi-Res Fix",
"bounding": [
2299,
-2799,
1131,
518
],
"color": "#88A",
"font_size": 24
},
{
"title": "Image2Image",
"bounding": [
801,
-2271,
1479,
519
],
"color": "#A88",
"font_size": 24
},
{
"title": "Upscaler",
"bounding": [
2301,
-2269,
1129,
518
],
"color": "#b06634",
"font_size": 24
}
],
"config": {},
"extra": {},
"version": 0.4
}