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.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

BingImageCreator-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file BingImageCreator-0.0.2.tar.gz.

File metadata

  • Download URL: BingImageCreator-0.0.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for BingImageCreator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f014417507d04dc23c5a655dd3e32f31f0196222637a71268ed5c1444946d3fb
MD5 c8c51921ff7c501325a708e37a48c85f
BLAKE2b-256 5a06216d41cca20ea6096282ce63f98e976c839c5b8b064c7a6dfc48402594b5

See more details on using hashes here.

Provenance

File details

Details for the file BingImageCreator-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for BingImageCreator-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 abcc5e43b8ede23f1611df9de93a7ee58bb8842961ca19abffd94c45da35b771
MD5 6ae6b07e6f0f66ca603ca49bf664a371
BLAKE2b-256 3bc1a5cd7366880a289a4235f1b25bf148c262624714c6ad11cd7c912c692242

See more details on using hashes here.

Provenance

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