One-line Image Generating Program Based on the Bing Image Createor (Powered by DALL·E 3)
Project description
One-line Image Generating Program Based on the Bing Image Createor (Powered by DALL·E 3)
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
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
bing_brush-0.1.0.tar.gz
(78.7 kB
view hashes)
Built Distribution
Close
Hashes for bing_brush-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b9834aa8a6fe1e439faee5df5db2a20c8da273262aead023a0183c1c4c6b3b7 |
|
MD5 | 749b20287f2bb37f4ad7f4ed1a1f4790 |
|
BLAKE2b-256 | 91813131e9f360b8cce883b54a18b99afe7923ccd043c3ea98ae11ba4c1f0889 |