From dea23f13ef2d4918080ce8aeee1ee908188cdb19 Mon Sep 17 00:00:00 2001
From: ageer <ageerle@163.com>
Date: 星期一, 01 四月 2024 22:21:29 +0800
Subject: [PATCH] v1.0.3

---
 ruoyi-common/ruoyi-common-chat/src/main/java/com/xmzs/common/chat/constant/OpenAIConst.java |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-chat/src/main/java/com/xmzs/common/chat/constant/OpenAIConst.java b/ruoyi-common/ruoyi-common-chat/src/main/java/com/xmzs/common/chat/constant/OpenAIConst.java
index 8393623..34d9fc8 100644
--- a/ruoyi-common/ruoyi-common-chat/src/main/java/com/xmzs/common/chat/constant/OpenAIConst.java
+++ b/ruoyi-common/ruoyi-common-chat/src/main/java/com/xmzs/common/chat/constant/OpenAIConst.java
@@ -12,22 +12,27 @@
 
     public final static int SUCCEED_CODE = 200;
 
+    /** GPT3鎵i櫎璐圭敤 */
     public final static double GPT3_COST = 0.05;
 
-    public final static double GPT4_COST = 0.3;
+    /** GPT4鎵i櫎璐圭敤 */
+    public final static double GPT4_COST = 0.2;
 
-    public final static double GPT4_ALL_COST = 0.3;
+    /** DALL鏅�氱粯鍥炬墸闄よ垂鐢� */
+    public final static double DALL3_COST = 0.3;
 
-    /** 缁樺浘璐圭敤 */
-    public final static double DALL3_COST = 0.4;
+    /** DALL楂樻竻缁樺浘鎵i櫎璐圭敤 */
+    public final static double DALL3_HD_COST = 0.5;
 
-    /** 缁樺浘璐圭敤-楂樻竻 */
-    public final static double DALL3_HD_COST = 0.8;
+    /** MJ鎿嶄綔绫诲瀷1(鍙樺寲銆佸彉鐒︺�佹枃鐢熷浘銆佸浘鐢熷浘銆佸眬閮ㄩ噸缁樸�佹贩鍥�)鎵i櫎璐圭敤 */
+    public final static double MJ_COST_TYPE1 = 0.3;
 
-    /** mdjourney缁樺浘璐圭敤 */
-    public final static double MJ_COST = 0.3;
+    /** MJ鎿嶄綔绫诲瀷2(鎹㈣劯銆佹斁澶с�佸浘鐢熸枃銆乸rompt鍒嗘瀽)鎵i櫎璐圭敤 */
+    public final static double MJ_COST_TYPE2 = 0.1;
+
+    /** MJ鎿嶄綔绫诲瀷3(鏌ヨ浠诲姟杩涘害銆佽幏鍙杝eed)鎵i櫎璐圭敤 */
+    public final static double MJ_COST_TYPE3 = 0.0;
 
     /** 榛樿璐︽埛浣欓 */
     public final static double USER_BALANCE = 5;
-
 }

--
Gitblit v1.9.3