You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KeCheng/BaiHu/Doc/如何激活API重新启动SD.md

466 B

https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/14135 add to args in webui-user.bat --api-server-stop to activate endpoints:

/sdapi/v1/server-kill
/sdapi/v1/server-restart
/sdapi/v1/server-stop

添加启动参数

def main(): import sys # --api-server-stop #sys.argv.append("--no-half") sys.argv.append("--api-server-stop")

if args.dump_sysinfo:
    filename = launch_utils.dump_sysinfo()