随机数种子

This commit is contained in:
2023-06-23 02:31:45 +08:00
parent 8e874f7d0f
commit fa2102af38
3 changed files with 4 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ func ImagesPost(w http.ResponseWriter, r *http.Request) {
Steps int `json:"steps"` // 推理步数
CfgScale int `json:"cfg_scale"` // 引导比例
Scheduler string `json:"scheduler"` // 调度器
Seed string `json:"seed"` // 随机种子(单张图生成时使用)
Seed int `json:"seed"` // 随机种子(单张图生成时使用)
NIter int `json:"n_iter"` // 生成数量
ModelID int `json:"model_id"` // 模型ID
}{}