check if the api url in whitelist for mj plus client

This commit is contained in:
RockYang
2024-05-22 11:47:04 +08:00
parent 6c300bb018
commit 627396dbf7
4 changed files with 43 additions and 15 deletions

View File

@@ -146,7 +146,7 @@ func (s *Service) Image(task types.DallTask, sync bool) (string, error) {
Model: "dall-e-3",
Prompt: prompt,
N: 1,
Size: "1024x1024",
Size: task.Size,
Style: task.Style,
Quality: task.Quality,
}).