Name | nonebot-plugin-bingimagecreator JSON |
Version |
0.1.5
JSON |
| download |
home_page | |
Summary | A nonebot plugin for Bing DALL-E 3 |
upload_time | 2024-02-21 03:19:23 |
maintainer | |
docs_url | None |
author | Alpaca |
requires_python | >=3.8,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<div align="center">
<a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
<br>
<p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>
<div align="center">
# nonebot-plugin-BingImageCreator
</div>
# 介绍
- 本插件调用Bing的绘图接口,仅需提供Bing的cookies即可调用DALL-E 3进行绘图。
- 本插件支持多cookies和代理设置。
- 在不支持NewBing的地区请设置代理。
- 核心代码来源于[BingImageCreator](https://github.com/abersheeran/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获取方法参考[此处](https://github.com/acheong08/BingImageCreator#chromium-based-browsers-edge-opera-vivaldi-brave)
# 使用方法
- 直接发送: 画图 XXXXXX
Raw data
{
"_id": null,
"home_page": "",
"name": "nonebot-plugin-bingimagecreator",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Alpaca",
"author_email": "alpaca@bupt.edu.cn",
"download_url": "https://files.pythonhosted.org/packages/47/a0/a43ac3fe3b25925f28f6b6ed532c473953ef494e1129ec8cf09f479b1417/nonebot_plugin_bingimagecreator-0.1.5.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n <br>\n <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-BingImageCreator\n</div>\n\n# \u4ecb\u7ecd\n- \u672c\u63d2\u4ef6\u8c03\u7528Bing\u7684\u7ed8\u56fe\u63a5\u53e3\uff0c\u4ec5\u9700\u63d0\u4f9bBing\u7684cookies\u5373\u53ef\u8c03\u7528DALL-E 3\u8fdb\u884c\u7ed8\u56fe\u3002\n- \u672c\u63d2\u4ef6\u652f\u6301\u591acookies\u548c\u4ee3\u7406\u8bbe\u7f6e\u3002\n- \u5728\u4e0d\u652f\u6301NewBing\u7684\u5730\u533a\u8bf7\u8bbe\u7f6e\u4ee3\u7406\u3002\n- \u6838\u5fc3\u4ee3\u7801\u6765\u6e90\u4e8e[BingImageCreator](https://github.com/abersheeran/BingImageCreator)\n# \u5b89\u88c5\n\n* \u624b\u52a8\u5b89\u88c5\n ```\n git clone https://github.com/Alpaca4610/nonebot_plugin_BingImageCreator.git\n ```\n\n \u4e0b\u8f7d\u5b8c\u6210\u540e\u5728bot\u9879\u76ee\u7684pyproject.toml\u6587\u4ef6\u624b\u52a8\u6dfb\u52a0\u63d2\u4ef6\uff1a\n\n ```\n plugin_dirs = [\"xxxxxx\",\"xxxxxx\",......,\"\u4e0b\u8f7d\u5b8c\u6210\u7684\u63d2\u4ef6\u8def\u5f84/nonebot-plugin-BingImageCreator\"]\n ```\n* \u4f7f\u7528 pip\n ```\n pip install nonebot-plugin-BingImageCreator\n ```\n\n# \u914d\u7f6e\u6587\u4ef6\n\n\u5728Bot\u6839\u76ee\u5f55\u4e0b\u7684.env\u6587\u4ef6\u4e2d\u8ffd\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a\n\n```\nbing_cookies = [\"cookies1\",\"cookies2\",\"cookies3\",......]\n```\n\n\u53ef\u9009\u5185\u5bb9\uff1a\n```\nbing_proxy = \"http://127.0.0.1:8001\" # \u65e0\u6cd5\u8bbf\u95eeNewBing\u7684\u5730\u533a\u8bf7\u914d\u7f6e\u6b64\u9879\n```\ncookies\u83b7\u53d6\u65b9\u6cd5\u53c2\u8003[\u6b64\u5904](https://github.com/acheong08/BingImageCreator#chromium-based-browsers-edge-opera-vivaldi-brave)\n\n# \u4f7f\u7528\u65b9\u6cd5\n\n- \u76f4\u63a5\u53d1\u9001: \u753b\u56fe XXXXXX\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A nonebot plugin for Bing DALL-E 3",
"version": "0.1.5",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0e90b3b42ad330d7feca5ecf803b0c04cb95245356409096200df6770eeeb47e",
"md5": "764d3de4cd9827bb77b9610a103d7d85",
"sha256": "9a1be7fe8215fee95a86aae6709ea6cc127c0993f247bff5840ef35b3516e2e6"
},
"downloads": -1,
"filename": "nonebot_plugin_bingimagecreator-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "764d3de4cd9827bb77b9610a103d7d85",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 5417,
"upload_time": "2024-02-21T03:19:20",
"upload_time_iso_8601": "2024-02-21T03:19:20.848438Z",
"url": "https://files.pythonhosted.org/packages/0e/90/b3b42ad330d7feca5ecf803b0c04cb95245356409096200df6770eeeb47e/nonebot_plugin_bingimagecreator-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47a0a43ac3fe3b25925f28f6b6ed532c473953ef494e1129ec8cf09f479b1417",
"md5": "e191ea4075424f6ea905853e8a7b3e20",
"sha256": "1c7fd95c2bf01db649a9dc0e49a0002f3ad2e095b0c3d240886331384de06b55"
},
"downloads": -1,
"filename": "nonebot_plugin_bingimagecreator-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "e191ea4075424f6ea905853e8a7b3e20",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 4847,
"upload_time": "2024-02-21T03:19:23",
"upload_time_iso_8601": "2024-02-21T03:19:23.857206Z",
"url": "https://files.pythonhosted.org/packages/47/a0/a43ac3fe3b25925f28f6b6ed532c473953ef494e1129ec8cf09f479b1417/nonebot_plugin_bingimagecreator-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-21 03:19:23",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nonebot-plugin-bingimagecreator"
}