Java调用Midjourney进行AI画图原生版抓包实现支持中文( 五 )


package com.example.midjourney.contant;import com.example.midjourney.bean.UserInfo;import com.example.midjourney.biz.WeChatBiz;import com.example.midjourney.util.BaiduUtil;import com.google.common.collect.Lists;import com.google.common.collect.Maps;import java.util.List;import java.util.Map;import java.util.concurrent.ExecutorService;import java.util.concurrent.Executors;public class Constant {public static ExecutorService threadPool = Executors.newFixedThreadPool(20);public static Map imgWordUserMap = Maps.newConcurrentMap();public static String MID_JOURNEY_HEAD = "**";public static String MID_FIND_LEFT = "** - <";public static String FILE_PATH = "D:\\000img\\";public static String CHATGPT = "chatgpt";public static String MIDJOURNEY = "midjourney";public static final String INSUFFICIENT = "insufficient_quota";public static Map WX_TOKEN_CHANNEL = Maps.newHashMap();public static Map WX_TOKEN_MAP = Maps.newHashMap();public static String BAIDU_TOKEN = BaiduUtil.queryBaiduToken();public static Map CHANNEL_CALL_BACK = Maps.newHashMap();/*** 最大等待时间15分钟*/public static long MAX_WAIT_TIME = 1000 * 60 * 15;public static List MidjourneyBlackWord = Lists.newArrayList("写了审核不过 , 大家自己发挥想象吧...");}