Skip to main content

Prodia API Python Wrapper

Project description

prodiapy

Not official API Wrapper for Prodia API in Python

Full Documentation

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

image

Feel free to join out Discord server and ask question!

7eacddcb-3a45-4114-b731-3cd7af9522e1

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

Uploaded Source

Built Distribution

prodiapy-3.6-py3-none-any.whl (13.2 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