feat: support InsightFace (close #60)

This commit is contained in:
CaIon
2024-03-14 18:08:12 +08:00
parent 71858f953b
commit afa1748591
9 changed files with 173 additions and 13 deletions
+5
View File
@@ -7,6 +7,11 @@ package dto
// Content string `json:"content"`
//}
type SwapFaceRequest struct {
SourceBase64 string `json:"sourceBase64"`
TargetBase64 string `json:"targetBase64"`
}
type MidjourneyRequest struct {
Prompt string `json:"prompt"`
CustomId string `json:"customId"`