【增加】openai image 增加 style 生成风格

This commit is contained in:
cherishsince 2024-04-28 16:29:59 +08:00
parent 307e08435d
commit 844ae285e1

View File

@ -4,6 +4,7 @@ import cn.iocoder.yudao.framework.ai.AiPlatformEnum;
import cn.iocoder.yudao.framework.ai.chatxinghuo.XingHuoChatModel;
import cn.iocoder.yudao.framework.ai.chatyiyan.YiYanChatModel;
import cn.iocoder.yudao.framework.ai.imageopenai.OpenAiImageModelEnum;
import cn.iocoder.yudao.framework.ai.imageopenai.OpenAiImageStyleEnum;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ -101,5 +102,9 @@ public class YudaoAiProperties {
* 模型
*/
private OpenAiImageModelEnum model = OpenAiImageModelEnum.DALL_E_2;
/**
* 风格
*/
private OpenAiImageStyleEnum style = OpenAiImageStyleEnum.VIVID;
}
}