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>
618 lines
10 KiB
JSON
618 lines
10 KiB
JSON
{
|
|
"last_node_id": 12,
|
|
"last_link_id": 14,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "Note",
|
|
"pos": [
|
|
40,
|
|
60
|
|
],
|
|
"size": [
|
|
320,
|
|
270
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "Note"
|
|
},
|
|
"widgets_values": [
|
|
"Quickstart \u2014 no account needed.\n1. Set your SDXL checkpoint below (a missing model offers a download).\n2. Queue. Seeds randomize, so every queue is a fresh image.\n3. Change `subject` on StyleRef Apply and queue again.\nSwap `style_ref` on StyleRef Load for any slug from https://styleref.io/gallery \u2014 or use the Search styles\u2026 button."
|
|
],
|
|
"title": "Quickstart"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "StyleRefLoad",
|
|
"pos": [
|
|
40,
|
|
378
|
|
],
|
|
"size": [
|
|
320,
|
|
248
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "style",
|
|
"type": "STYLEREF_STYLE",
|
|
"links": [
|
|
3
|
|
],
|
|
"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
|
|
],
|
|
"title": "Load \u2014 swap this slug"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
40,
|
|
674
|
|
],
|
|
"size": [
|
|
320,
|
|
160
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
8
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
6,
|
|
7
|
|
],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
13
|
|
],
|
|
"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": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "positive",
|
|
"type": "STRING",
|
|
"links": [
|
|
1,
|
|
4
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "STRING",
|
|
"links": [
|
|
2,
|
|
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
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "PreviewAny",
|
|
"pos": [
|
|
420,
|
|
532
|
|
],
|
|
"size": [
|
|
320,
|
|
84
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewAny"
|
|
},
|
|
"widgets_values": [],
|
|
"title": "Compiled positive"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "PreviewAny",
|
|
"pos": [
|
|
420,
|
|
664
|
|
],
|
|
"size": [
|
|
320,
|
|
84
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewAny"
|
|
},
|
|
"widgets_values": [],
|
|
"title": "Compiled negative"
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
4,
|
|
0,
|
|
5,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
2,
|
|
4,
|
|
1,
|
|
6,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
3,
|
|
2,
|
|
0,
|
|
4,
|
|
0,
|
|
"STYLEREF_STYLE"
|
|
],
|
|
[
|
|
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"
|
|
]
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
}
|