7 changed files with 82 additions and 102 deletions
@ -1,61 +0,0 @@ |
|||
package com.youlai.boot.mini.model.vo; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* AI视频生成回调数据 |
|||
* |
|||
* @author youlai |
|||
*/ |
|||
@Data |
|||
@Schema(description = "AI视频生成回调数据") |
|||
public class VideoCallbackData { |
|||
|
|||
@Schema(description = "任务ID") |
|||
private String id; |
|||
|
|||
@Schema(description = "使用的模型ID") |
|||
private String model; |
|||
|
|||
@Schema(description = "任务状态: pending/running/succeeded/failed") |
|||
private String status; |
|||
|
|||
@Schema(description = "生成的结果内容") |
|||
private VideoCallbackContent content; |
|||
|
|||
@Schema(description = "资源消耗统计") |
|||
private VideoCallbackUsage usage; |
|||
|
|||
@JsonProperty("created_at") |
|||
@Schema(description = "创建时间戳") |
|||
private Long createdAt; |
|||
|
|||
@JsonProperty("updated_at") |
|||
@Schema(description = "更新时间戳") |
|||
private Long updatedAt; |
|||
|
|||
@Schema(description = "随机种子") |
|||
private Long seed; |
|||
|
|||
@Schema(description = "分辨率") |
|||
private String resolution; |
|||
|
|||
@Schema(description = "比例") |
|||
private String ratio; |
|||
|
|||
@Schema(description = "视频时长,单位秒") |
|||
private Integer duration; |
|||
|
|||
@Schema(description = "帧率") |
|||
private Integer framespersecond; |
|||
|
|||
@JsonProperty("service_tier") |
|||
@Schema(description = "服务等级") |
|||
private String serviceTier; |
|||
|
|||
@JsonProperty("execution_expires_after") |
|||
@Schema(description = "执行过期时间") |
|||
private Long executionExpiresAfter; |
|||
} |
|||
Loading…
Reference in new issue