Install
Scaffold a project
Run it
local: true to connect directly to your local model on port 8080:
What just happened
- The runtime read
reactor.yamland foundpipeline:MyModel(that’spipeline.py, classMyModel). - It loaded
config.ymland passed it toMyModel.load()as a dict. - It started an HTTP server with WebRTC signaling endpoints.
- When a client connects, the runtime calls
inference()and starts streaming the yielded frames.
Inspect schema
Without starting the server, you can see what your model exposes to clients:CLI options
| Flag | Description |
|---|---|
--path <dir> | Model directory (default: current directory) |
--port <number> | HTTP server port (default: 8080) |
--model.<key>=<value> | Override config values (e.g. --model.width=1280) |
-v / --verbose | Debug logging |
Next steps
Model Anatomy
Understand every piece of the scaffolded model.
Make It Interactive
Add parameters that clients can change in real-time.