Skip to main content

High quality image generation by Microsoft. Reverse engineered API.

Project description

BingImageCreator

High quality image generation by Microsoft. Reverse engineered API.

pip3 install --upgrade BingImageCreator

 $ 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
  --output-dir OUTPUT_DIR
                        Output directory

Developer Documentation

Getting authentication

  • Go to https://bing.com/.
  • F12 to open console
  • In the JavaScript console, type cookieStore.get("_U").then(result => console.log(result.value)) and press enter
  • Copy the output. This is used in --U or auth_cookie.

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

BingImageCreator-0.0.4.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

BingImageCreator-0.0.4-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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