TASK:1、将imageToSketch接口调用转为异步 2、imageToSketch加入flux

This commit is contained in:
2025-06-13 16:37:45 +08:00
parent b6993b04c2
commit 174d1bf0d0
8 changed files with 180 additions and 56 deletions

View File

@@ -20,6 +20,9 @@ public class ImageToSketchDTO {
@ApiModelProperty("性别")
private String gender;
@ApiModelProperty("模型名")
private String modelName;
public ImageToSketchDTO() {
}

View File

@@ -35,4 +35,9 @@ public class GenerateResultVO {
this.status = status;
this.category = category;
}
public GenerateResultVO(String taskId, String status) {
this.taskId = taskId;
this.status = status;
}
}