feat: Support Ali TTS
This commit is contained in:
parent
82ff2857bc
commit
7ed4bc29a0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user