size
This commit is contained in:
@@ -28,6 +28,7 @@ func ParamsModelsGet(w http.ResponseWriter, r *http.Request) {
|
|||||||
params["type"] = []string{"lora", "ckp", "hyper", "ti"}
|
params["type"] = []string{"lora", "ckp", "hyper", "ti"}
|
||||||
params["status"] = []string{"pending", "running", "finished", "failed"}
|
params["status"] = []string{"pending", "running", "finished", "failed"}
|
||||||
params["base_model"] = []string{"SD1.5", "SD2"}
|
params["base_model"] = []string{"SD1.5", "SD2"}
|
||||||
|
params["size"] = []string{"512x512", "768x768", "1024x768"}
|
||||||
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||||
w.Write(utils.ToJSON(params))
|
w.Write(utils.ToJSON(params))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user