Skip to content

Instantly share code, notes, and snippets.

@cmsj
Created March 6, 2026 23:28
Show Gist options
  • Select an option

  • Save cmsj/2c8a3398c503b5919026f94c2adaf99e to your computer and use it in GitHub Desktop.

Select an option

Save cmsj/2c8a3398c503b5919026f94c2adaf99e to your computer and use it in GitHub Desktop.
{
"id": "042b2726-22b8-409e-8d7a-bf10de6bec3d",
"revision": 0,
"last_node_id": 13,
"last_link_id": 20,
"nodes": [
{
"id": 1,
"type": "PrimitiveBoolean",
"pos": [
724.5699880258624,
-381.9497384702081
],
"size": [
324,
164.390625
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "BOOLEAN",
"type": "BOOLEAN",
"links": [
18
]
}
],
"title": "Allow NSFW",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "PrimitiveBoolean"
},
"widgets_values": [
true
]
},
{
"id": 2,
"type": "Basic data handling: IfElse",
"pos": [
1094.7837714875373,
-665.235699514237
],
"size": [
324,
193.1875
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "if_true",
"type": "*",
"link": 20
},
{
"name": "if_false",
"type": "*",
"link": 10
},
{
"name": "condition",
"type": "BOOLEAN",
"widget": {
"name": "condition"
},
"link": 18
}
],
"outputs": [
{
"name": "result",
"type": "*",
"links": [
11
]
}
],
"properties": {
"cnr_id": "basic_data_handling",
"ver": "1.4.0",
"Node name for S&R": "Basic data handling: IfElse"
},
"widgets_values": [
true
]
},
{
"id": 8,
"type": "LoadImage",
"pos": [
324.89288667675896,
-568.9847625742705
],
"size": [
328.890625,
542.484375
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"old_lady_wearing_highvis_jacket_and_hard_hat_holding_a_sign_that_says_NO_NSFW.png",
"image"
]
},
{
"id": 9,
"type": "NSFWDetection",
"pos": [
695.3514562547505,
-592.8539386929276
],
"size": [
324,
193.1875
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 19
},
{
"name": "alternative_image",
"type": "IMAGE",
"link": 14
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfyui-nsfw-detection",
"ver": "1.0.1",
"Node name for S&R": "NSFWDetection"
},
"widgets_values": [
0.9
]
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
1470.6995937479282,
-664.460985186465
],
"size": [
270,
414
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 13,
"type": "LoadImage",
"pos": [
433.4581795066093,
-633.9789298038011
],
"size": [
225,
42
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19,
20
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"big_ass_titties.png",
"image"
]
}
],
"links": [
[
10,
9,
0,
2,
1,
"*"
],
[
11,
2,
0,
11,
0,
"IMAGE"
],
[
14,
8,
0,
9,
1,
"IMAGE"
],
[
18,
1,
0,
2,
2,
"BOOLEAN"
],
[
19,
13,
0,
9,
0,
"IMAGE"
],
[
20,
13,
0,
2,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7599906361082023,
"offset": [
371.5295572143234,
1043.7494909129355
]
},
"workflowRendererVersion": "Vue",
"frontendVersion": "1.33.13"
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment