sdwebui: add use_https startarg

This commit is contained in:
lanvent
2023-03-28 17:36:05 +08:00
parent d6af1b5827
commit 72dbddb7f7
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
{
"start":{
"host" : "127.0.0.1",
"port" : 7860
"port" : 7860,
"use_https" : false
},
"defaults": {
"params": {

View File

@@ -18,8 +18,9 @@ pip install webuiapi
## 使用说明
请将`config.json.template`复制为`config.json`,并修改其中的参数和规则。(如果修改了webui的`host`和`port`,也需要在配置文件中更改)
请将`config.json.template`复制为`config.json`,并修改其中的参数和规则。
PS: 如果修改了webui的`host`和`port`,也需要在配置文件中更改启动参数, 更多启动参数参考https://github.com/mix1009/sdwebuiapi/blob/a1cb4c6d2f39389d6e962f0e6436f4aa74cd752c/webuiapi/webuiapi.py#L114
### 画图请求格式
用户的画图请求格式为: