Skip to content

zenafey/prodiapy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

prodiapy is an unofficial lightweight Python package for Prodia Stable Diffusion API

Pre-requirements

The minimal ver. of Python supported by this package is 3.8.10

Installation

pip install prodiapy

text2img example

from prodiapy import Prodia

prodia = Prodia(
    api_key="YOUR_PRODIA_KEY"
)

job = prodia.sd.generate(prompt="cat")
result = prodia.wait(job)

print(result.image_url)

Contact

Join our discord to get help with package - https://discord.gg/7NbzdD6qg8