Skip to main content

Package for using Prodia API

Project description

Description

prodiapy is a 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


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.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

prodiapy-4.0-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

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