跳转到主要内容

微软高质量图像生成。逆向工程API。

项目描述

BingImageCreator

微软高质量图像生成。逆向工程API。由https://github.com/acheong08/BingImageCreator分支

pip3 install .

 $ python3 -m BingImageCreator -h
usage: BingImageCreator.py [-h] -U U --prompt PROMPT [--output-dir OUTPUT_DIR]

options:
  -h, --help            show this help message and exit
  -U U                  Auth cookie from browser
  --prompt PROMPT       Prompt to generate images for
  --asyncio             Use async to sync png
  --output-dir OUTPUT_DIR
                        Output directory

开发者文档

获取认证

浏览器(Edge、Opera、Vivaldi、Brave、Firefox)

  • 访问 https://bing.com/
  • F12打开XHR调用一些api获取cookie
  • 调用一些api复制cookie并使用它
  • 复制输出。这用于--Uauth_cookie

由以下支持