Skip to content

IOMisaka/sdapi-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sdapi-scripts

scripts for sdapi in Stable Diffusion web UI


CensorScript.py

modified from extension: stable-diffusion-webui-nsfw-censor

I make it running as a selectable script, so you can control NSFW content through sdapi.

NSFW check: run safety_checker, it may take seconds for checking and print results in console:

result

NSFW with mosaic: add mosaic to NSFW content:

images

SDAPI Request

add two paramters below:

txt2imgreq.script_name = "CensorScript"
txt2imgreq.script_args = [true,true]

WebUI interface

setting

About

scripts for sdapi in stable-diffusion-webui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages