-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathconfig.json
336 lines (336 loc) · 11.1 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
{
"run_py": "RealtimeSTT_server2",
"recorder": {
"device_index": 0,
"start_cmd": [
"助手你好",
"你好"
],
"stop_cmd": [
"请回答",
"請回答",
"帮我查一下",
"講解一下",
"讲解一下"
],
"drop_cmd": [
"清空录音",
"清空錄音",
"放弃錄音",
"放弃录音",
"取消錄音",
"取消录音"
],
"get_mouse_coordinate_cmd": [
"鼠标坐标"
]
},
"audiopen": {
"start_x": 1277,
"start_y": 1296,
"stop_x": 1277,
"stop_y": 1296
},
"play_audio": {
"enable": true,
"text_split_enable": true,
"normal_interval": 0.5,
"out_path": "out",
"player": "pygame"
},
"audio_player": {
"api_ip_port": "http://127.0.0.1:5600"
},
"filter": {
"max_len": 9999,
"max_char_len": 9999
},
"chat_type": "zhipu",
"openai": {
"api": "https://api.openai.com/v1",
"api_key": [
"sk-"
]
},
"chatgpt": {
"model": "gpt-3.5-turbo",
"temperature": 0.9,
"max_tokens": 4096,
"top_p": 1.0,
"presence_penalty": 0.0,
"frequency_penalty": 0.0,
"preset": "你是一个人工智能助手",
"prompt_template": "当前中国北京日期:{current_date},根据以下数据进行总结并提供答案。如果问题与数据不相关,使用你的常规知识回答,不可以胡编乱造!。\n参考数据:{summary_content}\n问题:{recorder_content}"
},
"zhipu": {
"api_key": "a03d9e9ba20bdd8ba1ecc13a06a27834.zPGhDMnCZQpL6DZq",
"model": "glm-3-turbo",
"system": "你是一个乐于解答各种问题的助手,你的任务是为用户提供专业、准确、有见地的建议。",
"app_id": "1761340125461340161",
"top_p": "0.7",
"temperature": "0.9",
"history_enable": true,
"history_max_len": "300",
"user_info": "我是陆星辰,是一个男性,是一位知名导演,也是苏梦远的合作导演。我擅长拍摄音乐题材的电影。苏梦远对我的态度是尊敬的,并视我为良师益友。",
"bot_info": "苏梦远,本名苏远心,是一位当红的国内女歌手及演员。在参加选秀节目后,凭借独特的嗓音及出众的舞台魅力迅速成名,进入娱乐圈。她外表美丽动人,但真正的魅力在于她的才华和勤奋。苏梦远是音乐学院毕业的优秀生,善于创作,拥有多首热门原创歌曲。除了音乐方面的成就,她还热衷于慈善事业,积极参加公益活动,用实际行动传递正能量。在工作中,她对待工作非常敬业,拍戏时总是全身心投入角色,赢得了业内人士的赞誉和粉丝的喜爱。虽然在娱乐圈,但她始终保持低调、谦逊的态度,深得同行尊重。在表达时,苏梦远喜欢使用“我们”和“一起”,强调团队精神。",
"bot_name": "苏梦远",
"username": "陆星辰",
"remove_useless": false
},
"audio_synthesis_type": "edge-tts",
"audio_random_speed": {
"normal": {
"enable": false,
"speed_min": 0.8,
"speed_max": 1.2
},
"copywriting": {
"enable": false,
"speed_min": 0.8,
"speed_max": 1.2
}
},
"vits": {
"type": "bert_vits2",
"config_path": "E:\\vits-simple-api\\Model\\ikaros\\config.json",
"api_ip_port": "http://127.0.0.1:23456",
"id": "0",
"lang": "自动",
"length": "1",
"noise": "0.33",
"noisew": "0.4",
"max": "50",
"format": "wav",
"sdp_radio": "0.2"
},
"bert_vits2": {
"type": "hiyori",
"api_ip_port": "http://127.0.0.1:5000",
"model_id": 0,
"speaker_name": "ikaros",
"speaker_id": 0,
"language": "auto",
"length": 1.0,
"noise": 0.2,
"noisew": 0.9,
"sdp_radio": 0.2,
"auto_translate": false,
"auto_split": false,
"emotion": "",
"style_text": null,
"style_weight": 0.7
},
"vits_fast": {
"config_path": "D:\\GitHub_pro\\VITS-fast-fine-tuning\\inference\\finetune_speaker.json",
"api_ip_port": "http://127.0.0.1:7860",
"character": "ikaros",
"language": "自动识别",
"speed": 1.0
},
"ddsp_svc": {
"enable": false,
"config_path": "E:\\DDSP-SVC-3.0\\exp\\combsub-test\\config.yaml",
"api_ip_port": "http://127.0.0.1:6844",
"fSafePrefixPadLength": 0.0,
"fPitchChange": 0.0,
"sSpeakId": 0,
"sampleRate": 44100
},
"so_vits_svc": {
"enable": false,
"config_path": "E:\\so-vits-svc\\configs\\ikaros_v1.json",
"api_ip_port": "http://127.0.0.1:1145",
"spk": "ikaros",
"tran": 1.0,
"wav_format": "wav"
},
"edge-tts": {
"voice": "zh-CN-XiaoyiNeural",
"rate": "+0%",
"volume": "+0%"
},
"elevenlabs": {
"api_key": "",
"voice": "Rachel",
"model": "eleven_monolingual_v1"
},
"genshinvoice_top": {
"speaker": "神里绫华_ZH",
"format": "wav",
"length": "1.25",
"noise": "0.2",
"noisew": "0.9",
"language": "ZH"
},
"tts_ai_lab_top": {
"appid": "9tuof1o8y7ni8h3e",
"token": "2b0f041d3e872894c2c1aaaf86567e9f",
"speaker": "白露",
"sdp_ratio": "0.2",
"noise": "0.5",
"noisew": "0.9",
"length": "1.0"
},
"bark_gui": {
"api_ip_port": "http://127.0.0.1:7860",
"spk": "zh_speaker_0",
"generation_temperature": 0.6,
"waveform_temperature": 0.7,
"end_of_sentence_probability": 0.05,
"quick_generation": true,
"seed": -1.0,
"batch_count": 1
},
"vall_e_x": {
"api_ip_port": "http://127.0.0.1:7860",
"language": "auto-detect",
"accent": "no-accent",
"voice_preset": "ikaros",
"voice_preset_file_path": "D:\\GitHub_pro\\AI-Vtuber\\tests\\test_VALL-E-X\\ikaros.npz"
},
"openai_tts": {
"type": "api",
"api_ip_port": "https://api.openai.com/v1",
"model": "tts-1",
"voice": "onyx",
"api_key": "sk-"
},
"reecho_ai": {
"Authorization": "sk-xxx",
"model": "reecho-neural-voice-001",
"randomness": 97,
"stability_boost": 40,
"voiceId": "b4b885c3-89a7-46d4-badb-015a55bb3a91"
},
"gradio_tts": {
"request_parameters": "{{\"url\": \"https://xzjosh-nana7mi-bert-vits2.hf.space/--replicas/b9be4/\", \"fn_index\": 0, \"data_analysis\": 1, \"text_input\": \"{content}\", \"speaker_option\": \"Nana7mi\", \"sdp_ratio\": 0.5, \"noise\": 0.6, \"noise_w\": 0.9, \"length\": 1}}"
},
"gpt_sovits": {
"type": "webtts",
"gradio_ip_port": "http://127.0.0.1:9872",
"api_ip_port": "http://127.0.0.1:9880",
"ws_ip_port": "ws://localhost:9872/queue/join",
"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",
"api_0322": {
"text_lang": "中英混合",
"ref_audio_path": "F:\\GPT-SoVITS\\raws\\ikaros\\21.wav",
"prompt_text": "マスター、どうりょくろか、いいえ、なんでもありません",
"prompt_lang": "日文",
"top_k": 1,
"top_p": 0.8,
"temperature": 0.8,
"text_split_method": "按标点符号切",
"batch_size": 20,
"speed_factor": 1.0,
"split_bucket": false,
"return_fragment": false,
"fragment_interval": "0.3"
},
"webtts": {
"version": "1",
"api_ip_port": "http://127.0.0.1:8080",
"spk": "sanyueqi",
"lang": "zh",
"speed": "1.0",
"emotion": "正常"
}
},
"clone_voice": {
"type": "tts",
"api_ip_port": "http://127.0.0.1:9988",
"voice": "E:\\GitHub_pro\\新音源\\天降之物数据集\\ikaros\\644.wav",
"language": "zh-cn",
"speed": 1.2
},
"talk": {
"key_listener_enable": true,
"device_index": "1",
"no_recording_during_playback": true,
"no_recording_during_playback_sleep_interval": 1.0,
"username": "主人",
"type": "faster_whisper",
"continuous_talk": false,
"trigger_key": "`",
"stop_trigger_key": "/",
"volume_threshold": 800.0,
"silence_threshold": 15.0,
"CHANNELS": 1,
"RATE": 16000,
"baidu": {
"app_id": "",
"api_key": "",
"secret_key": ""
},
"google": {
"tgt_lang": "zh-CN"
},
"faster_whisper": {
"model_size": "./models/models--Systran--faster-whisper-large-v3/snapshots/edaa852ec7e145841d8ffdb056a99866b5f0a478",
"device": "cuda",
"compute_type": "float16",
"download_root": "./models",
"beam_size": 5
}
},
"webui": {
"ip": "127.0.0.1",
"port": 8089,
"title": "实时语音对话",
"auto_run": false,
"theme": {
"choose": "默认黑白",
"list": {
"蓝粉渐变": {
"login_card": "width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;position: fixed;left: 0;top: 0;background: linear-gradient(45deg, #3494E6, #EC6EAD);",
"tab_panel": "background: linear-gradient(45deg, #3494E6, #EC6EAD);",
"card": "margin:10px 0px;background: linear-gradient(45deg, #3494E6, #EC6EAD);",
"button_bottom": "margin:5px",
"button_bottom_color": "#EC6EAD",
"button_internal": "margin:5px",
"button_internal_color": "",
"switch_internal": "",
"echart": "width:100%; height:600px;"
},
"默认黑白": {
"login_card": "width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;position: fixed;left: 0;top: 0;",
"tab_panel": "",
"card": "margin:10px 0px;",
"button_bottom": "margin:5px",
"button_bottom_color": "primary",
"button_internal": "margin:5px",
"button_internal_color": "",
"switch_internal": "",
"echart": "width:100%; height:600px;"
},
"极地极光": {
"login_card": "background:linear-gradient(45deg, #027333, #025959);width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;position: fixed;left: 0;top: 0;",
"tab_panel": "background: linear-gradient(45deg, #027333, #025959);",
"card": "margin:10px 0px;background: linear-gradient(45deg, #027333, #04D939);",
"button_bottom": "margin:5px",
"button_bottom_color": "#04D939;",
"button_internal": "margin:5px",
"button_internal_color": "",
"switch_internal": "",
"echart": "width:100%; height:600px;"
},
"曲奇饼干": {
"login_card": "background:linear-gradient(45deg, #F2BC8D, #73341D);width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;position: fixed;left: 0;top: 0;",
"tab_panel": "background: linear-gradient(45deg, #F2BC8D, #73341D);",
"card": "margin:10px 0px;background: linear-gradient(45deg, #F2BC8D, #73341D);",
"button_bottom": "margin:5px;",
"button_bottom_color": "#A65F37",
"button_internal": "margin:5px",
"button_internal_color": "",
"switch_internal": "",
"echart": "width:100%; height:600px;"
}
}
}
}
}