Does the serverless SD API's have NSFW filter turned on?
Looking to see if the NSFW filter is turned on for the API endpoints.
4 Replies
It is for this one:
https://github.com/runpod-workers/worker-stable_diffusion_v1/blob/main/src/predict.py#L156
GitHub
worker-stable_diffusion_v1/src/predict.py at main · runpod-workers/...
🖼️ | RunPod worker for all Stable Diffusion v1 endpoints. - runpod-workers/worker-stable_diffusion_v1
You can enable/disable it
This one also has it:
https://github.com/runpod-workers/worker-stable_diffusion_v2/blob/main/src/predict.py#L72
GitHub
worker-stable_diffusion_v2/src/predict.py at main · runpod-workers/...
🖼️ | RunPod worker for the Stable Diffusion v2 endpoints. - runpod-workers/worker-stable_diffusion_v2
Kadinsky and SDXL workers don't appear to have it though.