1. Model Introduction
LingBot World is a realtime camera-controlled video world model. It keeps a live causal session, applies prompt and camera events between chunks, reuses DiT/VAE state, and streams decoded frames instead of finishing a bounded clip before returning. Choose it for interactive exploration and continuous control, not one-shot cinematic generation. The causal window makes long sessions practical but gives up the global bidirectional context available to offline Wan or LTX pipelines; session state and cache policy are therefore part of the serving contract.2. Deployment
Command
Optional KV-Cache Compression
Long-running sessions can enable lossy int4 PRQ compression for completed causal KV-cache chunks by installingquant-videogen as described in the
quantization guide and adding --kv-cache-quant int4 to the server command.
The current and most recent completed chunks remain in BF16. See
Causal KV-Cache Quantization
for the algorithm, tuning options, measured memory-latency tradeoff, and
support limits.
3. Realtime WebUI
The lightweight local WebUI is useful for validating latency, frame transport, and camera control behavior.Command
http://127.0.0.1:18080 and use:
Example
4. HTTP and WebSocket API
LingBot World uses the realtime video WebSocket endpoint. The server keeps one live session, generates one chunk at a time, and accepts runtime control events while generation is running.Endpoints
init message
Send this MessagePack map immediately after the WebSocket opens.
Runtime event messages
After init, send MessagePack event maps to update the live session.
camera_actions supports two payload modes:
Supported LingBot action tokens include
w, a, s, d for camera movement and i, j, k, l for look controls.
Server messages
Minimal client sketch
Python
5. Consistency
LingBot World uses raw-frame websocket GT plus per-chunk latency guards for consistency checks.6. Notes
- Use the realtime endpoint for interactive sessions:
/v1/realtime_video/generate. - Prefer WebP preview transport for interactive testing; use raw-frame transport for consistency checks.
- Long-running sessions should be validated with raw-frame consistency before changing causal cache, condition sampling, or VAE decode behavior.
