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