feat: stable-diffusion refactored, replace websocket api with sdapi

This commit is contained in:
RockYang
2024-03-26 18:23:08 +08:00
parent 49b5906bc7
commit 342b76f666
11 changed files with 191 additions and 335 deletions

View File

@@ -56,10 +56,10 @@ type MidJourneyConfig struct {
}
type StableDiffusionConfig struct {
Enabled bool
ApiURL string
ApiKey string
Txt2ImgJsonPath string
Enabled bool
Model string // 模型名称
ApiURL string
ApiKey string
}
type MidJourneyPlusConfig struct {