修改suno伪造生成策略,支持更多模型调用

This commit is contained in:
zyc404 2024-05-08 15:32:49 +08:00
parent 123e5304a7
commit d111d2625e
7 changed files with 86 additions and 30 deletions

View file

@ -580,11 +580,6 @@
"label": "允许生成歌曲等内容",
"data": "enableGenerateSuno"
},
{
"type": "check",
"label": "伪造歌曲生成",
"data": "enableGenerateSunoForger"
},
{
"type": "url",
"label": "必应验证码pass服务",
@ -603,12 +598,6 @@
"data": "bingSuno",
"items": [ { "label": "Bing", "value": "bing" }, { "label": "本地", "value": "local" }, { "label": "第三方", "value": "api" } ]
},
{
"type": "url",
"label": "第三方歌曲生成API地址",
"placeholder": "https://github.com/gcui-art/suno-api的api地址",
"data": "bingSunoApi"
},
{
"type": "textarea",
"label": "前置对话第一轮(用户)",
@ -1054,6 +1043,23 @@
"label": "client token",
"placeholder": "suno的__client token需要与sunoSessToken一一对应数量相同多个用逗号隔开",
"data": "sunoClientToken"
},
{
"type": "check",
"label": "允许聊天指令声音音乐",
"data": "enableChatSuno"
},
{
"type": "select",
"label": "调用模式",
"data": "SunoModel",
"items": [ { "label": "本地", "value": "local" }, { "label": "第三方", "value": "api" } ]
},
{
"type": "url",
"label": "第三方歌曲生成API地址",
"placeholder": "https://github.com/gcui-art/suno-api的api地址",
"data": "bingSunoApi"
}
]
},