适用于 Nonebot2 的AI画画插件(对接文心大模型API)
Project description
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
使用方法
当前支持 "油画", "水彩画", "中国画", 主要擅长风景写意画,请尽量给定比较明确的意象
如:油画 江上落日与晚霞
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-drawer-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d57d7cfbdde32a33fd42c74efb5bf6469517f536adc86161db484b28c9d965 |
|
MD5 | b6a504ec703784516b696777d9c5051f |
|
BLAKE2b-256 | 800816b091e8441fd6e91ceea290f8eea877523f649c81fd38d66c2f7d6c5f7b |
Close
Hashes for nonebot_plugin_drawer-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da1e8ee181323fa4d7be70699d01649d5e1f06bf88bf2e99594405015929510 |
|
MD5 | 1471e8540a1bc65777d9b894c425315d |
|
BLAKE2b-256 | b617831828ca043c8590a0cfc3c1f9a976e1ada8169f5ce0e3b88c59b7c653a9 |