feat: add blend and swapface task implements for midjourney

This commit is contained in:
RockYang
2024-01-25 18:50:24 +08:00
parent a1d1fe7763
commit dea72738c1
15 changed files with 375 additions and 157 deletions

View File

@@ -48,12 +48,12 @@ func DownloadImage(imageURL string, proxy string) ([]byte, error) {
},
}
}
req, err := http.NewRequest("GET", imageURL, nil)
request, err := http.NewRequest("GET", imageURL, nil)
if err != nil {
return nil, err
}
resp, err := client.Do(req)
resp, err := client.Do(request)
if err != nil {
return nil, err
}