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
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
orauth_cookie
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d7f466d5bfe57504ab42f813277039f7057fdab208931aab190cef842fac75 |
|
MD5 | 25d6249b4ebdf3bbeb62eaaa88d1472c |
|
BLAKE2b-256 | ac9973492d7b92e37ae68b82dc241c34ff2db38d9ce7981ff0a9682819cc6e9a |
Provenance
File details
Details for the file BingImageCreator-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: BingImageCreator-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4628b36a51798e1dcc85a67550e3519f15c24d926133bbea3fa3131c1b6512 |
|
MD5 | c343410670d83656f6f6e125807293b3 |
|
BLAKE2b-256 | 85f8c61855d4023620eb70fcc59058076eb05296bc9ee5b8fe59e76c6a26421e |