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
BingImageCreator-0.0.6.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for BingImageCreator-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66c7e9227c9bfaef90e0e9fd711affa36971c5083e2117dd4dbc0c3caf3755b |
|
MD5 | 37eed49d0fed9838c6bac22ea957cac0 |
|
BLAKE2b-256 | edf895f084b5c2f56a7272571eb564696309175eb3d333a3cfd65d3fb666bca5 |