Files
StyleRef-styleref-comfyui/workflows/02-consistency-grid.json
T
BehzadandClaude Sonnet 5 cca9661dd1 Initial commit: StyleRef nodes for ComfyUI
Load, Apply, Facets, Reference Images, and Login nodes for loading StyleRef
creative styles into ComfyUI graphs. Zero runtime dependencies.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 21:47:56 +02:00

1586 lines
25 KiB
JSON

{
"last_node_id": 30,
"last_link_id": 42,
"nodes": [
{
"id": 1,
"type": "Note",
"pos": [
40,
60
],
"size": [
320,
216
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"Node name for S&R": "Note"
},
"widgets_values": [
"Consistency grid \u2014 no account needed.\nOne style feeds three Apply nodes with three different subjects; each renders through its own sampler. Queue once and compare: one style, many subjects, a coherent set within this model.\nChange any subject, or swap the style on StyleRef Load, and queue again."
],
"title": "Consistency grid"
},
{
"id": 2,
"type": "StyleRefLoad",
"pos": [
40,
324
],
"size": [
320,
248
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "style",
"type": "STYLEREF_STYLE",
"links": [
1,
15,
29
],
"slot_index": 0
},
{
"name": "search_results",
"type": "STRING",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "StyleRefLoad"
},
"widgets_values": [
"9a2adtz6-cd8d77ee2f51",
"",
"any",
true,
false
]
},
{
"id": 3,
"type": "CheckpointLoaderSimple",
"pos": [
40,
620
],
"size": [
320,
160
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
8,
22,
36
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
6,
7,
20,
21,
34,
35
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
13,
27,
41
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_1.0.safetensors"
]
},
{
"id": 4,
"type": "StyleRefApply",
"pos": [
420,
60
],
"size": [
320,
424
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "style",
"type": "STYLEREF_STYLE",
"link": 1
}
],
"outputs": [
{
"name": "positive",
"type": "STRING",
"links": [
2,
4
],
"slot_index": 0
},
{
"name": "negative",
"type": "STRING",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "attribution",
"type": "STRING",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "StyleRefApply"
},
"widgets_values": [
"a lighthouse on a rocky shore at dawn",
"diffusion",
"",
false,
"",
true
],
"title": "Subject 1"
},
{
"id": 5,
"type": "PreviewAny",
"pos": [
420,
532
],
"size": [
320,
84
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 2
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"title": "Compiled positive 1"
},
{
"id": 6,
"type": "PreviewAny",
"pos": [
420,
664
],
"size": [
320,
84
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 3
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"title": "Compiled negative 1"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
800,
60
],
"size": [
320,
198
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
},
{
"name": "text",
"type": "STRING",
"link": 4
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "Positive (from StyleRef)"
},
{
"id": 8,
"type": "CLIPTextEncode",
"pos": [
800,
306
],
"size": [
320,
198
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 7
},
{
"name": "text",
"type": "STRING",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
10
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "Negative (from StyleRef)"
},
{
"id": 9,
"type": "EmptyLatentImage",
"pos": [
800,
552
],
"size": [
320,
168
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 10,
"type": "KSampler",
"pos": [
1180,
60
],
"size": [
320,
352
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 8
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 9
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 10
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
12
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"randomize",
25,
7.0,
"euler",
"normal",
1.0
]
},
{
"id": 11,
"type": "VAEDecode",
"pos": [
1560,
60
],
"size": [
320,
108
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 12
},
{
"name": "vae",
"type": "VAE",
"link": 13
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 12,
"type": "SaveImage",
"pos": [
1560,
216
],
"size": [
320,
112
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"StyleRef"
]
},
{
"id": 13,
"type": "StyleRefApply",
"pos": [
420,
796
],
"size": [
320,
424
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "style",
"type": "STYLEREF_STYLE",
"link": 15
}
],
"outputs": [
{
"name": "positive",
"type": "STRING",
"links": [
16,
18
],
"slot_index": 0
},
{
"name": "negative",
"type": "STRING",
"links": [
17,
19
],
"slot_index": 1
},
{
"name": "attribution",
"type": "STRING",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "StyleRefApply"
},
"widgets_values": [
"a quiet street cafe in the rain",
"diffusion",
"",
false,
"",
true
],
"title": "Subject 2"
},
{
"id": 14,
"type": "PreviewAny",
"pos": [
420,
1268
],
"size": [
320,
84
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 16
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"title": "Compiled positive 2"
},
{
"id": 15,
"type": "PreviewAny",
"pos": [
420,
1400
],
"size": [
320,
84
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 17
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"title": "Compiled negative 2"
},
{
"id": 16,
"type": "CLIPTextEncode",
"pos": [
800,
768
],
"size": [
320,
198
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 20
},
{
"name": "text",
"type": "STRING",
"link": 18
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
23
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "Positive (from StyleRef)"
},
{
"id": 17,
"type": "CLIPTextEncode",
"pos": [
800,
1014
],
"size": [
320,
198
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 21
},
{
"name": "text",
"type": "STRING",
"link": 19
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
24
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "Negative (from StyleRef)"
},
{
"id": 18,
"type": "EmptyLatentImage",
"pos": [
800,
1260
],
"size": [
320,
168
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
25
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 19,
"type": "KSampler",
"pos": [
1180,
460
],
"size": [
320,
352
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 22
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 23
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 24
},
{
"name": "latent_image",
"type": "LATENT",
"link": 25
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
26
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"randomize",
25,
7.0,
"euler",
"normal",
1.0
]
},
{
"id": 20,
"type": "VAEDecode",
"pos": [
1560,
376
],
"size": [
320,
108
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 26
},
{
"name": "vae",
"type": "VAE",
"link": 27
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
28
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 21,
"type": "SaveImage",
"pos": [
1560,
532
],
"size": [
320,
112
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 28
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"StyleRef"
]
},
{
"id": 22,
"type": "StyleRefApply",
"pos": [
420,
1532
],
"size": [
320,
424
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "style",
"type": "STYLEREF_STYLE",
"link": 29
}
],
"outputs": [
{
"name": "positive",
"type": "STRING",
"links": [
30,
32
],
"slot_index": 0
},
{
"name": "negative",
"type": "STRING",
"links": [
31,
33
],
"slot_index": 1
},
{
"name": "attribution",
"type": "STRING",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "StyleRefApply"
},
"widgets_values": [
"a hot air balloon over desert dunes",
"diffusion",
"",
false,
"",
true
],
"title": "Subject 3"
},
{
"id": 23,
"type": "PreviewAny",
"pos": [
420,
2004
],
"size": [
320,
84
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 30
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"title": "Compiled positive 3"
},
{
"id": 24,
"type": "PreviewAny",
"pos": [
420,
2136
],
"size": [
320,
84
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 31
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"title": "Compiled negative 3"
},
{
"id": 25,
"type": "CLIPTextEncode",
"pos": [
800,
1476
],
"size": [
320,
198
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 34
},
{
"name": "text",
"type": "STRING",
"link": 32
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
37
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "Positive (from StyleRef)"
},
{
"id": 26,
"type": "CLIPTextEncode",
"pos": [
800,
1722
],
"size": [
320,
198
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 35
},
{
"name": "text",
"type": "STRING",
"link": 33
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
38
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "Negative (from StyleRef)"
},
{
"id": 27,
"type": "EmptyLatentImage",
"pos": [
800,
1968
],
"size": [
320,
168
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
39
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 28,
"type": "KSampler",
"pos": [
1180,
860
],
"size": [
320,
352
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 36
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 37
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 38
},
{
"name": "latent_image",
"type": "LATENT",
"link": 39
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"randomize",
25,
7.0,
"euler",
"normal",
1.0
]
},
{
"id": 29,
"type": "VAEDecode",
"pos": [
1560,
692
],
"size": [
320,
108
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 40
},
{
"name": "vae",
"type": "VAE",
"link": 41
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
42
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 30,
"type": "SaveImage",
"pos": [
1560,
848
],
"size": [
320,
112
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 42
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"StyleRef"
]
}
],
"links": [
[
1,
2,
0,
4,
0,
"STYLEREF_STYLE"
],
[
2,
4,
0,
5,
0,
"STRING"
],
[
3,
4,
1,
6,
0,
"STRING"
],
[
4,
4,
0,
7,
1,
"STRING"
],
[
5,
4,
1,
8,
1,
"STRING"
],
[
6,
3,
1,
7,
0,
"CLIP"
],
[
7,
3,
1,
8,
0,
"CLIP"
],
[
8,
3,
0,
10,
0,
"MODEL"
],
[
9,
7,
0,
10,
1,
"CONDITIONING"
],
[
10,
8,
0,
10,
2,
"CONDITIONING"
],
[
11,
9,
0,
10,
3,
"LATENT"
],
[
12,
10,
0,
11,
0,
"LATENT"
],
[
13,
3,
2,
11,
1,
"VAE"
],
[
14,
11,
0,
12,
0,
"IMAGE"
],
[
15,
2,
0,
13,
0,
"STYLEREF_STYLE"
],
[
16,
13,
0,
14,
0,
"STRING"
],
[
17,
13,
1,
15,
0,
"STRING"
],
[
18,
13,
0,
16,
1,
"STRING"
],
[
19,
13,
1,
17,
1,
"STRING"
],
[
20,
3,
1,
16,
0,
"CLIP"
],
[
21,
3,
1,
17,
0,
"CLIP"
],
[
22,
3,
0,
19,
0,
"MODEL"
],
[
23,
16,
0,
19,
1,
"CONDITIONING"
],
[
24,
17,
0,
19,
2,
"CONDITIONING"
],
[
25,
18,
0,
19,
3,
"LATENT"
],
[
26,
19,
0,
20,
0,
"LATENT"
],
[
27,
3,
2,
20,
1,
"VAE"
],
[
28,
20,
0,
21,
0,
"IMAGE"
],
[
29,
2,
0,
22,
0,
"STYLEREF_STYLE"
],
[
30,
22,
0,
23,
0,
"STRING"
],
[
31,
22,
1,
24,
0,
"STRING"
],
[
32,
22,
0,
25,
1,
"STRING"
],
[
33,
22,
1,
26,
1,
"STRING"
],
[
34,
3,
1,
25,
0,
"CLIP"
],
[
35,
3,
1,
26,
0,
"CLIP"
],
[
36,
3,
0,
28,
0,
"MODEL"
],
[
37,
25,
0,
28,
1,
"CONDITIONING"
],
[
38,
26,
0,
28,
2,
"CONDITIONING"
],
[
39,
27,
0,
28,
3,
"LATENT"
],
[
40,
28,
0,
29,
0,
"LATENT"
],
[
41,
3,
2,
29,
1,
"VAE"
],
[
42,
29,
0,
30,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"styleref": {
"notes": "Generated by scripts/build_workflows.py \u2014 edit the script, not this file."
}
},
"version": 0.4,
"models": [
{
"name": "sd_xl_base_1.0.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors",
"directory": "checkpoints"
}
]
}