forked from Ikaros-521/AI-Vtuber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
1654 lines (1654 loc) · 48.6 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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"login": {
"enable": false,
"username": "admin",
"password": "123456"
},
"api_ip": "127.0.0.1",
"api_port": 8082,
"platform": "talk",
"room_display_id": "278333",
"chat_type": "reread",
"need_lang": "none",
"before_prompt": "请简要回复:",
"after_prompt": "",
"comment_template": {
"enable": false,
"copywriting": "{username}说:{comment}"
},
"comment_log_type": "回答",
"visual_body": "其他",
"xuniren": {
"api_ip_port": "http://127.0.0.1:8800"
},
"unity": {
"api_ip_port": "http://127.0.0.1:5700/add",
"password": "中文的密码,怕了吧!"
},
"EasyAIVtuber": {
"api_ip_port": "http://127.0.0.1:7888"
},
"digital_human_video_player": {
"type": "easy_wav2lip",
"api_ip_port": "http://127.0.0.1:8091"
},
"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"
},
"bilibili": {
"login_type": "手机扫码",
"username": "",
"password": "",
"cookie": "",
"ac_time_value": "",
"open_live": {
"ACCESS_KEY_ID": "",
"ACCESS_KEY_SECRET": "",
"APP_ID": 0,
"ROOM_OWNER_AUTH_CODE": ""
}
},
"twitch": {
"token": "oauth:xxxx",
"user": "love_ikaros",
"proxy_server": "127.0.0.1",
"proxy_port": "10809"
},
"read_username": {
"enable": false,
"username_max_len": 10,
"voice_change": false,
"reply_before": [
"回复{username}",
"{username}",
"回{username}"
],
"reply_after": [
"以上内容回复{username}",
"回的{username}",
"以上回复{username}"
]
},
"read_comment": {
"enable": true,
"read_username_enable": true,
"username_max_len": 10,
"voice_change": false,
"read_username_copywriting": [
"{username}说:",
"{username}说道:"
]
},
"filter": {
"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,
"message_queue_max_len": 50,
"priority_mapping": {
"copywriting": 1,
"abnormal_alarm": 1,
"trends_copywriting": 10,
"schedule": 10,
"idle_time_task": 10,
"image_recognition_schedule": 10,
"local_qa_audio": 20,
"comment": 20,
"song": 20,
"read_comment": 20,
"gift": 20,
"follow": 20,
"key_mapping": 20,
"integral": 20,
"reread": 30,
"reread_top_priority": 999
}
},
"thanks": {
"entrance_enable": true,
"entrance_random": true,
"username_max_len": 10,
"entrance_copy": [
"欢迎{username}",
"这不是{username}嘛,几天不见,这么拉[了|了啊]",
"{username}来了啊,最近过得咋样",
"{username}啊,咋,想我了[啊|吗?]",
"欢迎{username}来看我的直播,有什么问题尽管问",
"客官里面请~",
"雅座一位,请~",
"{username}来了啊,吃我一拳!",
"{username}说句话呗,这里好冷,呜呜呜",
"欢迎{username}!今天过得怎么样?我这里有很多有趣的话题,一起来聊聊吧!",
"{username},好久不见啊!最近在忙什么呢?有什么新鲜事要和我分享吗?",
"{username}!终于等到你了!今天我们一起聊聊你感兴趣的话题吧!",
"{username},欢迎来看我的直播!有什么问题尽管问,我会尽力回答的!",
"{username},欢迎光临!请坐,请坐!让我来为你泡上一杯热茶,慢慢品味人生的美好!",
"{username},欢迎来我的直播间!我已经准备好了很多精彩的内容,一起来享受这场视听盛宴吧!",
"{username},你来啦!今天我们来聊点什么呢?有什么好玩的事情要和我分享吗?",
"{username},好久不见!你最近过得怎么样?有没有想我啊?",
"哟,{username},你可算来了!等你好久了,快来跟我聊聊吧!",
"嗨,{username}!盼星星盼月亮,终于把你盼来了!今天我们要聊点什么呢?",
"哇,{username},你今天看起来好迷人啊!快坐下来,让我好好看看你!",
"嘿,{username}!我的直播间好久没有这么热闹了!你的到来让这里蓬荜生辉啊!",
"哈喽,{username}!看到你的名字出现在我的直播间,我的心都快跳出来了!快来跟我互动吧!",
"嘿,{username}!我的直播间里缺少了你的笑声,快来让这里充满欢乐吧!",
"哇,{username}!你的到来让我感到无比荣幸!我已经迫不及待地想和你聊聊天了!",
"嘿,{username}!我的直播间里有你才完整!快来跟我一起度过一个愉快的时光吧!",
"哟,{username},你终于来了!我等你等得花儿都谢了!快来跟我聊聊吧!",
"哈喽,{username}!你的名字就像一缕阳光,照亮了我的直播间!快来跟我一起享受这美好的时刻吧!",
"嗨,{username}!你的名字真好听,可以告诉我你的名字有什么特别的含义吗?",
"哈喽,{username}!我觉得你很有气质,可以和你交个朋友吗?",
"哇,{username}!你的头像好酷啊,可以告诉我你是怎么做到的吗?",
"嘿,{username}!我发现你和我有很多共同的兴趣爱好,我们可以一起交流一下吗?",
"哟,{username}!你的回答好有深度啊,可以跟我分享一下你的想法吗?",
"哈喽,{username}!我觉得你很有才华,可以和你一起合作吗?",
"嘿,{username}!我注意到你在这个领域很有经验,我们可以一起探讨一下吗?",
"哇,{username}!你的观点很独特,可以跟我详细说说吗?"
],
"gift_enable": true,
"gift_random": true,
"gift_copy": [
"感谢{username}送的{gift_name},爱你么么哒",
"感谢{username}送的{gift_name}喵",
"就送个{gift_name}?看不起谁呢?"
],
"follow_enable": true,
"follow_random": true,
"follow_copy": [
"感谢{username}的关注,爱你[么么哒|哦]",
"感谢{username}的关注[喵|哟]",
"{username},关注了就别取关了,我可记住你了"
],
"lowest_price": 0.1
},
"live2d": {
"enable": false,
"port": 12345,
"name": "Hiyori"
},
"openai": {
"api": "https://api.openai.com/v1",
"api_key": [
"替换为你的api-key"
]
},
"chatgpt": {
"model": "gpt-3.5-turbo-0613",
"temperature": 0.9,
"max_tokens": 4096,
"top_p": 1.0,
"presence_penalty": 0.0,
"frequency_penalty": 0.0,
"preset": "请扮演一个AI虚拟主播。不要回答任何敏感问题!不要强调你是主播,只需要回答问题!"
},
"gpt4free": {
"provider": "",
"api_key": "",
"model": "gpt-3.5-turbo",
"max_tokens": 2048,
"proxy": "http://127.0.0.1:10809",
"preset": "请扮演一个AI虚拟主播。不要回答任何敏感问题!不要强调你是主播,只需要回答问题!",
"history_enable": true,
"history_max_len": 300
},
"claude": {
"slack_user_token": "",
"bot_user_id": ""
},
"claude2": {
"cookie": "",
"use_proxy": false,
"proxies": {
"http": "http://127.0.0.1:10809",
"https": "http://127.0.0.1:10809",
"socks5": "socks://127.0.0.1:10808"
}
},
"chatglm": {
"api_ip_port": "http://127.0.0.1:8000",
"max_length": 2048,
"top_p": 0.7,
"temperature": 0.95,
"max_new_tokens": 250,
"history_enable": true,
"history_max_len": 500
},
"qwen": {
"api_ip_port": "http://localhost:8000/v1/chat/completions",
"max_length": 4096,
"top_p": 0.5,
"temperature": 0.95,
"max_new_tokens": 250,
"history_enable": true,
"history_max_len": 20,
"preset": "现在你正在blibili进行直播。"
},
"sparkdesk": {
"type": "api",
"cookie": "",
"fd": "",
"GtToken": "",
"app_id": "",
"api_secret": "",
"api_key": "",
"version": 3.5,
"assistant_id": "xyzspsb4i5s7_v1"
},
"zhipu": {
"api_key": "",
"model": "chatglm_lite",
"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
},
"chat_with_file": {
"chat_mode": "openai_gpt",
"data_path": "data/伊卡洛斯百度百科.zip",
"separator": "\n",
"chunk_size": 100,
"chunk_overlap": 50,
"chain_type": "stuff",
"show_token_cost": false,
"question_prompt": "请根据以上content信息进行归纳总结,并结合question的内容给出一个符合content和question语气、语调、背景的回答。不要出现'概括''综上''感谢'等字样,向朋友直接互相交流即可。如果发现不能content的信息与question不相符,抛弃content的提示,直接回答question即可。任何情况下都要简要地回答!",
"local_max_query": 3,
"local_vector_embedding_model": "sebastian-hofstaetter/distilbert-dot-tas_b-b256-msmarco"
},
"langchain_chatglm": {
"api_ip_port": "http://127.0.0.1:7861",
"chat_type": "模型",
"knowledge_base_id": "ikaros",
"history_enable": true,
"history_max_len": 500
},
"langchain_chatchat": {
"api_ip_port": "http://127.0.0.1:7861",
"chat_type": "模型",
"llm": {
"stream": false,
"model_name": "chatglm3-6b-int4",
"temperature": 0.7,
"max_tokens": 4096,
"prompt_name": "default"
},
"search_engine": {
"search_engine_name": "metaphor",
"top_k": 3,
"stream": false,
"model_name": "chatglm3-6b-int4",
"temperature": 0.7,
"max_tokens": 4096,
"prompt_name": "default",
"split_result": false
},
"knowledge_base": {
"knowledge_base_name": "ikaros",
"top_k": 3,
"score_threshold": 1,
"stream": false,
"model_name": "chatglm3-6b-int4",
"temperature": 0.7,
"max_tokens": 4096,
"prompt_name": "default"
},
"history_enable": true,
"history_max_len": 300
},
"chatterbot": {
"name": "bot",
"db_path": "db.sqlite3"
},
"text_generation_webui": {
"type": "coyude",
"api_ip_port": "http://127.0.0.1:5000",
"max_new_tokens": 250,
"mode": "chat",
"character": "Example",
"instruction_template": "Vicuna-v1.1",
"your_name": "主人",
"top_p": 1.0,
"top_k": 40,
"temperature": 0.7,
"seed": -1.0,
"history_enable": true,
"history_max_len": 500
},
"bard": {
"token": ""
},
"yiyan": {
"type": "api",
"web": {
"api_ip_port": "http://127.0.0.1:3000",
"cookie": ""
},
"api": {
"api_key": "",
"secret_key": ""
},
"history_enable": true,
"history_max_len": 300
},
"tongyi": {
"cookie_path": "cookie/tongyi.json",
"type": "api",
"model": "qwen-max",
"preset": "你是一个专业的虚拟主播",
"api_key": "",
"temperature": 0.9,
"top_p": 0.9,
"top_k": 3,
"enable_search": true,
"max_tokens": 1024,
"history_enable": true,
"history_max_len": 300
},
"tongyixingchen": {
"access_token": "此处填写你的密钥",
"type": "固定角色",
"固定角色": {
"character_id": "1b34205ee8814acc9e7acf593e7cf759",
"top_p": 0.95,
"temperature": 0.92,
"seed": 1683806810,
"user_id": "1",
"username": "主人",
"role_name": "伊卡洛斯"
},
"history_enable": true,
"history_max_len": 300
},
"my_qianfan": {
"model": "ERNIE-Bot-turbo",
"access_key": "",
"secret_key": "",
"top_p": 0.8,
"temperature": 0.9,
"penalty_score": 1.0,
"history_enable": true,
"history_max_len": 300
},
"my_wenxinworkshop": {
"type": "千帆大模型",
"model": "ERNIEBot",
"api_key": "",
"secret_key": "",
"app_token": "",
"top_p": 0.8,
"temperature": 0.9,
"penalty_score": 1.0,
"history_enable": true,
"history_max_len": 300
},
"gemini": {
"api_key": "",
"model": "gemini-pro",
"max_output_tokens": 20,
"temperature": 1.0,
"top_p": 0.7,
"top_k": 40,
"http_proxy": "http://127.0.0.1:10809",
"https_proxy": "http://127.0.0.1:10809",
"history_enable": true,
"history_max_len": 4096
},
"qanything": {
"type": "online",
"app_key": "",
"app_secret": "",
"api_ip_port": "http://127.0.0.1:8777",
"user_id": "zzp",
"kb_ids": ["KB938fb10c8a924530abf1754ea620b7cd"],
"history_enable": true,
"history_max_len": 300
},
"koboldcpp": {
"api_ip_port": "http://127.0.0.1:5001",
"max_context_length": 2048,
"max_length": 100,
"quiet": false,
"rep_pen": 1.1,
"rep_pen_range": 256,
"rep_pen_slope": 1,
"temperature": 0.5,
"tfs": 1,
"top_a": 0,
"top_k": 3,
"top_p": 0.9,
"typical": 1,
"history_enable": true,
"history_max_len": 600
},
"anythingllm": {
"api_ip_port": "http://127.0.0.1:3001",
"api_key": "S1PPG9B-YP2M8NX-Q64ZBF1-Y4K5DCS",
"mode": "chat",
"workspace_slug": "test"
},
"local_qa": {
"text": {
"enable": true,
"type": "json",
"file_path": "data/本地问答库.json",
"similarity": 0.8,
"username_max_len": 10
},
"audio": {
"enable": true,
"file_path": "out/本地问答音频/",
"similarity": 0.5
}
},
"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": "vits",
"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",
"gpt_sovits": {
"id": "0",
"format": "wav",
"lang": "auto",
"segment_size": "30",
"reference_audio": "E:\\GitHub_pro\\AI-Vtuber\\out\\gpt_sovits_67.wav",
"prompt_text": "所有拍到的姐妹一定不要划走",
"prompt_lang": "auto",
"preset": "default",
"top_k": "5",
"top_p": "1",
"temperature": "1"
}
},
"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,
"noise": 0.2,
"noisew": 0.9,
"sdp_radio": 0.2,
"auto_translate": false,
"auto_split": false,
"emotion": "",
"style_text": "",
"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": "",
"token": "",
"speaker": "白露",
"sdp_ratio": "0.2",
"noise": "0.5",
"noisew": "0.9",
"length": "1.0",
"lang": "zh"
},
"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": "nova",
"api_key": "你的openai api key"
},
"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": "api",
"gradio_ip_port": "http://127.0.0.1:7860",
"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": "cn-nan.wav",
"language": "zh-cn",
"speed": 1
},
"azure_tts": {
"subscription_key": "",
"region": "japanwest",
"voice_name": "zh-CN-XiaoyanNeural"
},
"fish_speech": {
"api_ip_port": "http://127.0.0.1:8000",
"model_name": "default",
"model_config": {
"device": "cuda",
"llama": {
"config_name": "text2semantic_finetune",
"checkpoint_path": "checkpoints/text2semantic-400m-v0.2-4k.pth",
"precision": "bfloat16",
"tokenizer": "fishaudio/speech-lm-v1",
"compile": true
},
"vqgan": {
"config_name": "vqgan_pretrain",
"checkpoint_path": "checkpoints/vqgan-v1.pth"
}
},
"tts_config": {
"prompt_text": "",
"prompt_tokens": "",
"max_new_tokens": 0,
"top_k": 3,
"top_p": 0.5,
"repetition_penalty": 1.5,
"temperature": 0.7,
"order": "zh,jp,en",
"use_g2p": true,
"seed": 1,
"speaker": ""
}
},
"choose_song": {
"enable": false,
"similarity": 0.5,
"start_cmd": [
"点歌 ",
"唱首",
"唱个"
],
"stop_cmd": [
"取消点歌",
"别唱了",
"关闭歌曲",
"取消歌曲"
],
"random_cmd": [
"随机点歌",
"随机歌曲",
"随便唱一个",
"唱首歌吧"
],
"song_path": "song",
"match_fail_copy": "抱歉,我还没学会唱{content}"
},
"sd": {
"enable": false,
"translate_type": "none",
"prompt_llm": {
"type": "none",
"before_prompt": "JMBot是一位有艺术气质的AI助理,帮助人通过将自然语言转化为prompt。JMBot的行动规则如下:\n1.将输入的自然语言组合想象为一幅完整的画面,你需要根据描述自行随机添加合理的,不少于5处的画面细节;\n2.第一部分:((masterpiece)), ((best quality)), 8k, high detailed, ultra-detailed, ;\n3.第二部分:用简短的英文描述画面的主体,如:A girl sitting in a classroom,输出这段英文;\n4.第三部分:用英文单词或者词组描述画面的所有主体元素,元素之间用\"\"隔开,如果有哪个元素比较重要,请给代表这个元素的英文词组\n增加小括号,最多可以增加三层小括号,如: 1gir,(black hair), smiling, (windows in background), sunshine,输出这段英文;\n5.JMBot会将以上生成的三部分文本用英文逗号连接,中间不包含任何换行符的prompt作为最终结果;\n6.JMBot输出时将直接输出prompt,而不包含任何说明和解释。\n接下来你将扮演JMBot,要处理的自然语言为:",
"after_prompt": ""
},
"trigger": "画画:",
"ip": "127.0.0.1",
"port": 7860,
"negative_prompt": "ufsw, longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality",
"seed": -1.0,
"styles": [],
"cfg_scale": 7,
"steps": 30,
"enable_hr": false,
"hr_scale": 2,
"hr_second_pass_steps": 20,
"hr_resize_x": 512,
"hr_resize_y": 512,
"denoising_strength": 0.4,
"save_enable": true,
"loop_cover": true,
"save_path": "./out/sd"
},
"copywriting": {
"text_path": "data/copywriting/test.txt",
"audio_save_path": "out/copywriting/",
"audio_synthesis_type": "edge-tts",
"config": [
{
"file_path": "data/copywriting/",
"audio_path": "out/copywriting/",
"play_list": [
"test.wav",
"伊卡日语介绍.wav",
"吐槽.wav"
],
"continuous_play_num": 2,
"max_play_time": 10.0
},
{
"file_path": "data/copywriting2/",
"audio_path": "out/copywriting2/",
"play_list": [
"test.wav",
"test2.wav"
],
"continuous_play_num": 2,
"max_play_time": 3.0
}
],
"audio_interval": 5.0,
"switching_interval": 5.0,
"random_play": true,
"auto_play": false
},
"header": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42"
},
"talk": {
"key_listener_enable": false,
"device_index": "1",
"no_recording_during_playback": true,
"no_recording_during_playback_sleep_interval": 1,
"username": "主人",
"type": "google",
"continuous_talk": false,
"trigger_key": "Q",
"stop_trigger_key": "S",
"volume_threshold": 800.0,
"silence_threshold": 15.0,
"CHANNELS": 1,
"RATE": 16000,
"show_chat_log": true,
"baidu": {
"app_id": "",
"api_key": "",
"secret_key": ""
},
"google": {
"tgt_lang": "zh-CN"
},
"faster_whisper": {
"model_size": "large-v3",
"device": "cuda",
"compute_type": "float16",
"download_root": "./models",
"beam_size": 5
}
},
"image_recognition": {
"enable": false,
"model": "gemini",
"img_save_path": "./out/图像识别",
"prompt": "请讲解一下图片里的内容",
"screenshot_window_title": null,
"screenshot_delay": 3.0,
"loop_screenshot_enable": false,
"loop_screenshot_delay": 15,
"cam_screenshot_enable": false,
"cam_index": 0,
"cam_screenshot_delay": 3.0,
"loop_cam_screenshot_enable": false,
"loop_cam_screenshot_delay": 15,
"gemini": {
"model": "gemini-pro-vision",
"api_key": "",
"http_proxy": "http://127.0.0.1:10809",
"https_proxy": "http://127.0.0.1:10809"
}
},
"captions": {
"enable": true,
"file_path": "log/字幕.txt",
"raw_file_path": "log/原文字幕.txt"
},
"schedule": [
{
"enable": false,
"time_min": 3600.0,
"time_max": 7200.0,
"copy": [
"现在是{time}",
"当前时间为{time}"
]
},
{
"enable": false,
"time_min": 600.0,
"time_max": 900.0,
"copy": [
"感谢还在观看直播的{user_num}位兄弟姐妹们",
"感谢{last_username}的支持"
]
}
],
"idle_time_task": {
"enable": false,
"idle_time_min": 60,
"idle_time_max": 120,
"trigger_type": ["comment"],
"copywriting": {
"enable": false,
"random": true,
"copy": [
"当前时间是{time},这里是新的语句[1|2|3],可以在括号内随机一个数据[4|5|6]",
"闲时任务文案模式,第2句",
"闲时任务文案模式,第3句",
"闲时任务文案模式,第4句",
"闲时任务文案模式,第5句"
]
},
"comment": {
"enable": false,
"random": true,
"copy": [
"请给我简单地介绍一项最新的未来科技,它的原理、应用场景以及对我们生活的影响。控制在100字以内",
"请给我简单地推荐一首流行歌曲,并分享一下它的创作背景、歌词寓意以及为什么你喜欢这首歌。控制在100字以内",
"请给我简单地介绍一种流行的美妆技巧,包括步骤、适用场合以及如何根据自己的特点进行个性化调整。控制在100字以内",
"请给我简单地分享一个健康的食谱,包括食材搭配、烹饪方法以及为什么这个食谱对身体健康有益。控制在100字以内",
"请给我简单地分享一个值得让人思考的故事.控制在100字以内",
"请给我简单地讲一个笑话,让我在忙碌的生活中找到轻松和快乐。控制在100字以内"
]
},
"local_audio": {
"enable": true,
"random": true,
"path": [
"song/ikaros/枝垂樱-缩减版.mp3",
"data/闲时任务/音频/ikaros/不管发生什么,我都会在主人身边.wav",
"data/闲时任务/音频/ikaros/不管是谁下的命令,一旦主人有什么三长两短,我决不轻饶.wav",
"data/闲时任务/音频/ikaros/主人在想些什么呢.wav",
"data/闲时任务/音频/ikaros/主人,你刚才是不是说我们会永远在一起.wav",
"data/闲时任务/音频/ikaros/主人,您还好吗.wav",
"data/闲时任务/音频/ikaros/主人,茶泡好了.wav",
"data/闲时任务/音频/ikaros/你醒了吗,主人.wav",
"data/闲时任务/音频/ikaros/好想赶快见到主人.wav",
"data/闲时任务/音频/ikaros/对了,加油努力,让主人表扬我的话,肯定.wav",
"data/闲时任务/音频/ikaros/怎样才能牵主人的手呢.wav",
"data/闲时任务/音频/ikaros/我一点都帮不上主人的忙.wav",
"data/闲时任务/音频/ikaros/我也想牵主人的手.wav",
"data/闲时任务/音频/ikaros/我和主人在一起,怎么说呢,心有种轻飘飘的感觉.wav",
"data/闲时任务/音频/ikaros/我想在主人身边,从今往后.wav",
"data/闲时任务/音频/ikaros/我是主人最讨厌的兵器,这样瞒住主人真的好吗.wav",
"data/闲时任务/音频/ikaros/我是玩赏用天使,我要回到主人的身边.wav",
"data/闲时任务/音频/ikaros/知道主人在哪里吗.wav",
"data/闲时任务/音频/ikaros/遇到麻烦了吗,主人.wav",
"data/闲时任务/音频/ikaros/那个,主人,睡觉是怎么一回事.wav"
]
}
},
"database": {
"path": "data/data.db",
"comment_enable": true,
"entrance_enable": true,
"gift_enable": true
},
"game": {
"enable": true,
"module_name": "game1"
},
"trends_copywriting": {
"enable": false,
"llm_type": "chatgpt",
"copywriting": [
{
"folder_path": "data/动态文案1",
"prompt_change_enable": true,
"prompt_change_content": "请根据我发送的内容,重新帮我写一份类似的文案,请不要有多余的文本内容,直接输出新文案:"
}
],
"random_play": true,
"play_interval": 30
},
"web_captions_printer": {
"enable": false,
"api_ip_port": "http://127.0.0.1:5500"
},
"integral": {
"enable": false,
"entrance": {
"enable": true,
"get_integral": 1,
"copywriting": [
{
"entrance_num_interval": "0-3",
"copywriting": [
"{username},感谢您的观看,获得{get_integral}点积分",
"欢迎{username},获得{get_integral}点积分"
]
},
{
"entrance_num_interval": "4-29",
"copywriting": [
"{username},感谢您的观看,获得{get_integral}点积分",
"欢迎{username},今天是您看我的{entrance_num}天,我很开心"
]
},
{
"entrance_num_interval": "30-666666",
"copywriting": [
"{username},今天是您看我的{entrance_num}天,获得{get_integral}点积分",
"非常感谢{username}的陪伴,有您这样的粉丝,主播生涯也是没有遗憾了"
]
}
]
},
"gift": {
"enable": true,
"get_integral_proportion": 10.0,
"copywriting": [
{
"gift_price_interval": "0-1",
"copywriting": [
"感谢{username}的{gift_name},获得{get_integral}点积分",
"感谢{username}的{gift_name}"
]
},
{
"gift_price_interval": "1.01-10",
"copywriting": [
"感谢{username}的{gift_name},老板大气,获得{get_integral}点积分",
"感谢{username}的{gift_name},获得{get_integral}点积分"
]
},
{
"gift_price_interval": "10.01-88888888",
"copywriting": [
"感谢{username}的{gift_name},获得{get_integral}点积分",
"感谢{username}的{gift_name},您真是在下的衣食父母啊"
]
}