Skip to main content

pipelabs-bridge

The Pipelabs bridge runs on your ComfyUI server. It connects outbound to Pipelabs (no inbound ports needed, so it works behind Vast.ai's NAT), polls for jobs, talks to your local ComfyUI API, and reports status back.

Install & run

pip install pipelabs-bridge
pipelabs-bridge --token <YOUR_TOKEN> --app-url https://your-pipelabs-app

Options (all can also be set via environment variables):

Flag Env var Default
--token PIPELABS_TOKEN (required)
--app-url PIPELABS_APP_URL http://localhost:3000
--comfy-url COMFY_URL auto (finds ComfyUI on 8188, or 18188 on Vast.ai)
--interval — 3.0 (seconds)
--max-interval — 20.0 (seconds, capped at 25)

Keep it running in tmux or screen so your server stays "online" in the app. Press Ctrl+C to stop it.

The bridge polls every --interval seconds, then slows to --max-interval after 2 minutes with no jobs, so a new job can take up to that long to start when idle.

Handles every Pipelabs job: health checks, images, reference boards, clips, stitching, and splitting scenarios into clips.

Scenario splitting runs an open Qwen model locally through Ollama, which setup_server.sh installs. Before it runs, the bridge asks ComfyUI to unload its models, and Ollama unloads Qwen right after, so the video model gets the GPU back. Set OLLAMA_URL if Ollama isn't on http://127.0.0.1:11434.

Changes

  • 0.1.1: splits scenarios with local Qwen; finds the ComfyUI port by itself; Ctrl+C always stops the bridge; unique file names for base images and boards (they used to overwrite each other); boards keep the frames' widescreen shape.

Metadata

Release files for pipelabs-bridge 0.2.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipelabs-bridge 0.2.16
File Size Uploaded Provenance Actions
pipelabs_bridge-0.2.16.tar.gz 46.0 kB Without provenance Details for pipelabs_bridge-0.2.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pipelabs-bridge 0.2.16
File Interpreter ABI Platform Actions
pipelabs_bridge-0.2.16-py3-none-any.whl Python 3 none any Details for pipelabs_bridge-0.2.16-py3-none-any.whl

Total release size: 81.1 kB

Release files / pipelabs_bridge-0.2.16.tar.gz

Download URL pipelabs_bridge-0.2.16.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
991c6baee53dc90baf66ad2174c21efaddecf0cff7b22d1cc84f401cf511fd4c
BLAKE2b-256 checksum
How to use checksums
cd044b967e9fbe85d5deefa41dee18cdfa4a484e1d6da1b8f2ec927eb52f3a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / pipelabs_bridge-0.2.16-py3-none-any.whl

Download URL pipelabs_bridge-0.2.16-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cad870a7c42b1313ec1e9407c0f126c9e559c6a8726de680b291c5765a8cb056
BLAKE2b-256 checksum
How to use checksums
2e007fb5469695da60168b81d5f6027d5afc445c54cb8fc8a070be840523e9bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for pipelabs-bridge 0.2.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.16 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page