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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gen_bing-0.0.9-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gen_bing-0.0.9.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

Hashes for gen_bing-0.0.9.tar.gz
Algorithm Hash digest
SHA256 d25ec77348d9336b94da6ea2b584c8a7882d3c55edaa4ca8cf42f34d1947624c
MD5 a29b0919ce973a6db37abe9c0443784b
BLAKE2b-256 3912e6049e067456bbcc4fa04adc695f03e019dd4ac3271102d6de0a7fbad165

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen_bing-0.0.9-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

Hashes for gen_bing-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 56f3d176653c797938fc914d88994bbbc3e20596f81b53f6bde50061be04039c
MD5 801ae78f572a02f83a26fa9027dfca0e
BLAKE2b-256 a32874c00cf68bcaca4ab676d04bf5b25feb983226e120eaa9b4bf7c8a88b081

See more details on using hashes here.

Supported by

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