comfy-ui-workflows/text-to-image-with-refiner.json

752 lines
12 KiB
JSON

{
"last_node_id": 65,
"last_link_id": 83,
"nodes": [
{
"id": 53,
"type": "EmptyLatentImage",
"pos": [
107,
737
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
80
],
"shape": 3,
"slot_index": 0
}
],
"title": "Resolution / Batch Size",
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 63,
"type": "PrimitiveNode",
"pos": [
467,
401
],
"size": {
"0": 274.54229736328125,
"1": 162.86404418945312
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
60,
61
],
"slot_index": 0,
"widget": {
"name": "text"
}
}
],
"title": "Prompt",
"properties": {},
"widgets_values": [
"bald smiling vampire, paper art, vibrant colors, adorable, playful, dramatic lighting, high quality"
]
},
{
"id": 54,
"type": "KSampler",
"pos": [
1132,
467
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 79
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 76
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 77
},
{
"name": "latent_image",
"type": "LATENT",
"link": 78
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
54
],
"shape": 3,
"slot_index": 0
}
],
"title": "Refiner Execution",
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"fixed",
5,
8,
"dpmpp_2s_ancestral",
"normal",
0.25
]
},
{
"id": 60,
"type": "CLIPTextEncode",
"pos": [
829,
778
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 65
},
{
"name": "text",
"type": "STRING",
"link": 82,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
75
],
"shape": 3,
"slot_index": 0
}
],
"title": "Encode Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"bad quality, low quality, words, letters, text, writing, logo, signature, watermark"
]
},
{
"id": 62,
"type": "CLIPTextEncode",
"pos": [
1184,
778
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 71
},
{
"name": "text",
"type": "STRING",
"link": 83,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
77
],
"shape": 3,
"slot_index": 0
}
],
"title": "Encode Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"bad quality, low quality, words, letters, text, writing, logo, signature, watermark"
]
},
{
"id": 65,
"type": "PrimitiveNode",
"pos": [
469,
639
],
"size": {
"0": 274.54229736328125,
"1": 162.86404418945312
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
82,
83
],
"slot_index": 0,
"widget": {
"name": "text"
}
}
],
"title": "Negative Prompt",
"properties": {},
"widgets_values": [
"bad quality, low quality, words, letters, text, writing, logo, signature, watermark"
]
},
{
"id": 57,
"type": "SaveImage",
"pos": [
1711,
333
],
"size": {
"0": 540.5213012695312,
"1": 536.3268432617188
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 56
}
],
"title": "Generated Image",
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 55,
"type": "CheckpointLoaderSimple",
"pos": [
108,
540
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
79
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
70,
71
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
81
],
"shape": 3,
"slot_index": 2
}
],
"title": "Refiner",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_refiner_1.0.safetensors"
]
},
{
"id": 59,
"type": "CLIPTextEncode",
"pos": [
831,
365
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 62
},
{
"name": "text",
"type": "STRING",
"link": 60,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
74
],
"shape": 3,
"slot_index": 0
}
],
"title": "Encode Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"bald smiling vampire, paper art, vibrant colors, adorable, playful, dramatic lighting, high quality"
]
},
{
"id": 61,
"type": "CLIPTextEncode",
"pos": [
1180,
363
],
"size": {
"0": 210,
"1": 54
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 70
},
{
"name": "text",
"type": "STRING",
"link": 61,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
76
],
"shape": 3,
"slot_index": 0
}
],
"title": "Encode Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"bald smiling vampire, paper art, vibrant colors, adorable, playful, dramatic lighting, high quality"
]
},
{
"id": 56,
"type": "VAEDecode",
"pos": [
1473,
561
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 54
},
{
"name": "vae",
"type": "VAE",
"link": 81
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
56
],
"shape": 3,
"slot_index": 0
}
],
"title": "Decode Image",
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 50,
"type": "CheckpointLoaderSimple",
"pos": [
107,
339
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
73
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
62,
65
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
}
],
"title": "Model",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_1.0.safetensors"
]
},
{
"id": 52,
"type": "KSampler",
"pos": [
780,
466
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 73
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 74
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 75,
"slot_index": 2
},
{
"name": "latent_image",
"type": "LATENT",
"link": 80
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
78
],
"shape": 3,
"slot_index": 0
}
],
"title": "Model Execution",
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
102720012687561,
"randomize",
20,
8,
"dpm_2_ancestral",
"normal",
1
]
}
],
"links": [
[
54,
54,
0,
56,
0,
"LATENT"
],
[
56,
56,
0,
57,
0,
"IMAGE"
],
[
60,
63,
0,
59,
1,
"STRING"
],
[
61,
63,
0,
61,
1,
"STRING"
],
[
62,
50,
1,
59,
0,
"CLIP"
],
[
65,
50,
1,
60,
0,
"CLIP"
],
[
70,
55,
1,
61,
0,
"CLIP"
],
[
71,
55,
1,
62,
0,
"CLIP"
],
[
73,
50,
0,
52,
0,
"MODEL"
],
[
74,
59,
0,
52,
1,
"CONDITIONING"
],
[
75,
60,
0,
52,
2,
"CONDITIONING"
],
[
76,
61,
0,
54,
1,
"CONDITIONING"
],
[
77,
62,
0,
54,
2,
"CONDITIONING"
],
[
78,
52,
0,
54,
3,
"LATENT"
],
[
79,
55,
0,
54,
0,
"MODEL"
],
[
80,
53,
0,
52,
3,
"LATENT"
],
[
81,
55,
2,
56,
1,
"VAE"
],
[
82,
65,
0,
60,
1,
"STRING"
],
[
83,
65,
0,
62,
1,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}