mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-18 19:20:05 +08:00
【优化】image 返回的size 改为 width 和 height
This commit is contained in:
parent
26616ea7a7
commit
c808453c1d
@ -29,8 +29,12 @@ public class AiImageDallReqVO {
|
||||
@Schema(description = "图像生成的风格。可为vivid(生动)或natural(自然)")
|
||||
private String style;
|
||||
|
||||
@Schema(description = "生成图像的尺寸大小。对于dall-e-2模型,尺寸可为256x256, 512x512, 或 1024x1024。对于dall-e-3模型,尺寸可为1024x1024, 1792x1024, 或 1024x1792。")
|
||||
@NotNull(message = "size不能为空!")
|
||||
private String size;
|
||||
@Schema(description = "图片高度。对于dall-e-2模型,尺寸可为256x256, 512x512, 或 1024x1024。对于dall-e-3模型,尺寸可为1024x1024, 1792x1024, 或 1024x1792。")
|
||||
@NotNull(message = "图片高度不能为空!")
|
||||
private String height;
|
||||
|
||||
@Schema(description = "图片宽度。对于dall-e-2模型,尺寸可为256x256, 512x512, 或 1024x1024。对于dall-e-3模型,尺寸可为1024x1024, 1792x1024, 或 1024x1792。")
|
||||
@NotNull(message = "图片宽度不能为空!")
|
||||
private String width;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user