Skip to content
Zenafey edited this page May 16, 2023 · 4 revisions

Description

prodiapy is a module that makes usage of Prodia Stable Diffusion API easier with Python

Installation

To install prodiapy through pip run command

pip install -U prodiapy

Examples

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

Clone this wiki locally