Is This Image Safe For Work?

Stable Diffusion includes a (poorly-documented) safety checker.

With a few changes, it can be used with arbitrary images, not just AI-generated ones.