Merge branch 'dev/dev_xp' into dev/dev

This commit is contained in:
2025-06-10 17:53:03 +08:00
4 changed files with 130 additions and 19 deletions

View File

@@ -87,7 +87,8 @@ public class GenerateController {
@ApiOperation(value = "imageToSketch")
@PostMapping("/imageToSketch")
public Response<GenerateResultVO> imageToSketch(@Valid @RequestBody ImageToSketchDTO imageToSketchDTO) {
return Response.success(generateService.imageToSketch(imageToSketchDTO, null, null));
return Response.success(generateService.imageToSketchAsync(imageToSketchDTO, null, null));
// return Response.success(generateService.imageToSketch(imageToSketchDTO, null, null));
}
// modifySketch