Skip to main content

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"])

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixio_api-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for pixio_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d9840a6de7bbc807739711b898b18ffbe85cd0f9842104e12fc3187171f708d
MD5 e08daac05499fd1fbe66b053525a0a3d
BLAKE2b-256 dad78656c488a60d132e8e5e901bfd968c5bd306388417c6ee26462c7c04eb46

See more details on using hashes here.

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

Hashes for pixio_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72387063c2000416c7d44603902bb222c8cc62114f3b5c50a6df4a99f98e59f7
MD5 c369ae430a5c76098e1fe783689c3cfb
BLAKE2b-256 fa0a131c73f08dafe50ca8ffb62eb0f31d9cc585e4fa9b44578f092872d4dee1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page