适用于 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"
cd_time = 120 # 技能冷却时间,以秒为单位
文心的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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0493794e1c2c3c150e4f41f08e42f81446d592d19ddcb5025bd57c3913ba3bea |
|
MD5 | 1068d547d9153e08d4a6b8b560d6b377 |
|
BLAKE2b-256 | ef3a1a068e632a6b7816974583a7043e42a622ad3ed52f374c363b94b5bbbcc5 |
Close
Hashes for nonebot_plugin_drawer-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b73b71deff343e0f60e83c35815719bea86d3f4e7e2cb6afb55d5ed2dbd198 |
|
MD5 | 5ed1ee3c8640526d99e4584ddad25395 |
|
BLAKE2b-256 | f6ee468a75ae6edd3829ae68dcdc605b9544b425c15a7882b469ed743a4b6f5c |