图生图

This commit is contained in:
spllzh
2025-10-19 13:45:53 +08:00
parent 9b2e08593c
commit a029d57e7d
28 changed files with 888 additions and 43 deletions

View File

@@ -0,0 +1,68 @@
package com.rj.dto;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
/**
* 阿里云海报生成响应DTO
*
* @author 系统生成
* @since 2025-01-30
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PosterGenerationResponseDto {
/**
* 输出结果
*/
private Output output;
/**
* 请求ID
*/
private String request_id;
/**
* 使用情况
*/
private Usage usage;
@Data
@NoArgsConstructor
@AllArgsConstructor
public static class Output {
/**
* 任务ID
*/
private String task_id;
/**
* 任务状态
*/
private String task_status;
}
@Data
@NoArgsConstructor
@AllArgsConstructor
public static class Usage {
/**
* 输入token数
*/
private Integer input_tokens;
/**
* 输出token数
*/
private Integer output_tokens;
/**
* 总token数
*/
private Integer total_tokens;
}
}