TASK: 接入第三方api 通过万象实现text2image和animate,完成数据传输与原接口的兼容

This commit is contained in:
2025-06-05 18:03:19 +08:00
parent 8356326c7d
commit 1dad0a008a
14 changed files with 934 additions and 49 deletions

View File

@@ -104,4 +104,16 @@ public class Generate {
*/
private Date updateDate;
public Generate() {
}
public Generate(Long accountId, String uniqueId, String level1Type, String text, String generateType, String modelName, Date createDate) {
this.accountId = accountId;
this.uniqueId = uniqueId;
this.level1Type = level1Type;
this.text = text;
this.generateType = generateType;
this.modelName = modelName;
this.createDate = createDate;
}
}

View File

@@ -31,5 +31,14 @@ public class PoseTransformation extends BaseEntity {
private byte isDeleted;
public PoseTransformation() {
}
public PoseTransformation(Long projectId, Long accountId, String uniqueId, String productImage, int poseId) {
this.projectId = projectId;
this.accountId = accountId;
this.uniqueId = uniqueId;
this.productImage = productImage;
this.poseId = poseId;
}
}