Created
June 18, 2024 19:58
-
-
Save victorchall/4a3fc594f854f0090941a33c53ad0d9a to your computer and use it in GitHub Desktop.
SD3 2B "nsfw negative" A/B/C test workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"last_node_id": 67, | |
"last_link_id": 131, | |
"nodes": [ | |
{ | |
"id": 8, | |
"type": "VAEDecode", | |
"pos": [ | |
1200, | |
96 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 11, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 7 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 53, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
51 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 51, | |
"type": "Note", | |
"pos": [ | |
-48, | |
240 | |
], | |
"size": { | |
"0": 384, | |
"1": 192 | |
}, | |
"flags": {}, | |
"order": 0, | |
"mode": 0, | |
"properties": { | |
"text": "" | |
}, | |
"widgets_values": [ | |
"sd3_medium_incl_clips.safetensors and sd3_medium_incl_clips_t5xxlfp8.safetensors will work with this workflow, just make sure they are in your ComfyUI/models/checkpoints folder." | |
], | |
"color": "#432", | |
"bgcolor": "#653" | |
}, | |
{ | |
"id": 9, | |
"type": "SaveImage", | |
"pos": [ | |
1579, | |
-6 | |
], | |
"size": { | |
"0": 952.5112915039062, | |
"1": 1007.9328002929688 | |
}, | |
"flags": {}, | |
"order": 14, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 51, | |
"slot_index": 0 | |
} | |
], | |
"properties": {}, | |
"widgets_values": [ | |
"ComfyUI" | |
] | |
}, | |
{ | |
"id": 59, | |
"type": "PreviewImage", | |
"pos": [ | |
2589, | |
-1 | |
], | |
"size": { | |
"0": 952.792724609375, | |
"1": 1009.1732788085938 | |
}, | |
"flags": {}, | |
"order": 15, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 112 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 53, | |
"type": "EmptySD3LatentImage", | |
"pos": [ | |
889, | |
443 | |
], | |
"size": { | |
"0": 315, | |
"1": 106 | |
}, | |
"flags": {}, | |
"order": 1, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
100, | |
121, | |
124 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "EmptySD3LatentImage" | |
}, | |
"widgets_values": [ | |
1024, | |
1024, | |
1 | |
] | |
}, | |
{ | |
"id": 56, | |
"type": "VAEDecode", | |
"pos": [ | |
1280, | |
782 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 12, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 119 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 120, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
112 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 66, | |
"type": "PreviewImage", | |
"pos": [ | |
3584, | |
2 | |
], | |
"size": { | |
"0": 952.792724609375, | |
"1": 1009.1732788085938 | |
}, | |
"flags": {}, | |
"order": 16, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 126 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 62, | |
"type": "KSampler", | |
"pos": [ | |
874, | |
640 | |
], | |
"size": { | |
"0": 315, | |
"1": 262 | |
}, | |
"flags": {}, | |
"order": 9, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 122, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 127 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 118 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 121 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
119 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
48, | |
"increment", | |
40, | |
5.45, | |
"euler", | |
"sgm_uniform", | |
1 | |
] | |
}, | |
{ | |
"id": 3, | |
"type": "KSampler", | |
"pos": [ | |
864, | |
96 | |
], | |
"size": { | |
"0": 315, | |
"1": 262 | |
}, | |
"flags": {}, | |
"order": 8, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 99, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 21 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 80 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 100 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
7 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
48, | |
"increment", | |
40, | |
5.45, | |
"euler", | |
"sgm_uniform", | |
1 | |
] | |
}, | |
{ | |
"id": 40, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
398, | |
370 | |
], | |
"size": [ | |
431.52875357955156, | |
116.45462867208585 | |
], | |
"flags": {}, | |
"order": 5, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 102 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
80 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"title": "Negative Prompt", | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"" | |
], | |
"color": "#322", | |
"bgcolor": "#533" | |
}, | |
{ | |
"id": 64, | |
"type": "KSampler", | |
"pos": [ | |
887, | |
961 | |
], | |
"size": { | |
"0": 315, | |
"1": 262 | |
}, | |
"flags": {}, | |
"order": 10, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 123, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 130 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 129 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 124 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
125 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
48, | |
"increment", | |
40, | |
5.45, | |
"euler", | |
"sgm_uniform", | |
1 | |
] | |
}, | |
{ | |
"id": 65, | |
"type": "VAEDecode", | |
"pos": [ | |
1271, | |
1058 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 13, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 125 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 131, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
126 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 63, | |
"type": "Note", | |
"pos": [ | |
1254, | |
365 | |
], | |
"size": [ | |
299.7750796625626, | |
211.19489420227842 | |
], | |
"flags": {}, | |
"order": 2, | |
"mode": 0, | |
"properties": { | |
"text": "" | |
}, | |
"widgets_values": [ | |
"Make sure both KSamplers have exactly the same configuration, including seed" | |
], | |
"color": "#432", | |
"bgcolor": "#653" | |
}, | |
{ | |
"id": 67, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
392, | |
914 | |
], | |
"size": { | |
"0": 430.41845703125, | |
"1": 134.37283325195312 | |
}, | |
"flags": {}, | |
"order": 7, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 128 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
129 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"title": "Negative Prompt", | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"ugly, deformed, zombie" | |
], | |
"color": "#322", | |
"bgcolor": "#533" | |
}, | |
{ | |
"id": 4, | |
"type": "CheckpointLoaderSimple", | |
"pos": [ | |
-48, | |
96 | |
], | |
"size": { | |
"0": 384.75592041015625, | |
"1": 98 | |
}, | |
"flags": {}, | |
"order": 3, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
99, | |
122, | |
123 | |
], | |
"slot_index": 0 | |
}, | |
{ | |
"name": "CLIP", | |
"type": "CLIP", | |
"links": [ | |
101, | |
102, | |
116, | |
128 | |
], | |
"slot_index": 1 | |
}, | |
{ | |
"name": "VAE", | |
"type": "VAE", | |
"links": [ | |
53, | |
120, | |
131 | |
], | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CheckpointLoaderSimple" | |
}, | |
"widgets_values": [ | |
"sd3_medium_incl_clips_t5xxlfp16.safetensors" | |
] | |
}, | |
{ | |
"id": 60, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
397, | |
656 | |
], | |
"size": [ | |
430.41844632073196, | |
134.37283757559203 | |
], | |
"flags": {}, | |
"order": 6, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 116 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
118 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"title": "Negative Prompt", | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"penis, naked, vagina" | |
], | |
"color": "#322", | |
"bgcolor": "#533" | |
}, | |
{ | |
"id": 16, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
386, | |
120 | |
], | |
"size": { | |
"0": 432, | |
"1": 192 | |
}, | |
"flags": {}, | |
"order": 4, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 101 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
21, | |
127, | |
130 | |
], | |
"slot_index": 0 | |
} | |
], | |
"title": "Positive Prompt", | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"medium shot photo of a woman standing in a park. She wears a suit and is smiling for the camera. The warm glow of a sunset is seen in the background." | |
], | |
"color": "#232", | |
"bgcolor": "#353" | |
} | |
], | |
"links": [ | |
[ | |
7, | |
3, | |
0, | |
8, | |
0, | |
"LATENT" | |
], | |
[ | |
21, | |
16, | |
0, | |
3, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
51, | |
8, | |
0, | |
9, | |
0, | |
"IMAGE" | |
], | |
[ | |
53, | |
4, | |
2, | |
8, | |
1, | |
"VAE" | |
], | |
[ | |
80, | |
40, | |
0, | |
3, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
99, | |
4, | |
0, | |
3, | |
0, | |
"MODEL" | |
], | |
[ | |
100, | |
53, | |
0, | |
3, | |
3, | |
"LATENT" | |
], | |
[ | |
101, | |
4, | |
1, | |
16, | |
0, | |
"CLIP" | |
], | |
[ | |
102, | |
4, | |
1, | |
40, | |
0, | |
"CLIP" | |
], | |
[ | |
112, | |
56, | |
0, | |
59, | |
0, | |
"IMAGE" | |
], | |
[ | |
116, | |
4, | |
1, | |
60, | |
0, | |
"CLIP" | |
], | |
[ | |
118, | |
60, | |
0, | |
62, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
119, | |
62, | |
0, | |
56, | |
0, | |
"LATENT" | |
], | |
[ | |
120, | |
4, | |
2, | |
56, | |
1, | |
"VAE" | |
], | |
[ | |
121, | |
53, | |
0, | |
62, | |
3, | |
"LATENT" | |
], | |
[ | |
122, | |
4, | |
0, | |
62, | |
0, | |
"MODEL" | |
], | |
[ | |
123, | |
4, | |
0, | |
64, | |
0, | |
"MODEL" | |
], | |
[ | |
124, | |
53, | |
0, | |
64, | |
3, | |
"LATENT" | |
], | |
[ | |
125, | |
64, | |
0, | |
65, | |
0, | |
"LATENT" | |
], | |
[ | |
126, | |
65, | |
0, | |
66, | |
0, | |
"IMAGE" | |
], | |
[ | |
127, | |
16, | |
0, | |
62, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
128, | |
4, | |
1, | |
67, | |
0, | |
"CLIP" | |
], | |
[ | |
129, | |
67, | |
0, | |
64, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
130, | |
16, | |
0, | |
64, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
131, | |
4, | |
2, | |
65, | |
1, | |
"VAE" | |
] | |
], | |
"groups": [ | |
{ | |
"title": "No Negative", | |
"bounding": [ | |
1561, | |
-94, | |
989, | |
1126 | |
], | |
"color": "#3f789e", | |
"font_size": 24 | |
}, | |
{ | |
"title": "NSFW Negative", | |
"bounding": [ | |
2572, | |
-88, | |
984, | |
1120 | |
], | |
"color": "#3f789e", | |
"font_size": 24 | |
}, | |
{ | |
"title": "Other Negative", | |
"bounding": [ | |
3573, | |
-95, | |
977, | |
1132 | |
], | |
"color": "#3f789e", | |
"font_size": 24 | |
} | |
], | |
"config": {}, | |
"extra": { | |
"ds": { | |
"scale": 0.7513148009015783, | |
"offset": [ | |
25.24561963646697, | |
-10.198755724670336 | |
] | |
} | |
}, | |
"version": 0.4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment