Metadata-Version: 2.1
Name: nonebot-plugin-drawer
Version: 0.2.2
Summary: 适用于 Nonebot2 的AI画画插件(对接文心大模型API)
Home-page: https://github.com/CrazyBoyM/nonebot-plugin-drawer
License: MIT
Author: CrazyBoyM
Author-email: ai-lab@foxmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: asyncio (>=3.4.3,<4.0.0)
Requires-Dist: httpx (>=0.19.0,<0.20.0)
Requires-Dist: nonebot2 (>=2.0.0-beta.1,<3.0.0)
Requires-Dist: pydantic (>=1.9.2,<2.0.0)
Project-URL: Repository, https://github.com/CrazyBoyM/nonebot-plugin-drawer
Description-Content-Type: text/markdown

# nonebot-plugin-drawer
基于文心大模型的AI机器人画画插件。


### 通过nb-cli安装（推荐）
nb plugin install nonebot-plugin-drawer
### 通过pip安装
1.pip install nonebot-plugin-drawer 进行安装  
2.在bot.py添加nonebot.load_plugin('nonebot_plugin_drawer')
### 配置env.*
请在env.*配置文件中加入如下两行
```
wenxin_ak = "xxxxxxxxxxxxxxxx"
wenxin_sk = "xxxxxxxxxxxxxxxx"
```
文心的ak和sk申请链接：https://wenxin.baidu.com/younger/apiDetail?id=20008
### 使用方法
当前支持 "油画", "水彩画", "中国画", 主要擅长风景写意画，请尽量给定比较明确的意象  
如：油画 江上落日与晚霞

![51addc86ce22c5ff99a12b36cd5834c](https://user-images.githubusercontent.com/35400185/184457437-e22e3f84-69bd-467b-b158-2e3dccce00c1.jpg)

