Skip to main content

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


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.4.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

gen_bing-0.0.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file gen_bing-0.0.4.tar.gz.

File metadata

  • Download URL: gen_bing-0.0.4.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for gen_bing-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a6847e80b7ba5b0a32c34ee982d30a35b45536e228f51bb9d89859efd91603c5
MD5 147432ce66d17b03459c56e6a040dd8e
BLAKE2b-256 45a61c7969335c0ec6a3605263c85d1a15167a03bddbc24519c3a3d3a46fac79

See more details on using hashes here.

File details

Details for the file gen_bing-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: gen_bing-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for gen_bing-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6e8c1a9bdbbc58ca5ffde0c5176dfeeaa9f0cb95c116281bf6fdf9d169148ced
MD5 df90a7521f93fc4f138f36250376cf5b
BLAKE2b-256 4995222ad5bf537f84091d3caffdfc52a8c7debfa60791a46c0351e089015137

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page