适用于 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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d882b8b088407fed33ebd9f6d8c2fd7754d3fe7b6cb8fc39e53c781daaf9dc |
|
MD5 | 5785a0b0ba637cc153d0ea3638c5be88 |
|
BLAKE2b-256 | e5cc7d08ab3ec09ba56dc784b9930aa27f043bab0987ec4e8321a5808ee2c439 |
Close
Hashes for nonebot_plugin_drawer-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 111c1e55ce569191b795788787827eb102cbdddf92b8072d3045044496cb3723 |
|
MD5 | 114360bd24b1961eed63808be7cbe38d |
|
BLAKE2b-256 | 6819bab305a6997e61e69db4c6a5425a12dfde632676a7756f9352472d9272df |