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. 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.

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_fork-0.8.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

BingImageCreator_fork-0.8.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file bingimagecreator_fork-0.8.0.tar.gz.

File metadata

  • Download URL: bingimagecreator_fork-0.8.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for bingimagecreator_fork-0.8.0.tar.gz
Algorithm Hash digest
SHA256 4cc12b851ceeb9fbaaa2b8c48c0ab3ed7843720e762b3f014bbd6f26cf71de27
MD5 7a935f7bfa04a4f4e7f3eec88f2d7aaa
BLAKE2b-256 9445810d7bde47a4318df3c255cd757e7973d1518d8112dcb2c03657bd14d58d

See more details on using hashes here.

Provenance

File details

Details for the file BingImageCreator_fork-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for BingImageCreator_fork-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56c37c0d317bb1d54a5b303a6707b17bc842f85f4fb35f2cc3b7ee6f12e0fcef
MD5 4ba0a938fa689d30cdd852b2f5b77d7d
BLAKE2b-256 572012b6cdb71c7023a72af1dcc42f6f27f90bfe7feca5b8ae36409658ed77c5

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