ComfyStream is a Livepeer-maintained extension of ComfyUI that swaps batch image generation for a real-time video loop. A ComfyUI workflow that takes an image and returns an image becomes a live-video-to-video pipeline when run through ComfyStream: video frames flow in over WebRTC, the workflow processes each frame, transformed frames flow back out at sub-second latency. Phase 4 (January 2026) hardened ComfyStream for production. The runtime added audio processing, data-channel output, dynamic workflow warm-up, and PyTrickle-based BYOC packaging. Daydream and Embody both run on ComfyStream infrastructure. The canonical install reference is
docs.comfystream.org. The repository is livepeer/comfystream. The current Docker image is livepeer/comfystream, with livepeer/comfyui-base:stable as the BYOC base.
Pipeline Modes
ComfyStream workflows produce one of four output types. Every workflow declares its output mode through the nodes it composes.
A single ComfyStream container can host multiple pipelines (Phase 4 addition). Dynamic warm-up loads new workflows mid-stream without restarting the server, which lets one Orchestrator advertise multiple capabilities from one image.
Node Ecosystem
ComfyStream uses standard ComfyUI custom nodes. Any node that executes per-frame without maintaining incompatible state runs in a real-time workflow.Core I/O Nodes
Required for every ComfyStream workflow. They handle the real-time tensor handoff between the stream and the ComfyUI graph.Real-Time Control Nodes
These nodes update their output on every workflow execution, which makes them suitable for animating parameters across a continuous stream.StreamDiffusion Nodes (Phase 4)
The primary generative video nodes. Ported from Daydream’s StreamDiffusion pipeline.
StreamDiffusion V2 adds video-to-video mode and stable diffusion V2 base models.
Phase 4 Additions
- SuperResolution. Real-time video upscaling. Input: standard-resolution frame. Output: upscaled frame.
- AudioTranscription. Whisper-based real-time speech transcription. Two output modes: SRT subtitles burned into video, or text delivered to the application via WebRTC data channel.
Workflow Format
ComfyStream requires workflows in ComfyUI API format, not the default save format. The default ComfyUI export includes layout metadata that ComfyStream does not parse. To export a workflow in API format:- Enable Developer Mode in ComfyUI settings.
- Use Save (API Format) to produce the JSON file.
workflows/ directory. For Docker deployments, mount this directory as a volume. The canonical workspace layout is in docs.comfystream.org.
When the workflow loads in the ComfyStream UI, the server compiles TensorRT engines for the relevant nodes. First run takes between two and ten minutes depending on the model and the GPU. Subsequent loads skip compilation.
Data-Channel Output
Phase 4 added a structured-text output path that runs alongside video. The ComfyStream WebRTC connection extends with a data channel; workflows containing a data output node emit text to the browser or application that connects to the server. Use cases:- Real-time audio transcription delivered as text to a downstream application
- Frame-level metadata (object labels, confidence scores) delivered to an overlay UI
- Any workflow where the output is data, not video
Performance Characteristics
ComfyStream compiles TensorRT engines and runstorch.compile on model components at first run. This is a one-time cost per workflow on each machine.
Achievable frame rate depends on model complexity, GPU, and image resolution. Reference figures from community testing on an RTX 4090:
- SD1.5 + DMD one-step + DepthControlNet workflow: 14-15 fps at 640x360 input
- StreamDiffusion with TensorRT: higher throughput at the same resolution
Hardware Requirements
ComfyStream requires an NVIDIA GPU. The server component runs on Linux only; Windows and macOS are not supported for the server, though the browser client runs anywhere.
VRAM headroom matters for stability. A workflow that runs at 12 GB may stutter under load that 16 GB absorbs cleanly. Source: the .
CUDA 12.0+ is required. Current ComfyStream releases target CUDA 12.8 with NVIDIA driver 570.124.06 or later.
Relationship to BYOC
ComfyStream is itself BYOC-compatible. Phase 4 integrated ComfyStream with PyTrickle, which means thelivepeer/comfystream Docker image can register directly as a BYOC capability on an Orchestrator without rewriting the workflow as a custom container.
The ComfyStream quickstart gets you to a working pipeline in under 30 minutes. Start there.
Next Steps
ComfyStream Quickstart
Docker, RunPod, or local install. First real-time AI effect on a webcam in fifteen minutes.
Workflow Authoring
Build a custom workflow, configure StreamDiffusion, tune for latency.
ComfyStream as BYOC
Register a ComfyStream instance as a BYOC capability and earn fees.
docs.comfystream.org
Canonical install reference, hardware deep-dive, troubleshooting.