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.8.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.8-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gen_bing-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 a82e728276b9cdd2a8b5cc6094602e5c2811fecf8b37040902b417954e59b7dc
MD5 6c657cccf18246b18fb8d009cccc8022
BLAKE2b-256 2e4dce06345269b80b3ef7f3c0ddfbe61784e39ef5f5700869530aa0b5ad02fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen_bing-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 03b3e34a7f95cf2cf0c600b6ec770f02c988ae2775a8c0e7766460176dd3a36a
MD5 d648e6218ef2e6d835998ee6008e2d4a
BLAKE2b-256 e5212a1a4d47897159f6663fc4a7cb5e7bd0c2f3aad65a450b864314a13d1bc8

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