Introduction
Nosmai Moderation is an on-device content moderation SDK for mobile apps. Moderate images, video, text and the live camera, with no cloud round-trip.
What is Nosmai Moderation?
Nosmai Moderation is a content safety SDK that runs entirely on the user’s device. It checks images, recorded video, chat text and the live camera for unsafe content, and returns a clear verdict your app can act on. There is no cloud round-trip, so frames and messages never leave the phone.
You install one SDK, initialize it with a license key, and call a small set of methods. All models ship inside the SDK, so checks keep working offline after the one-time setup.
What it moderates
| Surface | What it does |
|---|---|
| Image | Check a single photo |
| Video | Sample and aggregate a recorded clip |
| Text | Check a chat message or comment |
| Live camera | Real-time, per-frame moderation |
It detects unsafe objects (weapon, drug, cigarette, alcohol), adult / NSFW imagery, and unsafe text (profanity, toxicity, hate, harassment, threats).
Why on-device
- Privacy: user content never leaves the device, which helps with compliance.
- Latency: no network call per check, so results are immediate.
- Cost: no per-request cloud bill for moderation.
- Offline: works without connectivity after the one-time license check.
Supported platforms
| Platform | Package | Minimum version |
|---|---|---|
| iOS (Swift) | NosmaiModerationSDK (CocoaPods) | iOS 14+ |
| Android (Kotlin) | nosmai-detection.aar | API 24+ (arm64-v8a) |
| Flutter | nosmai_moderation_sdk | Flutter 3+ |
NOTE
New here? The Quickstart takes you from install to your first verdict in a few minutes.