Nosmai  Effects Nosmai  Moderation Nosmai Try-ons coming soon
Docs menu Web
Reference

Web

Use the Web developer preview for browser camera input and compatible authored .nosmai packages through WebGL 2 and WebAssembly.

Platform Web SDK version 0.2.0 developer preview Updated Aug 19, 2026 Time 4 min

Start here

Requirements

ItemRequirement
Browser contextHTTPS or localhost
GraphicsWebGL 2 with hardware acceleration recommended
RuntimeWebAssembly, Web Crypto, and navigator.mediaDevices.getUserMedia
HostingCamera, package, WASM, model, and worker resources allowed by CSP and CORS

Current preview scope

  • browser camera preview
  • compatible authored .nosmai filters, 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.

Next steps

References

Was this page helpful?

Your response helps us prioritize documentation improvements.

Nosmai

An AR and AI company. Founded on the idea that the next decade of software will be visual, and that the tools for it should be within reach of anyone building.

Newsletter

Product updates and release notes. No spam.

© 2026 nosmai, inc · all rights reserved