Prodia API Python Wrapper
Project description
prodiapy
This module makes generation of image by Prodia API easier
Installation
pip install prodiapy==3.4
For using this script you need to get your Prodia api key, you can make it on https://app.prodia.com/api
Example of txt2img usage
import prodia
key = "your-prodia-key"
client = prodia.Client(api_key=key)
image = client.txt2img(prompt="kittens on cloud", model="dreamlike-diffusion-2.0.safetensors [fdcf65e7]")
print(image.url)
image
variable will be a class with 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
HuggingFace Demo
https://huggingface.co/spaces/zenafey/prodia
Prodia Desktop Studio
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.4.tar.gz
(12.0 kB
view hashes)
Built Distribution
prodiapy-3.4-py3-none-any.whl
(14.2 kB
view hashes)