ComfyUI/workflows/img2img.json
2024-11-15 11:30:05 +08:00

854 lines
14 KiB
JSON

{
"last_node_id": 111,
"last_link_id": 183,
"nodes": [
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": {
"0": 1850,
"1": 430
},
"size": {
"0": 355.20001220703125,
"1": 106
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 86,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 60,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 165,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": [],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 50,
"type": "RandomNoise",
"pos": {
"0": 1870,
"1": 280
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
86
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
820514797502403,
"randomize"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 22,
"type": "BasicGuider",
"pos": {
"0": 1530,
"1": 360
},
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 39,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 40,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": [],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 38,
"type": "SplitSigmas",
"pos": {
"0": 1450,
"1": 750
},
"size": {
"0": 320,
"1": 80
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "sigmas",
"type": "SIGMAS",
"link": 59
}
],
"outputs": [
{
"name": "high_sigmas",
"type": "SIGMAS",
"links": [],
"slot_index": 0,
"shape": 3
},
{
"name": "low_sigmas",
"type": "SIGMAS",
"links": [
60
],
"slot_index": 1,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SplitSigmas"
},
"widgets_values": [
0
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 94,
"type": "VAEEncode",
"pos": {
"0": 1540,
"1": 510
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 176
},
{
"name": "vae",
"type": "VAE",
"link": 166
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
165
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": [],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 102,
"type": "SaveImage",
"pos": {
"0": 2341,
"1": 563
},
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 177
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 1990,
"1": 590
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
177
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": [],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": {
"0": 1540,
"1": 250
},
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 10
},
{
"name": "text",
"type": "STRING",
"link": 181,
"slot_index": 1,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"line dog, running fast"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 17,
"type": "BasicScheduler",
"pos": {
"0": 1090,
"1": 750
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 38,
"slot_index": 0
},
{
"name": "denoise",
"type": "FLOAT",
"link": 183,
"slot_index": 1,
"widget": {
"name": "denoise"
}
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
59
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"sgm_uniform",
4,
0.5
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 96,
"type": "Note",
"pos": {
"0": 216,
"1": 810
},
"size": {
"0": 400.74481201171875,
"1": 249.48805236816406
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"text": ""
},
"widgets_values": [
"Set Denoise / input image likeness here.\nNumber range from 0.01 to 1.0\nLower denoise gives more likeness to the input image."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 111,
"type": "PrimitiveNode",
"pos": {
"0": 674,
"1": 449
},
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
183
],
"widget": {
"name": "denoise"
}
}
],
"title": "denoise",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
0.5,
"fixed"
]
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": {
"0": 1450,
"1": 630
},
"size": {
"0": 320,
"1": 60
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"deis"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 82,
"type": "LoadImage",
"pos": {
"0": 60,
"1": 80
},
"size": {
"0": 558.6259765625,
"1": 602.1386108398438
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
176
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"3.png",
"image"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 110,
"type": "PrimitiveNode",
"pos": {
"0": 658,
"1": 113
},
"size": {
"0": 376.3177185058594,
"1": 292.039306640625
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
181
],
"widget": {
"name": "text"
}
}
],
"title": "Prompt",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"line dog, running fast"
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": {
"0": 680,
"1": 640
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
38,
39
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev.safetensors",
"fp8_e4m3fn"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": {
"0": 690,
"1": 781
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
10
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp8_e4m3fn.safetensors",
"clip_l.safetensors",
"flux"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 10,
"type": "VAELoader",
"pos": {
"0": 680,
"1": 940
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
166
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
10,
11,
0,
6,
0,
"CLIP"
],
[
12,
10,
0,
8,
1,
"VAE"
],
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
38,
12,
0,
17,
0,
"MODEL"
],
[
39,
12,
0,
22,
0,
"MODEL"
],
[
40,
6,
0,
22,
1,
"CONDITIONING"
],
[
59,
17,
0,
38,
0,
"SIGMAS"
],
[
60,
38,
1,
13,
3,
"SIGMAS"
],
[
86,
50,
0,
13,
0,
"NOISE"
],
[
165,
94,
0,
13,
4,
"LATENT"
],
[
166,
10,
0,
94,
1,
"VAE"
],
[
176,
82,
0,
94,
0,
"IMAGE"
],
[
177,
8,
0,
102,
0,
"IMAGE"
],
[
181,
110,
0,
6,
1,
"STRING"
],
[
183,
111,
0,
17,
1,
"FLOAT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9646149645000011,
"offset": [
-1565.2933119199051,
-70.39640290290775
]
}
},
"version": 0.4
}