nonebot_plugin_wen_xin
Project description
nonebot_plugin_wen_xin
✨ NoneBot 百度文心 ✨
📖 介绍
接入Stable Diffusion做AI文生图。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot_plugin_wen_xin
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot_plugin_wen_xin
conda
conda install nonebot_plugin_wen_xin
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin("nonebot_plugin_wen_xin")
从 github 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下命令克隆此储存库git clone https://github.com/Matrix-King-Studio/nonebot_plugin_wen_xin.git
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin("src.plugins.nonebot_plugin_wen_xin")
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
cd_time | 否 | 100s | CD时间 |
manager_list | 否 | 无 | 不受冷却时间限制的管理员 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 |
---|---|---|---|
/画画帮助 | 所有人 | 否 | 群聊 |
/画画 二次元,中国女孩,唯美,烟火,棕红色长发,金色眼睛,洛丽塔风格,精致面容,毛发细致,cg感,高清,8k,浪漫主义 | 所有人 | 否 | 群聊 |
效果图
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_wen_xin-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8203bb1f71476ab110f007d47b52217cbd0dd8fc08fffd2f1708ed8d6253a33e |
|
MD5 | fc72d216ad9a826a50cfc229367a4fca |
|
BLAKE2b-256 | 6c31b7d9b486ea19ecf12facbe0e617dea51efcf965c413be0630c66ce23a642 |
Close
Hashes for nonebot_plugin_wen_xin-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f70029ca53286f87aa852e406b1a4d3ed8d81db1993f2bdd014239dd980bf25f |
|
MD5 | a223c89ff314573f5fa750b52e00bd87 |
|
BLAKE2b-256 | ace98f316ff0755f5489dc4349c2a6d1e302df35cc257480bb53265033361517 |