Skip to main content

nonebot_plugin_wen_xin

Project description

nonebot_plugin_wen_xin

✨ NoneBot 百度文心 ✨

license pypi python

📖 介绍

接入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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_wen_xin-0.0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page