Credit: The solution of invoking Bing Image Creator API is from https://github.com/acheong08/BingImageCreator.
Installation
pip install bing_brush
Usage
CLI
bing_brush -c cookie.txt -p 'a cute panda eating bamboos' -o output_folder
Python API
brush = BingBrush(cookie='/path/to/cookie.txt')
brush.process(prompt='a cute panda eating bamboos', out_folder='output')
TODO
- unit test
- support for obtaining cookie for os.env
Logo
Logo of this project is generated by Bing Image, prompt:
A minimalist logo vector image, square-shaped, with a magical brush implemented in Python language in the center, colorful, digitial art
Contribution
Metadata
Release files for bing-brush 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bing_brush-0.1.0.tar.gz | 78.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bing_brush-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.0 kB
Release files / bing_brush-0.1.0.tar.gz
| Download URL | bing_brush-0.1.0.tar.gz |
|---|---|
| Size | 78.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0d663cb7c62de0bf0c55687977d5b2d08045e6da5ebc78775feca13e09613d5
|
|
BLAKE2b-256 checksum How to use checksums |
9e884fcd48b2ca350c49406cbb4683b89a98a9c39aec242f3a2493a52e19373e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.17
|
Release files / bing_brush-0.1.0-py3-none-any.whl
| Download URL | bing_brush-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b9834aa8a6fe1e439faee5df5db2a20c8da273262aead023a0183c1c4c6b3b7
|
|
BLAKE2b-256 checksum How to use checksums |
91813131e9f360b8cce883b54a18b99afe7923ccd043c3ea98ae11ba4c1f0889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.17
|