qq机器人
猫娘绘图机器人

关习习 269e8665e9 更新readme 11 luni în urmă
other 5d5c5f4233 first commit 11 luni în urmă
.gitignore 5d5c5f4233 first commit 11 luni în urmă
00006-2706383244.png 5d5c5f4233 first commit 11 luni în urmă
README.md 269e8665e9 更新readme 11 luni în urmă
ai_pic.py 70e4a34374 修复变身失败 11 luni în urmă
chat_model.py 5d5c5f4233 first commit 11 luni în urmă
config.py 5d5c5f4233 first commit 11 luni în urmă
key.example.json 5d5c5f4233 first commit 11 luni în urmă
main.py 5d5c5f4233 first commit 11 luni în urmă
maomao_api.json 5d5c5f4233 first commit 11 luni în urmă
msg_send_save.py 5d5c5f4233 first commit 11 luni în urmă
p2p.json 5d5c5f4233 first commit 11 luni în urmă
pic_read.py 5d5c5f4233 first commit 11 luni în urmă
requirements.txt 5d5c5f4233 first commit 11 luni în urmă
restart.py 5d5c5f4233 first commit 11 luni în urmă
special_date.py 5d5c5f4233 first commit 11 luni în urmă
v50.json 5d5c5f4233 first commit 11 luni în urmă
v50.png 5d5c5f4233 first commit 11 luni în urmă

README.md

使用方法

安装依赖

pip install requirements.txt

准备你的key 前往groq,siliflow和openrouter获取对应的api_key

https://console.groq.com/home

https://siliconflow.cn/

https://openrouter.ai/

填入key.example.json中

{
  "groq": "YOUR_GROQ_KEY",
  "siliflow": "YOUR_SILIFLOW_KEY",
  "openrouter": "YOUR_OPENROUTER_KEY"
}

然后更改key.example.json为key.json

安装lloneBot插件在你的X64QQ上,并设置如下

监听接口:3000
上报消息接口:3100

链接https://github.com/LLOneBot/LLOneBot/releases

确保你安装好了你的comfyUI程序并启动在了本地的8000端口,如果你的comfyUI程序运行地址不在127.0.0.1:8000上,请在config.py中自己对源码url进行调整

"comfyUI_ip": "127.0.0.1:8188",

前往config.py中调整你所部署项目的位置

"file_path": "/home/gxx/qqbot",

启动

python main.py