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.2.0.tar.gz
(3.6 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.2.0.tar.gz.
File metadata
- Download URL: pixio_api-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0073894ef322ed6adcfb44214bb9a581d7d259a19ca4128b76121ecebd46738
|
|
| MD5 |
106854d224e7bb5c413bd9fd344c5aba
|
|
| BLAKE2b-256 |
e8733a1b768a09d357e8e61a21e28bd79b21a9e5e870210f97683230d742a594
|
File details
Details for the file pixio_api-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pixio_api-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
a6f38a155570d56edd1f0a77be077d435131c9e90e1052213a6788fe7c57481a
|
|
| MD5 |
433c7e1d5bad90159d0484df3dce84c4
|
|
| BLAKE2b-256 |
4b09c0e74d578520ca275bcb620cfc7bba6bb98e6cc7f819eca5d4c6ce0d9fc0
|