What Is an AI Image Safety Checker? How NSFW Filters Work
A safety checker is an image classifier that runs after generation. If it scores an image as likely to contain restricted content, the service blurs it, blocks it or shows a black image instead.
Where they appear
Early Stable Diffusion releases shipped with a safety checker that returned black images for detected nudity. Hosted services run their own, often stricter, classifiers on every output.
Why false positives happen
Classifiers judge pixels without understanding context. Skin-coloured textures, swimwear, classical sculpture or anatomy diagrams can trigger them. Horror images with red tones can be flagged for gore.
Prompt filters vs safety checkers
- Prompt filters stop a request before generation, based on the words used.
- Safety checkers judge the finished image.
Many services use both. See why AI image generators block prompts.
In uncensored generators
Broad nudity and gore checkers are typically replaced by opt-in adult modes, while narrow checks for illegal content stay in place. Running models locally, no checker runs unless you add one. Compare in uncensored vs filtered image generators.
Related
More terms: Checkpoint · Content credentials · Diffusion model · Image-to-image · Inpainting · LoRA · Full glossary