🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

BingImageCreator-fork

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

BingImageCreator-fork

High quality image generation by Microsoft. Reverse engineered API.

0.8.2
PyPI
Maintainers
1

BingImageCreator

High quality image generation by Microsoft. Reverse engineered API. Fork from 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

Developer Documentation

Getting authentication

Browsers (Edge, Opera, Vivaldi, Brave, Firefox)

  • Go to https://bing.com/.
  • F12 to open XHR call some api to get the cookie
  • call some api to copy the cookieand use this
  • Copy the output. This is used in --U or auth_cookie.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts