mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
【增加】openai image 增加 style 生成风格
This commit is contained in:
parent
307e08435d
commit
844ae285e1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user