ReactorApp to receive client inputs and stream output.
Start with a model that already runs, its dependencies and weights, and an account with Serve and remote-build access.
Create a workspace
Install the CLI, then sign in and create a starter workspace:Terminal
requirements.txt.
Connect your inference code
Replace the starter’s rendering code inmodel.py with your model’s loading and inference calls:
For a video model, return each chunk to the runtime instead of keeping a streaming loop inside
generate().
Set fps to the intended playback rate. Your inference code still controls how long each chunk takes to compute.
Model anatomy shows these interfaces together in a working model.
For camera or microphone input, see video and audio tracks.
Configure the model
Set the project name and Python class inreactor.yaml:
reactor.yaml (selected settings)
your-org with your account or team slug and MyModel with your class name.
Remove the starter’s runtime.config entry if your model doesn’t use its configuration file.
Keep the generated runtime pin. Add the CUDA version and dependencies your inference code needs through the build settings.
Selecting a GPU at deployment doesn’t add CUDA to the image.
Keep checkpoints outside the image; Load your weights covers local folders and hosted sources.
Deploy and test
From the workspace, deploy with hardware your model supports. For a model tested on one B200 with checkpoints inweights/:
Terminal
your-org/ported-model.
Update the client’s controls to match your input fields and commands.
Check that output arrives, changes when you update inputs, and starts with fresh state in a new session.
A ready instance alone doesn’t verify inference.
When finished, stop the instance:
Terminal