comfy-anything / workflows /photoshop-stable-diffusion.json
martintomov's picture
workflows
6286aa4 verified
raw
history blame contribute delete
No virus
14 kB
{
"last_node_id": 85,
"last_link_id": 200,
"nodes": [
{
"id": 11,
"type": "VAEEncode",
"pos": [
2423.741632634943,
692.4216912640023
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 183
},
{
"name": "vae",
"type": "VAE",
"link": 13
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
14
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 4,
"type": "VAELoader",
"pos": [
1907.3100676733598,
420.31052752959806
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
9,
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"vae-ft-mse-840000-ema-pruned.ckpt"
]
},
{
"id": 84,
"type": "ControlNetLoader",
"pos": [
2380,
850
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
189
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_sd15_depth.pth"
]
},
{
"id": 10,
"type": "CLIPTextEncode",
"pos": [
2370,
387
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 187
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
191
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"3d, render, naked, nsfw, illustration"
]
},
{
"id": 83,
"type": "ControlNetApplyAdvanced",
"pos": [
2373,
977
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 193
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 191
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 189,
"slot_index": 2
},
{
"name": "image",
"type": "IMAGE",
"link": 190
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
194
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
192
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 1,
"type": "PhotoshopToComfyUI",
"pos": [
1903,
570
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90,
182
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "PhotoshopToComfyUI"
},
"widgets_values": [
"12341234",
false
]
},
{
"id": 82,
"type": "Image Resize",
"pos": [
1906,
753
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 182
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
183
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Resize"
},
"widgets_values": [
"rescale",
"true",
"lanczos",
1,
1024,
1024
]
},
{
"id": 33,
"type": "ImageResize+",
"pos": [
1900,
983
],
"size": {
"0": 315,
"1": 194
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 90
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
67
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
512,
512,
"nearest",
false,
"always"
]
},
{
"id": 27,
"type": "MiDaS-DepthMapPreprocessor",
"pos": [
1906,
1235
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 67
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
190
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MiDaS-DepthMapPreprocessor"
},
"widgets_values": [
6.283185307179586,
0.1,
512
]
},
{
"id": 85,
"type": "LoraLoader",
"pos": [
1902,
48
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 200
},
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
199
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"LCM_pytorch_lora_weights-15.safetensors",
1,
1
]
},
{
"id": 3,
"type": "CheckpointLoaderSimple",
"pos": [
1906,
260
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
200
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
186,
187
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"epicrealism_naturalSin.safetensors"
]
},
{
"id": 6,
"type": "KSampler",
"pos": [
2839,
159
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 199
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 194
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 192
},
{
"name": "latent_image",
"type": "LATENT",
"link": 14
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
3610723765397,
"fixed",
8,
1.4000000000000001,
"lcm",
"normal",
1
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
2369,
130
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 186
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
193
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a photo of a young woman"
]
},
{
"id": 7,
"type": "VAEDecode",
"pos": [
2897,
498
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 10
},
{
"name": "vae",
"type": "VAE",
"link": 9
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11,
15
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
3198,
272
],
"size": {
"0": 578.3255615234375,
"1": 648.6615600585938
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 12,
"type": "PreviewPopup",
"pos": [
3206,
170
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 15
}
],
"properties": {
"Node name for S&R": "PreviewPopup"
}
}
],
"links": [
[
9,
4,
0,
7,
1,
"VAE"
],
[
10,
6,
0,
7,
0,
"LATENT"
],
[
11,
7,
0,
8,
0,
"IMAGE"
],
[
13,
4,
0,
11,
1,
"VAE"
],
[
14,
11,
0,
6,
3,
"LATENT"
],
[
15,
7,
0,
12,
0,
"IMAGE"
],
[
67,
33,
0,
27,
0,
"IMAGE"
],
[
90,
1,
0,
33,
0,
"IMAGE"
],
[
182,
1,
0,
82,
0,
"IMAGE"
],
[
183,
82,
0,
11,
0,
"IMAGE"
],
[
186,
3,
1,
9,
0,
"CLIP"
],
[
187,
3,
1,
10,
0,
"CLIP"
],
[
189,
84,
0,
83,
2,
"CONTROL_NET"
],
[
190,
27,
0,
83,
3,
"IMAGE"
],
[
191,
10,
0,
83,
1,
"CONDITIONING"
],
[
192,
83,
1,
6,
2,
"CONDITIONING"
],
[
193,
9,
0,
83,
0,
"CONDITIONING"
],
[
194,
83,
0,
6,
1,
"CONDITIONING"
],
[
199,
85,
0,
6,
0,
"MODEL"
],
[
200,
3,
0,
85,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}