Browse Source

Update relay.go

luxl-1379 2 years ago
parent
commit
cd1290d71e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      controller/relay.go

+ 4 - 0
controller/relay.go

@@ -255,6 +255,10 @@ func RelayMidjourney(c *gin.Context) {
 	relayMode := RelayModeUnknown
 	if strings.HasPrefix(c.Request.URL.Path, "/mj/submit/imagine") {
 		relayMode = RelayModeMidjourneyImagine
+	} else if strings.HasPrefix(c.Request.URL.Path, "/mj/submit/blend") {
+		relayMode = RelayModeMidjourneyBlend
+	} else if strings.HasPrefix(c.Request.URL.Path, "/mj/submit/describe") {
+		relayMode = RelayModeMidjourneyDescribe
 	} else if strings.HasPrefix(c.Request.URL.Path, "/mj/notify") {
 		relayMode = RelayModeMidjourneyNotify
 	} else if strings.HasPrefix(c.Request.URL.Path, "/mj/submit/change") {