An open API service indexing awesome lists of open source software.

https://github.com/thx114/sdgpt

ChatBot for NoneBot : 链接 ChatGPT / Bing / Stable-Diffusion : ChatGPT Bing聊天, gpt解析自然语言转Stable-Diffusion生成图像
https://github.com/thx114/sdgpt

bing chatgpt cqhttp nonebot2 poe python qq qqbot sab stable-diffusion

Last synced: 6 months ago
JSON representation

ChatBot for NoneBot : 链接 ChatGPT / Bing / Stable-Diffusion : ChatGPT Bing聊天, gpt解析自然语言转Stable-Diffusion生成图像

Awesome Lists containing this project

README

          

# SDGPT
基于 **[NoneBot2](https://v2.nonebot.dev/)**


## 功能
链接 ChatGPT / Bing / Poe / Stable-Diffusion :
- [x] ChatGPT 对话
- [x] Bing 对话
- [x] Poe 对话
- [x] Stable-Diffusion 文生图
> 基于 chatGPT 或 bing 解析自然语言转 Stable-Diffusion 生成图像
- [x] qq 频道支持
> qq 频道下 chatGPT bing 的对话会分段发送
- [x] 预设切换
- [x] 自定义预设
- [x] 切换模型
- [x] 详细的指令配置

**指令与功能**: [***SDGPT-CommandAndFunction***](https://github.com/thx114/SDGPT/wiki/%E6%8C%87%E4%BB%A4-%E4%B8%8E-%E5%8A%9F%E8%83%BD)

## 效果
![image](https://github.com/thx114/SDGPT/assets/52259890/376e2788-1566-4f1d-a5be-69b7d9236da5)
![image](https://github.com/thx114/SDGPT/assets/52259890/5bf5f253-2221-46fd-96fd-14f5885c2fab)

## 使用
> 如果你没有使用过NoneBot,
> 这里有一个现成的NoneBot基于SDGPT机器人:
> [**SDGPT-BOT**](https://github.com/thx114/SDGPT-BOT)
>

- Python >= 3.10
- 方式一:使用`nb-cli`安装插件
```
nb plugin install nonebot-plugin-SDGPT
```
- 方式二:使用`pip`安装
```
python -m pip install nonebot-plugin-SDGPT
```

注意: 在你的 nonebot 机器人目录下的预设文件夹中应该需要一个默认的用于生成绘图 tag 的 预设,在此获取:
- https://github.com/thx114/SDGPT-BOT/tree/main/presets

## more

[**QQ 群 391517834**](https://jq.qq.com/?_wv=1027&k=eKsgovej)
[**SDGPT BOT**](https://github.com/thx114/SDGPT-BOT)

[**NoneBot**](https://v2.nonebot.dev/)
[**ChatGPT**](https://github.com/acheong08/ChatGPT)
[**EdgeGPT**](https://github.com/acheong08/EdgeGPT)
[**SD-api**](https://github.com/mix1009/sdwebuiapi)