Start here
- Install the Web preview
- Build the Web quickstart
- Obtain the preview archive and model assets through Nosmai onboarding
Requirements
| Item | Requirement |
|---|---|
| Browser context | HTTPS or localhost |
| Graphics | WebGL 2 with hardware acceleration recommended |
| Runtime | WebAssembly, Web Crypto, and navigator.mediaDevices.getUserMedia |
| Hosting | Camera, package, WASM, model, and worker resources allowed by CSP and CORS |
Current preview scope
- browser camera preview
- compatible authored
.nosmaifilters, AR masks, frames, LUTs, 3D content, and packaged backgrounds - package compatibility inspection and runtime diagnostics
- face tracking and package-authored trigger signals
The preview does not currently provide mobile parity for adjustable beauty, Cloud Filters, camera games, native capture, recording, or off-screen output. The Web package is not currently published on public npm.
Important ownership rules
Start the camera from a user gesture when required by the browser. Stop all tracks when leaving the screen. Serve the package and runtime assets from origins permitted by the page's CORS and Content Security Policy.