Merge pull request #690 from HalcyonAlcedo/v2

增强bing suno功能
This commit is contained in:
HalcyonAlcedo 2024-05-07 23:21:04 +08:00 committed by GitHub
commit 07831d6108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 217 additions and 70 deletions

View file

@ -575,6 +575,16 @@
"label": "允许生成图像等内容",
"data": "enableGenerateContents"
},
{
"type": "check",
"label": "允许生成歌曲等内容",
"data": "enableGenerateSuno"
},
{
"type": "check",
"label": "伪造歌曲生成",
"data": "enableGenerateSunoForger"
},
{
"type": "url",
"label": "必应验证码pass服务",
@ -588,10 +598,16 @@
"data": "bingAPDraw"
},
{
"type": "check",
"label": "第三方歌曲生成",
"placeholder": "使用AP插件代替Bing进行绘图",
"data": "bingLocalSuno"
"type": "select",
"label": "歌曲生成模式",
"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",
@ -1118,7 +1134,14 @@
"label": "Sydney模式接受首条信息超时时间",
"placeholder": "超过该时间阈值未收到Bing的任何消息则断开本次连接并重试",
"data": "sydneyFirstMessageTimeout"
},
{
"type": "number",
"label": "SunoApi获取超时时间",
"placeholder": "使用sunoApi获取数据时超时时间单位秒",
"data": "sunoApiTimeout"
}
]
},
{