介绍
- 本插件调用Bing的绘图接口,仅需提供Bing的cookies即可调用DALL-E 3进行绘图。
- 本插件支持多cookies和代理设置。
- 在不支持NewBing的地区请设置代理。
- 核心代码来源于BingImageCreator
安装
-
手动安装
git clone https://github.com/Alpaca4610/nonebot_plugin_BingImageCreator.git下载完成后在bot项目的pyproject.toml文件手动添加插件:
plugin_dirs = ["xxxxxx","xxxxxx",......,"下载完成的插件路径/nonebot-plugin-BingImageCreator"] -
使用 pip
pip install nonebot-plugin-BingImageCreator
配置文件
在Bot根目录下的.env文件中追加如下内容:
bing_cookies = ["cookies1","cookies2","cookies3",......]
可选内容:
bing_proxy = "http://127.0.0.1:8001" # 无法访问NewBing的地区请配置此项
cookies获取方法参考此处
使用方法
- 直接发送: 画图 XXXXXX
Release files for nonebot-plugin-bingimagecreator 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_bingimagecreator-0.1.5.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_bingimagecreator-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / nonebot_plugin_bingimagecreator-0.1.5.tar.gz
| Download URL | nonebot_plugin_bingimagecreator-0.1.5.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c7fd95c2bf01db649a9dc0e49a0002f3ad2e095b0c3d240886331384de06b55
|
|
BLAKE2b-256 checksum How to use checksums |
47a0a43ac3fe3b25925f28f6b6ed532c473953ef494e1129ec8cf09f479b1417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.6 Darwin/23.3.0
|
Release files / nonebot_plugin_bingimagecreator-0.1.5-py3-none-any.whl
| Download URL | nonebot_plugin_bingimagecreator-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a1be7fe8215fee95a86aae6709ea6cc127c0993f247bff5840ef35b3516e2e6
|
|
BLAKE2b-256 checksum How to use checksums |
0e90b3b42ad330d7feca5ecf803b0c04cb95245356409096200df6770eeeb47e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.6 Darwin/23.3.0
|