From e7e5b729a6712de905a1eba79dc4adcb42bbaf33 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Mon, 1 Apr 2024 22:12:23 +0800 Subject: [PATCH] =?UTF-8?q?mj=20=E5=91=BD=E4=BB=A4=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai/Midjourney/MjCommandEnum.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/MjCommandEnum.java diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/MjCommandEnum.java b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/MjCommandEnum.java new file mode 100644 index 000000000..b4ad8f1b2 --- /dev/null +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/MjCommandEnum.java @@ -0,0 +1,28 @@ +package cn.iocoder.yudao.framework.ai.Midjourney; + +import lombok.Getter; + +/** + * MJ 命令类型 + */ +@Getter +public enum MjCommandEnum { + + IMAGINE("imagine", "生成图片"), + DESCRIBE("describe", "生成描述"), + FAST("fast", "快速生成"), + SETTINGS("settings", "设置"), + ASK("ask", "提问"), + BLEND("blend", "融合"), + + ; + + MjCommandEnum(String value, String message) { + this.value =value; + this.message =message; + } + + private String value; + private String message; + +}