适用于 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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 974a27acda254e64a84025a07ca97c885ab1645eb3668baf0dd6e6e3e19ce48d |
|
MD5 | 6f2fe92f6ceb20a2a638cea90a953858 |
|
BLAKE2b-256 | 56fd2e60330ba77cb66adb07a4416be8e3bb983f28a0e750e1546c06fa72e6bd |
Close
Hashes for nonebot_plugin_drawer-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94e0b9aaa9bd8da8f2b4ba59136db783f9d0c8f15e5ab765fd71b9e9981d8b5 |
|
MD5 | ef7ce5cf6ea21be0fe3bdfa194dd27ec |
|
BLAKE2b-256 | b6ef5ecf02b28907cd10fc39218f2f46850f55ca341954eb618b15b6ecb82a9d |