littletry/nsfw-filter-custom

An adjustable image NSFW filter based on the Stable Diffusion v1.5 safety checker. Supports a configurable threshold offset while preserving the original special-care behavior.

Public
23.1K runs

Run time and cost

This model costs approximately $0.00059 to run on Replicate, or 1694 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 3 seconds. The predict time for this model varies significantly based on the inputs.

Readme

Attribution and licenses

This is an unofficial modified fork and is not affiliated with or endorsed by the original authors.

This model is based on:

The original Cog model code is licensed under the MIT License.

The Stable Diffusion v1.5 safety-checker weights are licensed under the CreativeML OpenRAIL-M License. Users must comply with its use-based restrictions.

This version adds an adjustable threshold_offset input. 0.0 matches the original threshold, while higher values make normal NSFW detection less strict. Special-care detection is not relaxed.

Model created
Model updated