comfyui / 2workflow.json
faisalhr1997's picture
Upload 2workflow.json
420a47e
raw
history blame contribute delete
No virus
23.7 kB
{
"last_node_id": 69,
"last_link_id": 103,
"nodes": [
{
"id": 14,
"type": "PrimitiveNode",
"pos": [
-121.3819942626953,
-25.278736772016902
],
"size": {
"0": 300,
"1": 160
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
18,
22
],
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 0
}
],
"title": "Negative Prompt (Text)",
"properties": {},
"widgets_values": [
"cartoon, anime, painting, oil painting, deformed, ugly, bad quality, low quality,black and white, bw, b&w,\n"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
340,
-207
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 89
},
{
"name": "text",
"type": "STRING",
"link": 16,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
78
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"analog film, portrait photography of a old Chinese karate master, faded film, desaturated, 35mm photo, vintage, stained, highly detailed, found footage, Holga 120n, film grain, vignette, ,(intricate details), (hyperdetailed), 8k hdr, high detailed, lot of details, high quality, soft cinematic light, dramatic atmosphere, atmospheric perspective\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
340.0230051066314,
-116.58198991405696
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 90
},
{
"name": "text",
"type": "STRING",
"link": 18,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
79
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"cartoon, anime, painting, oil painting, deformed, ugly, bad quality, low quality,black and white, bw, b&w,\n"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 15,
"type": "CLIPTextEncode",
"pos": [
350.0376902549327,
31.519609047781767
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 19
},
{
"name": "text",
"type": "STRING",
"link": 21,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
65,
80
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"analog film, portrait photography of a old Chinese karate master, faded film, desaturated, 35mm photo, vintage, stained, highly detailed, found footage, Holga 120n, film grain, vignette, ,(intricate details), (hyperdetailed), 8k hdr, high detailed, lot of details, high quality, soft cinematic light, dramatic atmosphere, atmospheric perspective\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 16,
"type": "CLIPTextEncode",
"pos": [
350.0376902549327,
121.51960904778196
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 20
},
{
"name": "text",
"type": "STRING",
"link": 22,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
66,
81
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"cartoon, anime, painting, oil painting, deformed, ugly, bad quality, low quality,black and white, bw, b&w,\n"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 13,
"type": "PrimitiveNode",
"pos": [
-121,
-225
],
"size": {
"0": 300,
"1": 160
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
16,
21
],
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
},
"slot_index": 0
}
],
"title": "Positive Prompt (Text)",
"properties": {},
"widgets_values": [
"analog film, portrait photography of a old Chinese karate master, faded film, desaturated, 35mm photo, vintage, stained, highly detailed, found footage, Holga 120n, film grain, vignette, ,(intricate details), (hyperdetailed), 8k hdr, high detailed, lot of details, high quality, soft cinematic light, dramatic atmosphere, atmospheric perspective\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 53,
"type": "VAELoader",
"pos": [
638,
-422
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
68,
69
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"sdxl_vae.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 56,
"type": "KSamplerSDXLAdvanced",
"pos": [
622,
-299
],
"size": {
"0": 393,
"1": 506
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model_model",
"type": "MODEL",
"link": 88
},
{
"name": "model_refiner",
"type": "MODEL",
"link": 74
},
{
"name": "CONDITIONING_model_pos",
"type": "CONDITIONING",
"link": 78
},
{
"name": "CONDITIONING_model_neg",
"type": "CONDITIONING",
"link": 79
},
{
"name": "CONDITIONING_refiner_pos",
"type": "CONDITIONING",
"link": 80
},
{
"name": "CONDITIONING_refiner_neg",
"type": "CONDITIONING",
"link": 81
},
{
"name": "latent_image",
"type": "LATENT",
"link": 82
},
{
"name": "SD15VAE",
"type": "VAE",
"link": null
},
{
"name": "SDXLVAE",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
83
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerSDXLAdvanced"
},
"widgets_values": [
511538408011549,
"randomize",
7.5,
"dpmpp_2m",
"karras",
0,
16,
16,
1.2,
"penultimate_step",
"CPU",
"enable",
7.5
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 42,
"type": "Note",
"pos": [
-111,
444
],
"size": {
"0": 260,
"1": 210
},
"flags": {},
"order": 3,
"mode": 0,
"title": "Note - Empty Latent Image",
"properties": {
"text": ""
},
"widgets_values": [
"This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained values listed below:\n - 1024 x 1024\n - 1152 x 896\n - 896 x 1152\n - 1216 x 832\n - 832 x 1216\n - 1344 x 768\n - 768 x 1344\n - 1536 x 640\n - 640 x 1536"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 54,
"type": "UpscaleModelLoader",
"pos": [
984,
-422
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
70
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x_NMKD-Superscale-SP_178000_G.pth"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 12,
"type": "CheckpointLoaderSimple",
"pos": [
250,
-422
],
"size": {
"0": 350,
"1": 100
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
64,
74
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
19,
20
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"shape": 3,
"slot_index": 2
}
],
"title": "Load Checkpoint - REFINER",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_refiner_1.0_0.9vae.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-140,
-422
],
"size": {
"0": 350,
"1": 100
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
84
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
85
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"slot_index": 2
}
],
"title": "Load Checkpoint - BASE",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"dreamshaperXL10_alpha2Xl10.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 59,
"type": "Reroute",
"pos": [
-120,
-640
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 84
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
102
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 46,
"type": "SaveImage",
"pos": [
247,
398
],
"size": {
"0": 498.236083984375,
"1": 322.4520263671875
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 46
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 60,
"type": "Reroute",
"pos": [
-124,
-599
],
"size": [
75,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 85
}
],
"outputs": [
{
"name": "",
"type": "CLIP",
"links": [
103
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 57,
"type": "LoraLoader",
"pos": [
257,
-640
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 102
},
{
"name": "clip",
"type": "CLIP",
"link": 103
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
88
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
89,
90
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"sd_xl_offset_example-lora_1.0.safetensors",
1,
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 45,
"type": "VAEDecode",
"pos": [
1068,
-57
],
"size": {
"0": 200,
"1": 50
},
"flags": {
"collapsed": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 83
},
{
"name": "vae",
"type": "VAE",
"link": 69
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
46,
100
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 52,
"type": "SaveImage",
"pos": [
784,
272
],
"size": [
872.932790293029,
473.9936982885516
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 63
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 50,
"type": "UltimateSDUpscale",
"pos": [
1342,
-372
],
"size": {
"0": 315,
"1": 590
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 100
},
{
"name": "model",
"type": "MODEL",
"link": 64
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 65
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 66
},
{
"name": "vae",
"type": "VAE",
"link": 68
},
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 70,
"slot_index": 5
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
63
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UltimateSDUpscale"
},
"widgets_values": [
2,
11668795518215,
"randomize",
16,
8,
"dpmpp_2m",
"karras",
0.35,
"Linear",
1536,
640,
16,
40,
"None",
1,
64,
8,
16,
"enable"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 55,
"type": "SDXLAspectRatio",
"pos": [
-127,
241
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "Width",
"type": "INT",
"links": [
71
],
"shape": 3,
"slot_index": 0
},
{
"name": "Height",
"type": "INT",
"links": [
72
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "SDXLAspectRatio"
},
"widgets_values": [
64,
64,
"3:4 - 896x1152 portrait"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
311,
262
],
"size": [
210,
78
],
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 71,
"widget": {
"name": "width",
"config": [
"INT",
{
"default": 512,
"min": 64,
"max": 8192,
"step": 8
}
]
}
},
{
"name": "height",
"type": "INT",
"link": 72,
"widget": {
"name": "height",
"config": [
"INT",
{
"default": 512,
"min": 64,
"max": 8192,
"step": 8
}
]
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
82
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1344,
768,
1
],
"color": "#323",
"bgcolor": "#535"
}
],
"links": [
[
16,
13,
0,
6,
1,
"STRING"
],
[
18,
14,
0,
7,
1,
"STRING"
],
[
19,
12,
1,
15,
0,
"CLIP"
],
[
20,
12,
1,
16,
0,
"CLIP"
],
[
21,
13,
0,
15,
1,
"STRING"
],
[
22,
14,
0,
16,
1,
"STRING"
],
[
46,
45,
0,
46,
0,
"IMAGE"
],
[
63,
50,
0,
52,
0,
"IMAGE"
],
[
64,
12,
0,
50,
1,
"MODEL"
],
[
65,
15,
0,
50,
2,
"CONDITIONING"
],
[
66,
16,
0,
50,
3,
"CONDITIONING"
],
[
68,
53,
0,
50,
4,
"VAE"
],
[
69,
53,
0,
45,
1,
"VAE"
],
[
70,
54,
0,
50,
5,
"UPSCALE_MODEL"
],
[
71,
55,
0,
5,
0,
"INT"
],
[
72,
55,
1,
5,
1,
"INT"
],
[
74,
12,
0,
56,
1,
"MODEL"
],
[
78,
6,
0,
56,
2,
"CONDITIONING"
],
[
79,
7,
0,
56,
3,
"CONDITIONING"
],
[
80,
15,
0,
56,
4,
"CONDITIONING"
],
[
81,
16,
0,
56,
5,
"CONDITIONING"
],
[
82,
5,
0,
56,
6,
"LATENT"
],
[
83,
56,
0,
45,
0,
"LATENT"
],
[
84,
4,
0,
59,
0,
"*"
],
[
85,
4,
1,
60,
0,
"*"
],
[
88,
57,
0,
56,
0,
"MODEL"
],
[
89,
57,
1,
6,
0,
"CLIP"
],
[
90,
57,
1,
7,
0,
"CLIP"
],
[
100,
45,
0,
50,
0,
"IMAGE"
],
[
102,
59,
0,
57,
0,
"MODEL"
],
[
103,
60,
0,
57,
1,
"CLIP"
]
],
"groups": [
{
"title": "Base Prompt",
"bounding": [
320,
-287,
243,
234
],
"color": "#3f789e"
},
{
"title": "Refiner Prompt",
"bounding": [
313,
-48,
262,
233
],
"color": "#3f789e"
},
{
"title": "Text Prompts",
"bounding": [
-141,
-308,
331,
455
],
"color": "#3f789e"
},
{
"title": "Empty Latent Image",
"bounding": [
-140,
160,
343,
219
],
"color": "#a1309b"
}
],
"config": {},
"extra": {},
"version": 0.4
}