feat: support custom menu

This commit is contained in:
RockYang
2024-03-29 15:41:58 +08:00
parent ab3c4562fa
commit 63e4669e3f
28 changed files with 532 additions and 59 deletions

View File

@@ -114,6 +114,7 @@ func (s *Service) Txt2Img(task types.SdTask) error {
Width: task.Params.Width,
Height: task.Params.Height,
SamplerName: task.Params.Sampler,
ForceTaskId: task.Params.TaskId,
}
if task.Params.Seed > 0 {
body.Seed = task.Params.Seed