Commit 9ae25aa0b82fc01029745f33dab7b525007a1027
1 parent
2f078966
【优化】MidjourneyApi enum 增加注释
Showing
1 changed file
with
12 additions
and
1 deletions
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/core/model/midjourney/api/MidjourneyApi.java
| ... | ... | @@ -195,6 +195,9 @@ public class MidjourneyApi { |
| 195 | 195 | |
| 196 | 196 | // ====== enums |
| 197 | 197 | |
| 198 | + /** | |
| 199 | + * Midjourney - 模型 | |
| 200 | + */ | |
| 198 | 201 | @AllArgsConstructor |
| 199 | 202 | @Getter |
| 200 | 203 | public enum ModelEnum { |
| ... | ... | @@ -217,6 +220,9 @@ public class MidjourneyApi { |
| 217 | 220 | } |
| 218 | 221 | } |
| 219 | 222 | |
| 223 | + /** | |
| 224 | + * Midjourney - 提交返回的状态码 | |
| 225 | + */ | |
| 220 | 226 | @Getter |
| 221 | 227 | @AllArgsConstructor |
| 222 | 228 | public enum SubmitCodeEnum { |
| ... | ... | @@ -236,6 +242,9 @@ public class MidjourneyApi { |
| 236 | 242 | private final String name; |
| 237 | 243 | } |
| 238 | 244 | |
| 245 | + /** | |
| 246 | + * Midjourney - action | |
| 247 | + */ | |
| 239 | 248 | @Getter |
| 240 | 249 | @AllArgsConstructor |
| 241 | 250 | public enum TaskActionEnum { |
| ... | ... | @@ -265,6 +274,9 @@ public class MidjourneyApi { |
| 265 | 274 | BLEND |
| 266 | 275 | } |
| 267 | 276 | |
| 277 | + /** | |
| 278 | + * Midjourney - 任务状态 | |
| 279 | + */ | |
| 268 | 280 | @Getter |
| 269 | 281 | @AllArgsConstructor |
| 270 | 282 | public enum TaskStatusEnum { |
| ... | ... | @@ -289,7 +301,6 @@ public class MidjourneyApi { |
| 289 | 301 | */ |
| 290 | 302 | SUCCESS(4); |
| 291 | 303 | |
| 292 | - @Getter | |
| 293 | 304 | private final int order; |
| 294 | 305 | |
| 295 | 306 | } | ... | ... |