-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Zenafey edited this page May 16, 2023
·
4 revisions
prodiapy is a module that makes usage of Prodia Stable Diffusion API easier with Python
To install prodiapy
through pip run command
pip install -U prodiapy
Here simplest example of prodiapy usage:
import prodia
prodia.Client(api_key="put-your-prodia-key-here")
image = prodia.txt2img(prompt="kittens on cloud")
print(image) # prints url of image
📘
Note that you should put your Prodia api key in "" instead of
put-your-prodia-key-here
How to find your Prodia API key: link to prodia docs