ComfyUI Node
Ino NSFW Detect
Classifies the image with Marqo/nsfw-image-detection-384. Returns the original image when SFW. When NSFW and blur_radius > 0, returns a Gaussian-blurred copy; set blur_radius to 0 for detect-only mode (image unchanged, is_nsfw still reflects the verdict). The model is downloaded once on first use and cached by the HuggingFace transformers cache.
Ino NSFW Detect
- image
- image
- is_nsfw
- nsfw_score
- sfw_score
- message
◄threshold0.50►
◄blur_radius30►
◄model_idMarqo/nsfw-image-detection-384►
◄use_gpufalse►
CategoryInoImageHelper
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| threshold | FLOAT | 0.500–1 | NSFW score above which the image is flagged. |
| blur_radiusopt | INT | 300–200 | Gaussian blur radius applied to flagged images. Set to 0 to skip blurring even when the image is flagged (detect-only mode). |
| model_idopt | STRING | Marqo/nsfw-image-detection-384 | HuggingFace model id. Must be an image-classification model with NSFW/SFW labels. |
| use_gpuopt | BOOLEAN | false | Run the classifier on CUDA when available. CPU is recommended to avoid evicting diffusion weights from VRAM. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| is_nsfw | BOOLEAN | — |
| nsfw_score | FLOAT | — |
| sfw_score | FLOAT | — |
| message | STRING | — |