feat: add asynchronously pull midjourney task progress in case the synchronization callback is fails

This commit is contained in:
RockYang
2024-01-12 18:24:28 +08:00
parent 857af61af1
commit cc628821e6
6 changed files with 89 additions and 33 deletions

View File

@@ -73,8 +73,7 @@ type StableDiffusionConfig struct {
}
type MidJourneyPlusConfig struct {
Enabled bool // 如果启用了 MidJourney Plus将会自动禁用原生的MidJourney服务
Name string // 服务名称,保持唯一
Enabled bool // 如果启用了 MidJourney Plus将会自动禁用原生的MidJourney服务
ApiURL string
ApiKey string
NotifyURL string // 任务进度更新回调地址