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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: BingImageCreator-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c1d7f466d5bfe57504ab42f813277039f7057fdab208931aab190cef842fac75
MD5 25d6249b4ebdf3bbeb62eaaa88d1472c
BLAKE2b-256 ac9973492d7b92e37ae68b82dc241c34ff2db38d9ce7981ff0a9682819cc6e9a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for BingImageCreator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1c4628b36a51798e1dcc85a67550e3519f15c24d926133bbea3fa3131c1b6512
MD5 c343410670d83656f6f6e125807293b3
BLAKE2b-256 85f8c61855d4023620eb70fcc59058076eb05296bc9ee5b8fe59e76c6a26421e

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