Skip to main content

A nonebot plugin for Bing DALL-E 3

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-BingImageCreator

介绍

  • 本插件调用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

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_bingimagecreator-0.1.5.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

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