Skip to main content

Sending parameters to a running pipeline

After establishing a WebRTC connection, you can send real-time parameter updates via the data channel. This allows dynamic control of generation without reconnecting.

Overview

Parameters are sent as JSON messages through the WebRTC data channel. Updates take effect on the next chunk that is generated.

Setting Up the Data Channel

The data channel is created when establishing the WebRTC connection:

Sending Parameter Updates


Available Parameters

Prompts

Control what is being generated:

Prompt Transitions

Smoothly transition between prompts over multiple frames:

Denoising Steps

Control quality vs speed tradeoff:

Noise Control

Cache Control

Playback Control

LoRA Scale Updates

Update LoRA adapter scales at runtime (requires lora_merge_mode: "runtime_peft" at load time):

VACE Parameters

Control strength of visual conditioning:
See VACE for detailed VACE usage.

Spout (Windows)

Enable Spout output for sending frames to external applications:

Initial Parameters

You can also send initial parameters when establishing the WebRTC connection:

See Also

Receive Video

Set up WebRTC connection

VACE

Reference image conditioning

Load Pipeline

Configure pipeline at load time

Spout Guide

Using Spout for external apps