Documentation Index
Fetch the complete documentation index at: https://na-36-handover-docs-v2-into-docs-v2-dev-20260518.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
By the end of this quickstart you’ll have a ComfyStream instance running with a StreamDiffusion workflow applied to your webcam in near real-time. The final section covers how to connect that instance to the Livepeer network as a BYOC capability. Three deployment paths fit different starting points. Pick one.
| Path | Best for | Requires |
|---|---|---|
| RunPod | Fastest start, no local GPU | RunPod account |
| Docker | Local GPU or owned cloud server | Docker + NVIDIA GPU, Linux |
| Local install | Existing ComfyUI setup | Miniconda, NVIDIA GPU, Linux |
Required Tools
ComfyStream requires an NVIDIA GPU with 12 GB VRAM minimum (16 GB recommended). The server component is Linux-only; Windows and macOS host the browser client only. VRAM source: the . CUDA 12.0+ required; current releases target CUDA 12.8 with NVIDIA driver 570.124.06 or later. Browser: Chrome or Firefox for the ComfyStream UI.RunPod Path
The fastest start. RunPod hosts the GPU; the browser does the rest.Deploy the ComfyStream template
Open the
livepeer-comfystream template in the RunPod marketplace and select a GPU pod. An RTX A4000 or A40 is a reasonable starting point for StreamDiffusion workflows.Click Deploy and wait for the pod status to show Running.Docker Path
For a local GPU or a cloud server you control.Run the container
docs.comfystream.org.Open WebRTC ports
On a remote server, allow inbound and outbound UDP traffic on ports
1024-65535. WebRTC peer connections fail without this.For environments where only a subset of UDP ports is available, pass --media-ports 1024,1025,... to the server command to restrict the range.Local Install Path
For an existing ComfyUI setup or anyone wanting a Python environment to inspect.Install auxiliary custom nodes
For standalone ComfyStream (not inside an existing ComfyUI install), copy the auxiliary custom nodes into your ComfyUI
custom_nodes folder. The exact list is in the livepeer/comfystream README.Workflow Loading
Pick a starter workflow
In the ComfyStream UI, open the workflow panel and choose a StreamDiffusion SD 1.5 starter from the selector. The repository ships a set of pre-configured starters in the
workflows/ directory; the StreamDiffusion SD 1.5 path is the lightest and compiles fastest.Select the camera input
Choose your webcam from the camera input dropdown. The browser will request camera permission.
Pipeline Verification
After compilation completes, the ComfyStream UI shows your webcam feed with the workflow effect applied in near real-time. Expected result: a transformed webcam input (style transfer, depth-mapped effects, or other visual processing depending on the loaded workflow). If only the raw webcam feed appears without transformation, check:- GPU VRAM is not exhausted (
nvidia-smi) - The workflow compiled without error (server logs)
- The workflow nodes reference models that have been downloaded
Common Errors
WebRTC negotiation fails
WebRTC negotiation fails
UDP port range blocked. On a remote server, allow UDP
1024-65535 inbound and outbound. For restricted environments, pass --media-ports to constrain the range.TensorRT compilation hangs past ten minutes
TensorRT compilation hangs past ten minutes
The first compilation can take up to ten minutes for StreamDiffusion. Past that, check
nvidia-smi for OOM, server logs for compilation errors, and confirm the GPU has at least 12 GB VRAM available.Workflow fails to load with format error
Workflow fails to load with format error
The workflow was saved in default ComfyUI format. Re-export in API format: enable Developer Mode in ComfyUI settings, then use Save (API Format).
Frame rate below 5 fps
Frame rate below 5 fps
Common causes: ControlNet stack too heavy, resolution too high, or model not TensorRT-compiled. Try a Lightning or LCM variant of the base model, drop to 512x512 input, and confirm TensorRT compilation completed.
Camera permission denied
Camera permission denied
The browser blocked camera access. Check site permissions in browser settings. ComfyStream needs
getUserMedia access; HTTP works on localhost but requires HTTPS for remote IPs.Network Connection
A local ComfyStream instance is a working real-time AI pipeline. Deploying it on the Livepeer network, so other applications can call it and the operator earns fees, takes one of two paths.| Path | What it does | When to use |
|---|---|---|
| Daydream API | Use the hosted ComfyStream infrastructure | You want a managed surface without operating compute |
| BYOC worker | Register your ComfyStream instance as a network capability | You want to operate the compute and earn fees |
livepeer/comfystream image registers directly as a BYOC capability on an orchestrator. The full setup is in .
Production-Ready Pipelines
ComfyStream supports the following pipeline types in production (Phase 4, January 2026):- StreamDiffusion: real-time style transfer and image-to-image on live video
- StreamDiffusion V2: second-generation diffusion pipeline; supports video-to-video and image-to-image
- SuperResolution: real-time video upscaling
- AudioTranscription + SRT: real-time captions embedded in video output
- Text data-channel output: structured text output (e.g. transcription) alongside video
Next Steps
Workflow Authoring
Build a custom workflow, configure StreamDiffusion, tune for latency.
ComfyStream as BYOC
Register your instance as a BYOC capability on the network.
BYOC Quickstart
The general BYOC path for non-ComfyUI workloads.
docs.comfystream.org
Canonical install reference and hardware deep-dive.