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.2

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.2
File Size Uploaded Provenance Actions
pipelabs_bridge-0.2.2.tar.gz 27.1 kB Without provenance Details for pipelabs_bridge-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 49.9 kB

Release files / pipelabs_bridge-0.2.2.tar.gz

Download URL pipelabs_bridge-0.2.2.tar.gz
Size 27.1 kB
Tags Source
SHA-256 checksum
How to use checksums
31778b8c8bbec8452e0f3852119c6fdb4c24c2403f65e1f8460f6b1bd06329d9
BLAKE2b-256 checksum
How to use checksums
f9aac7cb41f64045ea4079be76d04dc55813f04e3028b82903c56bab8f3b1598
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.2-py3-none-any.whl

Download URL pipelabs_bridge-0.2.2-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9df118845cc6c125d348eea64e92119ae0ebe619755bfca8ef2ffbfe6676ee6a
BLAKE2b-256 checksum
How to use checksums
b6ca2551f4947bdbcd75a57f27018e2b024af4debfe66ca7ad2d374363421c0e
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.2

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.2 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