Closed Ikaros-521 closed 1 month ago
TTS接口请求体例子(部分键值其实没啥用):
{
"type": "reread",
"tts_type": "gpt_sovits",
"data": {
"type": "api",
"ws_ip_port": "ws://localhost:9872/queue/join",
"api_ip_port": "http://127.0.0.1:9880",
"ref_audio_path": "F:\\\\GPT-SoVITS\\\\raws\\\\ikaros\\\\21.wav",
"prompt_text": "マスター、どうりょくろか、いいえ、なんでもありません",
"prompt_language": "日文",
"language": "自动识别",
"cut": "凑四句一切",
"gpt_model_path": "F:\\GPT-SoVITS\\GPT_weights\\ikaros-e15.ckpt",
"sovits_model_path": "F:\\GPT-SoVITS\\SoVITS_weights\\ikaros_e8_s280.pth",
"webtts": {
"api_ip_port": "http://127.0.0.1:8080",
"spk": "sanyueqi",
"lang": "zh",
"speed": "1.0",
"emotion": "正常"
}
},
"config": {
"before_must_str": [],
"after_must_str": [],
"before_filter_str": [
"#"
],
"after_filter_str": [
"#"
],
"badwords": {
"enable": True,
"discard": False,
"path": "data/badwords.txt",
"bad_pinyin_path": "data/违禁拼音.txt",
"replace": "*"
},
"emoji": False,
"max_len": 80,
"max_char_len": 200,
"comment_forget_duration": 1.0,
"comment_forget_reserve_num": 1,
"gift_forget_duration": 5.0,
"gift_forget_reserve_num": 1,
"entrance_forget_duration": 5.0,
"entrance_forget_reserve_num": 2,
"follow_forget_duration": 3.0,
"follow_forget_reserve_num": 1,
"talk_forget_duration": 0.1,
"talk_forget_reserve_num": 1,
"schedule_forget_duration": 0.1,
"schedule_forget_reserve_num": 1,
"idle_time_task_forget_duration": 0.1,
"idle_time_task_forget_reserve_num": 1,
"image_recognition_schedule_forget_duration": 0.1,
"image_recognition_schedule_forget_reserve_num": 1
},
"username": "主人",
"content": "你好"
}
操作系统
Windows
Python 版本
3.10.11
AI Vtuber 版本
20240725
描述问题
提供相关API请求的例子
复现步骤
.
期望的结果
No response
截图或日志
No response