From 7ed4bc29a02bd7f6ce2212007a22180e8fe1afed Mon Sep 17 00:00:00 2001 From: mo Date: Sun, 2 Jun 2024 17:53:25 +0800 Subject: [PATCH] feat: Support Ali TTS --- relay/controller/audio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/controller/audio.go b/relay/controller/audio.go index a872cd88..81f63e8d 100644 --- a/relay/controller/audio.go +++ b/relay/controller/audio.go @@ -30,7 +30,7 @@ import ( func RelayAudioSpeechHelper(c *gin.Context) *relaymodel.ErrorWithStatusCode { ctx := c.Request.Context() meta := meta.GetByContext(c) - audioModel := "whisper-1" + audioModel := "tts-1" tokenId := c.GetInt(ctxkey.TokenId) channelId := c.GetInt(ctxkey.ChannelId)