I'm From Indonesian, and I'm still learning.
Project description
Gen Bing
A Python library for generating and saving images using Bing's Image Creator.
Installation PyPi
pip3 install -U --no-cache-dir gen-bing
Usage Async
from Bing import AsyncImageGenerator
async def main():
GEN = AsyncImageGenerator()
images = await GEN.generate(prompt="A cute cat is playing on a bed. Digital Art 3D.", num_images=4)
await GEN.save(images, output_dir="images/")
import asyncio
asyncio.run(main())
Usage Sync
from Bing import ImageGenerator
GEN = ImageGenerator()
images = GEN.generate(prompt="A cute cat is playing on a bed. Digital Art 3D.", num_images=4)
GEN.save(images, output_dir="images/")
DON'T TRY THIS AT HOME 🏡 🙏🏻
LuciferReborns
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
gen_bing-0.0.7.tar.gz
(5.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gen_bing-0.0.7.tar.gz.
File metadata
- Download URL: gen_bing-0.0.7.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b26f10c27a9b1ed6e763bdd039bca9b9bed8df7ea0361b0bd93d48d7b14a2fd6
|
|
| MD5 |
f4fd6d74a3e2aab2052b83dd5bf5ecc5
|
|
| BLAKE2b-256 |
d7861219f5d635fc804b7d8089d61d834d553f39cb5b6edca2540d99b13b6ed0
|
File details
Details for the file gen_bing-0.0.7-py3-none-any.whl.
File metadata
- Download URL: gen_bing-0.0.7-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb9541002a2c4a40609af2101b2bd15f61a7bd5e084e6daac8706319017768c6
|
|
| MD5 |
2be0c6e5685a9bfae9f78ca8eb0f430a
|
|
| BLAKE2b-256 |
1b2f65028e9f84168cf5299443073adbd2e0bc282447d7b4db2c8569faa0896b
|