Package for using Prodia API
Project description
Description
prodiapy is an unofficial lightweight Python package for Prodia Stable Diffusion API
Installation
pip install -U prodiapy
text2img example
from prodiapy import StableDiffusionXL
pipe = StableDiffusionXL(
api_key="YOUR_PRODIA_KEY"
)
job = pipe.generate(prompt="cat")
result = pipe.wait_for(job)
print(result['imageUrl'])
Contact
Join our discord to get help with package - https://discord.gg/GyBCkGnbUN
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
prodiapy-4.1.tar.gz
(7.0 kB
view hashes)
Built Distribution
prodiapy-4.1-py3-none-any.whl
(6.8 kB
view hashes)