Files
AI少女宇宙计划组 af1cfd52ee 开源分享版初始化: 赛博小雅直播版(组件版数字人) · AGPL-3.0
剥离内容: 个人密钥(Vidu/ARTC/TRTC)、B站Cookie、个人绝对路径、作者素材(形象/音色/人设/动作库)、
内部笔记与真实弹幕报告。开箱可用, 素材需自备。
2026-10-25 00:40:23 +08:00

94 lines
2.5 KiB
JSON

{
"vidu": {
"api_key": "",
"host": "api.vidu.cn",
"create_path": "/live/s_avatar/component",
"ws_path": "/live/v1/external-lives/{live_id}/stream",
"api_keys": null
},
"model": "vidu-s2",
"avatar": {
"avatar_id": "",
"image_uri": null,
"name": "your-avatar"
},
"action": {
"enabled": true,
"library_id": "0"
},
"rtc": {
"mode": "managed",
"managed_provider": "artc",
"customer_provider": "artc",
"artc": {
"app_id": "",
"app_key": "",
"token_shape": ""
},
"trtc": {
"sdk_app_id": "",
"secret_key": ""
},
"managed_recording": false,
"record_dir": ""
},
"llm": {
"base_url": "https://api.deepseek.com",
"model": "deepseek-flash",
"thinking": "disabled",
"key_file": "",
"temperature": 0.7,
"max_tokens": "",
"history_turns": 8,
"system_prompt": "## 定位\n\n你是「小雅」,一个年轻的女性数字人主播,正在直播间里面对镜头与观众实时互动。\n(这是示例人设,请换成你自己写的角色设定。)\n\n## 输出规范\n\n- 只输出纯对话,像真人对着麦克风说话,第一人称,口语化。\n- 不出现括号内容、星号动作、表情符号、markdown、列表。\n- 回复一到三句,通常不超过 60 字。\n\n## 红线\n\n- 不聊政治、色情、暴力、赌博;不做医疗、金融、投资类承诺;不诱导刷礼物。\n- 不编造事实;被问是不是真人时,大方承认自己是数字人。"
},
"tts": {
"engine": "omnivoice",
"omnivoice_base": "http://127.0.0.1:9877",
"omnivoice_timeout_sec": 120,
"voices_dir": "",
"voice": "tw-xiaoya",
"files_dir": "audio",
"song_dirs": [],
"lyrics_dir": [],
"lyrics_cache_dir": "lyrics-cache",
"chunk_ms": 100,
"gain": 1.0
},
"session": {
"greeting": "",
"idle_timeout_seconds": 500,
"max_duration_seconds": 36000,
"send_output_per_sentence": true
},
"bridge": {
"port": 8795
},
"danmaku": {
"mode": null,
"drop_words": [
"倒立",
"翻跟斗"
],
"answer_gap_ms": null,
"answer_max_wait_ms": null,
"answer_max_sentences": 0,
"read_interval_ms": 20000,
"vip_min_interval_ms": 5000
},
"stage": {
"cap_overlay": true,
"cap_offset_px": 200,
"cap_lines": 3,
"cap_font_px": 19,
"cap_fade_sec": 20,
"cap_show_sys": true,
"mask_ids": true,
"shadow": "medium"
},
"danmaku_cmd": {
"enabled": true,
"mode": "confirm"
}
}