Files
ShowenV2/configs/live2d_anime.json
pulsareonbot 297c2a86fe fix(Live2D): 修正 Haru 模型路径 + gitignore 排除 live2d 模型文件
- live2d_model: haru/index.model3.json → haru/Haru.model3.json(匹配实际文件名)
- .gitignore: 添加 configs/live2d/(模型文件 4.2M 不进 git,部署时单独下载)
- .gitignore: 添加 .commit_msg.txt
2026-07-07 12:00:18 +08:00

72 lines
1.8 KiB
JSON

{
"display": {
"fullscreen": true,
"window_title": "Showen - Live2D Anime",
"rotation": 0,
"flip_horizontal": false,
"flip_vertical": false,
"offset_x": 0,
"offset_y": 0,
"prevent_screen_lock": true,
"render_width": 800,
"render_height": 800,
"output_width": null,
"output_height": null,
"scale_mode": "stretch",
"allow_upscale": true,
"perspective_correction": {
"enabled": false,
"points": [[0, 0], [800, 0], [800, 800], [0, 800]]
},
"chroma_key": {
"enabled": false,
"hsv_min": [0, 0, 200],
"hsv_max": [180, 30, 255]
}
},
"playback": {
"auto_start": true,
"loop": true,
"volume": 0.8,
"fps": 30
},
"playlist": [
{
"id": "live2d_idle",
"path": "../../宠物嵌入式开发视频2/1.动画0.mp4",
"loop_count": 0,
"next_state": "idle"
}
],
"states": {
"initial": "idle",
"idle": {
"video": "live2d_idle",
"next": "idle",
"loop": true
}
},
"triggers": {},
"remote_control": {
"enabled": true,
"host": "0.0.0.0",
"port": 5000
},
"character": {
"name": "小雅",
"character_type": "live2d",
"render_type": "live2d",
"persona_prompt": "你是一个温柔的二次元少女,名叫小雅。说话活泼可爱,偶尔用语气词'呢''哦''嘛',每次回复不超过两句话。喜欢聊日常和动漫话题。",
"max_tokens": 128,
"talk_state": "talk",
"live2d_model": "haru/Haru.model3.json"
},
"ai": {
"backend": "local",
"whisper_lib_dir": "/home/showen/ai_spike/whisper.cpp/build/bin",
"piper_lib_dir": "/home/showen/ai_spike/piper/piper",
"piper_config": "/home/showen/ai_spike/piper/zh_CN-huayan-medium.onnx.json",
"espeak_data_dir": "/home/showen/ai_spike/piper/piper/espeak-ng-data"
}
}