Nodes Browser
ComfyDeploy: How ComfyUI-safety-checker works in ComfyUI?
What is ComfyUI-safety-checker?
A NSFW/Safety Checker Node for ComfyUI.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-safety-checker
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-safety-checker
A NSFW/Safety Checker Node for ComfyUI.
This node introduces a CLIP-based safety checker for identifying and handling Not Safe For Work (NSFW) content in images. It utilizes a pretrained model from CompVis https://huggingface.co/CompVis/stable-diffusion-safety-checker, specifically designed for safety checks in images. The primary objective is to ensure that generated or processed images adhere to safety guidelines by detecting and replacing inappropriate content.
Safety Checker Node
This node processes input images, either by directly connecting an image or via VAE Decode, to identify any NSFW (Not Safe For Work) content. Detected NSFW images are substituted with solid black placeholders.
Sensitivity Adjustment
The sensitivity level of the NSFW detection can be modified. Standard Value is 0.5.
| Sensitivity Level | Description | |-------------------|---------------------------------------------------| | 0 | No filtering | | 0.5 | Detection threshold for explicit nudity | | 1.0 | Sensitivity for detecting images with lingerie/underwear |