pixio-api
Official Python client for Pixio API — run ComfyUI workflows in the cloud.
pip install pixio-api
import os
from pixio_api import PixioAPI
pixio = PixioAPI(api_key=os.environ["PIXIO_API_KEY"])
run_id = pixio.queue_run(
deployment_id="<your-deployment-id>",
inputs={"prompt": "A cinematic photo of a lighthouse in a storm"},
)
run = pixio.wait_for_run(run_id)
for image in pixio.collect_outputs(run, "images"):
print(image["url"])
- Docs: https://docs.myapps.ai
- Get an API key: https://api.myapps.ai/api-keys
- Zero heavy dependencies (just
requests); Python 3.8+
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pixio_api-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pixio_api-0.1.0.tar.gz.
File metadata
- Download URL: pixio_api-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9840a6de7bbc807739711b898b18ffbe85cd0f9842104e12fc3187171f708d
|
|
| MD5 |
e08daac05499fd1fbe66b053525a0a3d
|
|
| BLAKE2b-256 |
dad78656c488a60d132e8e5e901bfd968c5bd306388417c6ee26462c7c04eb46
|
File details
Details for the file pixio_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pixio_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72387063c2000416c7d44603902bb222c8cc62114f3b5c50a6df4a99f98e59f7
|
|
| MD5 |
c369ae430a5c76098e1fe783689c3cfb
|
|
| BLAKE2b-256 |
fa0a131c73f08dafe50ca8ffb62eb0f31d9cc585e4fa9b44578f092872d4dee1
|