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
--asyncio Use async to sync png
--output-dir OUTPUT_DIR
Output directory
Getting authentication
Chromium based browsers (Edge, Opera, Vivaldi, Brave)
- 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
--Uorauth_cookie.
Firefox
- Go to https://bing.com/.
- F12 to open developer tools
- navigate to the storage tab
- expand the cookies tab
- click on the
https://bing.comcookie - copy the value from the
_U
Release files for BingImageCreator-plus 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| BingImageCreator-plus-0.5.2.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| BingImageCreator_plus-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / BingImageCreator-plus-0.5.2.tar.gz
| Download URL | BingImageCreator-plus-0.5.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9d312af7cf33e4c57df1861b918e2f4f6bf2ab62711f92e397a2528f7f4a9f4
|
|
BLAKE2b-256 checksum How to use checksums |
2425da24eae3670b55ce94b92078cf844499f343177f0a71809c7fffc461e49b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / BingImageCreator_plus-0.5.2-py3-none-any.whl
| Download URL | BingImageCreator_plus-0.5.2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd8937d2db4e280ea46a18623a37b7c2e3cce6ddfdf653d7dc20c40e9770cb51
|
|
BLAKE2b-256 checksum How to use checksums |
674d772f50514d5334577900ba9af620325732cc4079aca98545cbc59d7c0ca5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|