Skip to main content
Start with GET /v1/models to identify the deployed base model and any LoRA adapters. The model catalog lists each launch key’s OpenAI capabilities. Every model can receive a native request at /generate or /generate/ws.

Routes

With bearer authentication enabled, /health, /metrics and openpi’s /healthz remain public. The openpi policy socket also accepts an Api-Key credential. MSTAR_ROOT_PATH adds a reverse-proxy prefix to the routes. Authentication

OpenAI compatibility

The base model determines the available endpoints. A registered adapter can expose only a subset. For example, Orpheus exposes speech and voices, Whisper exposes transcription, and BAGEL exposes chat and image generation/editing. nemotron_duplex exposes realtime conversation as well as native live input. pi05 uses native generation and, with an openpi: config, the policy socket at /. Use the model matrix to find a key’s supported routes, then follow its model guide for accepted modalities and settings. An unsupported route returns 404. Unsupported realtime sessions close with 1008. A supported route can still return 400 for an input the model cannot use. Adapter registry

Health

GET /health checks the serving backend. Use it for readiness after worker setup and configured warmups. Before the frontend binds, clients receive a connection error. Startup sequence On an openpi deployment, /healthz returns plain OK for a healthy policy. Other deployments return 404 on that route.