A community-maintained Python package for wrapping a variety of REST API calls for different AI art models.
Project description
Pycurtain
A community-maintained python package for wrapping a variety of REST API calls for a variety of different AI art models. Think "curtain" like what is seen in an art gallery. This tool lets the developer close the curtains and only focus on implementing one code base for any supported AI art models.
Install
pip install pycurtain
AI MODELS SUPPORTED
Currently all supported AI Models require an API key generated from the REST API host. Pycurtain is a third-party (open-source / community driven) python wrapper SDK and is not associated with any of the AI Model providers. Each API key can be generated by signing up from the AI Model hosting site. The current implementation requires each (in-use) API key to be set in the environment variables following the secrets\stuff.py format.
No API Key or private information is stored by Pycurtain.
Sources
- deep_ai https://deepai.org/
- stability_sdk https://stability.ai/
Road Map
- provide prelimiary wrappers for these AI model sources
- open-ai dalle2 https://openai.com/
- craiyon https://www.craiyon.com/
- replicate_ai https://replicate.com/
- hugging_face https://huggingface.co/
stability_aideep_ai
- allow users to adjust common parameters between models
- provide utility features beyond the model wrapper
- equirectangluar images (360 degree images)
- simple inpainting mask creation
- beyond images... videos, text, audio. All leveraging the available REST API accessible ML models of today.
Developing Pycurtain
To install pycurtain, along with the tools you need to develop and run test, run the following in your virtual environment:
pip install -e .[dev]
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
Built Distribution
File details
Details for the file pycurtain-0.0.0.tar.gz
.
File metadata
- Download URL: pycurtain-0.0.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00618dc4a404a4265b63de8bd93f31142ce55c7be6d4a5ebd3c4a33412698146 |
|
MD5 | 18ff0983f6f8823334b24d1ca9ae857f |
|
BLAKE2b-256 | 496931d9c963616b93565af1c9bb3e53964749c70992ae45a7b7c739ebfa1d72 |
File details
Details for the file pycurtain-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: pycurtain-0.0.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d258eef643d5c1c1b39b575854ba53b8c3fd722e641fe9dba0186ae530c56f8f |
|
MD5 | b1b0b9af02b552a58d4bc1bf4069caaf |
|
BLAKE2b-256 | c0ed598ef95c471a26b1c42409bbd1aa4ffbd5a40c1d0bc8784b1bc18af7da0c |