Install and sign in
Terminal
--no-browser and open the printed URL on another device.
For installation options or CI setup, see Install the CLI.
Scaffold a workspace
Create a workspace and enter it:Terminal
your-org/my-model, into reactor.yaml.
The workspace contains:
Workspace
ReactorApp.
Keep the generated build.runtime_version pin; the runtime changelog lists releases when you’re ready to upgrade.
Deploy to production
Choose a GPU type and region covered by your account allocation. The example below uses one H100 inus-west. Replace these values with your allocated GPU type and region.
An allocation does not guarantee free hardware at deployment time.
Deploy the workspace and its weights folder:
Terminal
production environment.
It waits for the rollout to finish. Follow startup from another terminal in the workspace:
Terminal
Terminal
--weights ./weights explicitly uploads and selects the starter’s logo.
Without --weights, a deploy keeps the environment’s existing weights; it doesn’t upload runtime.weights_path automatically.
The model reads its deployed weights through get_weights_path(), the same helper it uses locally.
Connect a client
Forproduction, point the JS SDK at the account-qualified name from reactor.yaml, such as your-org/my-model.
A deployed model needs a token. Mint it on your server as described in Authentication.
For the vanilla JavaScript example, add <video autoplay muted playsinline></video> to your page
before running the script.
Change the spin speed
Ship a change
Editmodel.py or config.yaml, then deploy again:
Terminal
model.version to bump. The environment keeps its weights unless you supply --weights again.
To ship only updated weights:
Terminal
Stop the instance
When you’re finished testing, stop the environment’s instances:Terminal
reactor scale production --desired 1 when you want to use it again.
Develop locally
Local testing is optional.reactor build and reactor run build and run the model through Docker on your machine.
The starter needs no GPU; GPU models also need local hardware and reactor run --gpus all.
Test Locally covers the build, run, and client test loop.
Next
Model Anatomy
Every member of a ReactorApp, read through one working model.
Generation Loop
The three hooks, refusing and failing, emitting, and the frame rate.
Load Your Weights
Resolve checkpoints the same way locally and in production.
reactor.yaml Reference
Every key in the model spec, with its default.