feat: allow user config third-party platform openai and mj api key

This commit is contained in:
RockYang
2024-02-20 11:23:55 +08:00
parent c83ac48bd2
commit 976da45bce
2 changed files with 8 additions and 5 deletions

View File

@@ -65,6 +65,7 @@ type StableDiffusionConfig struct {
type MidJourneyPlusConfig struct {
Enabled bool // 如果启用了 MidJourney Plus将会自动禁用原生的MidJourney服务
ApiURL string // api 地址
Mode string // 绘画模式可选值fast/turbo/relax
CdnURL string // CDN 加速地址
ApiKey string
NotifyURL string // 任务进度更新回调地址