Prodia API Python Wrapper
Project description
prodiapy
Not official API Wrapper for Prodia API in Python
Installation
pip install -U prodiapy
For using this script you need to get your Prodia api key, you can make it on https://app.prodia.com/api
Example of sd_generate usage
from prodia import Client, Model
client = Client(api_key="YOUR-API-KEY")
image = client.sd_generate(prompt="kittens on cloud", model="Realistic_Vision_V4.0.safetensors [29a7afaa]")
print(image.url)
P.S. To see full list of available models: client.model_list()
image
class attributes:
- url - url of generated image
- payload - used payload
- response - retrieved response
- seed() - function that return seed of generated image
- pnginfo() - function that return a dict with pnginfo of image
- load()/ aload() - function to get image as BytesIO and its async version
Prodia Desktop Studio
!!WARNING!! prodia desktop studio is outdated at the moment of 3.6 release, update will be soon
git clone https://github.com/zenafey/prodiapy
cd prodiapy
python tk_gui.py
Feel free to join out Discord server and ask question!
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-3.6.tar.gz
(11.7 kB
view hashes)
Built Distribution
prodiapy-3.6-py3-none-any.whl
(13.2 kB
view hashes)