Nodes/shima_wf/Shima NSFW Checker
ComfyUI Node

Shima NSFW Checker

A ComfyUI node in Shima/System with 13 inputs and 7 outputs.

By KDB-USJP·Created 5 months ago·Updated 5 months ago· 1
Shima NSFW Checker
  • image
  • UNGRADED_IMAGE
  • CENSORED_IMAGE
  • NO_BUG_IMAGE
  • CENSOR_MASK
  • NSFW_SCORE
  • RATING_INFO
  • IS_BLOCKED
rating_thresholdPG13
preview_modemosaic
rating_bugtrue
block_nsfwfalse
custom_threshold0.00
body_partsall
mosaic_block_size16
blur_radius21
bar_thickness60
detection_confidence0.50
rating_bug_positionbottom_right
rating_bug_size160
CategoryShima/System

Inputs (13)

NameTypeDefaultDescription
imageIMAGE
rating_thresholdCOMBOPG135 options: G, PG, PG13, R, X
preview_modeCOMBOmosaic4 options: none, blur, black_bar, mosaic
rating_bugBOOLEANtrue
block_nsfwBOOLEANfalseIf True, outputs a black image on 'IMAGE' output when unsafe content is detected.
custom_thresholdoptFLOAT0.000–1
body_partsoptCOMBOall4 options: breasts, genitals, buttocks, all
mosaic_block_sizeoptINT164–64
blur_radiusoptINT215–51
bar_thicknessoptINT6020–200
detection_confidenceoptFLOAT0.500.1–1
rating_bug_positionoptCOMBObottom_right4 options: top_left, top_right, bottom_left, bottom_right
rating_bug_sizeoptINT16040–400

Outputs (7)

NameTypeDescription
UNGRADED_IMAGEIMAGEProduction Output: Returns original image if safe, black image if unsafe+blocked.
CENSORED_IMAGEIMAGEPreview Output: Always returns the image with censorship applied (for previewing what was detected).
NO_BUG_IMAGEIMAGECensored image without the rating bug overlay.
CENSOR_MASKMASKMask showing the censored regions.
NSFW_SCOREFLOATDetected NSFW score (0.0 - 1.0).
RATING_INFOSTRINGText summary of rating and detections.
IS_BLOCKEDBOOLEANTrue if the image was blocked due to safety settings.