TASK:toProduct relight pose 返回的数据中需包含设置的参数信息
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@ApiModel("generate result 响应")
|
||||
@AllArgsConstructor
|
||||
@@ -31,6 +34,15 @@ public class MagicToolResultVO {
|
||||
|
||||
private Long parentId;
|
||||
|
||||
private Double brightenValue;
|
||||
|
||||
private BigDecimal imageStrength;
|
||||
|
||||
private String direction;
|
||||
|
||||
@ApiModelProperty("用户输入的提示词")
|
||||
private String prompt;
|
||||
|
||||
public MagicToolResultVO(String taskId, String status) {
|
||||
this.taskId = taskId;
|
||||
this.status = status;
|
||||
|
||||
@@ -34,6 +34,10 @@ public class PoseTransformationVO implements AllCollectionVO{
|
||||
|
||||
private Long parentId;
|
||||
|
||||
private String modelName;
|
||||
|
||||
private int poseId;
|
||||
|
||||
public PoseTransformationVO(Long id, String taskId, String gifUrl, String videoUrl, String firstFrameUrl, byte isLiked, String status) {
|
||||
this.id = id;
|
||||
this.taskId = taskId;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import com.ai.da.mapper.primary.entity.ToProductImageResult;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@@ -11,4 +12,6 @@ public class ToProductImageResultVO extends ToProductImageResult implements AllC
|
||||
private Long userLikeSortId;
|
||||
private String relationType;
|
||||
private Long parentId;
|
||||
@ApiModelProperty("用户输入的提示词")
|
||||
private String prompt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user