ComfyUI Extension: ComfyUI-YoloNSFW

Authored by er1cw00

Created

Updated

1 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

A ComfyUI custom node for NSFW (Not Safe For Work) content detection using YOLO models with optional blur functionality.

Looking for a different extension?

Custom Nodes (0)

    README

    ComfyUI-YoloNSFW

    English | 中文

    A ComfyUI custom node for NSFW (Not Safe For Work) content detection using YOLO models. Automatically detect and optionally blur adult content in images.

    This node uses the Erax AI erax-ai/EraX-NSFW-V1.0 model.

    Installation

    Prerequisites

    • Python 3.10+
    • ComfyUI installed

    Install the Node

    cd ComfyUI/custom_nodes
    git clone https://github.com/er1cw00/ComfyUI-YoloNSFW.git
    cd ComfyUI-YoloNSFW
    pip install -r requirements.txt
    

    Restart ComfyUI

    Model Setup

    Models are automatically downloaded on first use and stored in:

    ComfyUI/models/nsfw/
    ├── models/
    │   └── nsfw/   
    │       ├── erax_nsfw_yolo11n.pt  # Lightweight, fastest
    │       ├── erax_nsfw_yolo11s.pt  # Balanced
    │       └── erax_nsfw_yolo11m.pt  # Best accuracy, slower
    

    Source: erax-ai/EraX-NSFW-V1.0

    Or you can manually download from the link above and place them in the directory.

    Usage

    Blur Modes

    • none: Returns original image without any blur
    • full: Applies Gaussian blur to the entire image
    • partial: Applies Gaussian blur only to detected NSFW regions (if any)

    Screenshot

    License

    MIT License

    Run ComfyUI workflows without the setup

    No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

    Learn more