control-lora / comfy-control-LoRA-workflows /control-lora-recolor-basic_example.json
MysteryGuitarMan's picture
comfy basic example workflows
6a20507
{
"last_node_id": 22,
"last_link_id": 29,
"nodes": [
{
"id": 9,
"type": "ControlNetLoader",
"pos": [
80,
290
],
"size": {
"0": 330,
"1": 60
},
"flags": {
"pinned": false
},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control-lora/control-lora-recolor-rank256.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [
80,
390
],
"size": {
"0": 330,
"1": 100
},
"flags": {
"pinned": false
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
5,
6
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
15
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_1.0.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 7,
"type": "LoadImage",
"pos": [
80,
530
],
"size": {
"0": 250,
"1": 320
},
"flags": {
"pinned": false
},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
20
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"",
"image"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
340,
530
],
"size": {
"0": 400,
"1": 150
},
"flags": {
"pinned": false
},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
10
],
"slot_index": 0
}
],
"title": "Positive Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"color photograph, detailed, DSLR, natural skin, highly detailed"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
340,
720
],
"size": {
"0": 400,
"1": 130
},
"flags": {
"pinned": false
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
11
],
"slot_index": 0
}
],
"title": "Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"oversaturated, grayscale, blurry, color cast, faded, old, washed out, low quality, lackluster"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 1,
"type": "KSampler",
"pos": [
750,
530
],
"size": {
"0": 290,
"1": 320
},
"flags": {
"pinned": false
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 2
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 29
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1,
"fixed",
30,
8,
"euler_ancestral",
"normal",
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 8,
"type": "SaveImage",
"pos": [
1050,
130
],
"size": {
"0": 670,
"1": 720
},
"flags": {
"pinned": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 22
}
],
"properties": {},
"widgets_values": [
"comfyui-cn-recolor"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 21,
"type": "ImageScaleToTotalPixels",
"pos": [
80,
250
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25,
26,
27,
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"nearest-exact",
1
]
},
{
"id": 18,
"type": "ColorCorrect",
"pos": [
280,
250
],
"size": {
"0": 315,
"1": 178
},
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 20
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ColorCorrect"
},
"widgets_values": [
0,
0,
0,
0,
-100,
1
]
},
{
"id": 10,
"type": "ControlNetApplyAdvanced",
"pos": [
670,
320
],
"size": {
"0": 230,
"1": 170
},
"flags": {
"pinned": false
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 10
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 11
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 12
},
{
"name": "image",
"type": "IMAGE",
"link": 25
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
2
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
3
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 22,
"type": "PreviewImage",
"pos": [
420,
240
],
"size": [
240,
250
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 27
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 11,
"type": "VAEEncode",
"pos": [
910,
490
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 28
},
{
"name": "vae",
"type": "VAE",
"link": 15
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
29
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 6,
"type": "VAEDecode",
"pos": [
910,
450
],
"size": {
"0": 320,
"1": 50
},
"flags": {
"pinned": false,
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 14,
"type": "ColorBlend",
"pos": [
910,
410
],
"size": {
"0": 216.59999084472656,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "bw_layer",
"type": "IMAGE",
"link": 26,
"slot_index": 0
},
{
"name": "color_layer",
"type": "IMAGE",
"link": 19,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ColorBlend"
}
}
],
"links": [
[
1,
2,
0,
1,
0,
"MODEL"
],
[
2,
10,
0,
1,
1,
"CONDITIONING"
],
[
3,
10,
1,
1,
2,
"CONDITIONING"
],
[
5,
2,
1,
4,
0,
"CLIP"
],
[
6,
2,
1,
5,
0,
"CLIP"
],
[
7,
1,
0,
6,
0,
"LATENT"
],
[
8,
2,
2,
6,
1,
"VAE"
],
[
10,
4,
0,
10,
0,
"CONDITIONING"
],
[
11,
5,
0,
10,
1,
"CONDITIONING"
],
[
12,
9,
0,
10,
2,
"CONTROL_NET"
],
[
15,
2,
2,
11,
1,
"VAE"
],
[
19,
6,
0,
14,
1,
"IMAGE"
],
[
20,
7,
0,
18,
0,
"IMAGE"
],
[
22,
14,
0,
8,
0,
"IMAGE"
],
[
24,
18,
0,
21,
0,
"IMAGE"
],
[
25,
21,
0,
10,
3,
"IMAGE"
],
[
26,
21,
0,
14,
0,
"IMAGE"
],
[
27,
21,
0,
22,
0,
"IMAGE"
],
[
28,
21,
0,
11,
0,
"IMAGE"
],
[
29,
11,
0,
1,
3,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}