Desert Ant Labs

Moderator

内容审核可用

设备端 NSFW 检测,在上传前标记裸露内容。仅使用已授权和合成数据训练,可放心用于商业产品。

上传前标记裸露内容。

存疑的上传根本到不了你的服务器、你的 CDN,也进不了审核员的队列。分数由五项独立检测汇总而成(裸露乳头、生殖器、臀部、裸体和性行为),其中哪几项计入,由你的策略决定。

Moderator 训练用的每一张图都有授权或为合成,因此可以直接进入商业产品,没有版权风险。整个模型在 Apple 上为 9.7 MB,其他平台为 9.2 MB,因此这项检查能在上传开始之前就在手机上完成。

识别 87.8% 的 NSFW 图片。

捕获 87.8%的 NSFW 图片,放行 93.7%的安全图片,误拦率仅 6.3%,约为 NudeNet 的一半,全部来自一个 9.7 MB 的设备端模型。

87.8%
召回率
捕获的 NSFW
93.7%
特异度
放行的 SFW
9.7MB
设备端
int8 Core ML
74%
每个视频帧
1 次裁剪,特异度 97%;抽帧取样可补回召回率

在一个专有留出集上进行的内部评估,而非公开基准。上面的数字来自 8 次裁剪的方案,单张图片应当用这一方案;视频则是每帧只裁一次更省、单帧也更精确,再靠跨帧取样把召回率补回来。

应用场景

上传前标记裸露内容。.

上传前过滤

在用户的图片上传之前就在手机上完成筛查,存疑内容到不了你的服务器,你团队里也没人需要为此亲眼去看那张图。

策略由你掌控

.standard 策略把五项检测全部计入。.allowTopless 则把裸露乳头排除在评分之外,适用于规则允许的平台。

在选择器就提醒,而不是发布之后

用户一选中图片就打分,并当场提醒。一小时后再去下架,代价是一条客服工单。

模型能做什么

  • 仅用宽松授权和合成图片训练,没有任何抓取来的数据。
  • 在设备上、上传之前,为任意图片或视频帧的裸露程度打分。
  • 五个检测头:裸露乳头、生殖器、臀部、裸体和性行为。
  • 由策略决定哪些计入 NSFW 评分,从 .standard(全部五项)到 .allowTopless(排除裸露乳头)。

快速上手

只需几行代码,即可为你的 iOS or macOS, Android or web 应用加上 内容审核。 Moderator 文档.

iOS, macOS
安装
// Swift Package Manager
.package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core", from: "3.5.0")
// target dependency
.product(name: "Moderator", package: "desert-ant-core")
用提示词构建
Add Moderator from Desert Ant Labs to this Swift project (iOS, macOS).

What it does: Moderator:面向图像和视频的设备端 NSFW 与裸露内容检测.

SDK:

Swift (iOS, macOS)
Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme
// Swift Package Manager
.package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core", from: "3.5.0")
// target dependency
.product(name: "Moderator", package: "desert-ant-core")

Reference:
- Model page: https://desertant.com/models/moderator/
- Full catalog and other models: https://desertant.com/llms.txt

Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
Android
安装
// build.gradle.kts (Maven Central)
implementation("ai.desertant:moderator:3.5.0")
用提示词构建
Add Moderator from Desert Ant Labs to this Kotlin project (Android).

What it does: Moderator:面向图像和视频的设备端 NSFW 与裸露内容检测.

SDK:

Kotlin (Android)
Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme
// build.gradle.kts (Maven Central)
implementation("ai.desertant:moderator:3.5.0")

Reference:
- Model page: https://desertant.com/models/moderator/
- Full catalog and other models: https://desertant.com/llms.txt

Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
Web, Node.js
安装
npm i @desert-ant-labs/moderator @litertjs/core
用提示词构建
Add Moderator from Desert Ant Labs to this JavaScript / TypeScript project (Web, Node.js).

What it does: Moderator:面向图像和视频的设备端 NSFW 与裸露内容检测.

SDK:

JavaScript / TypeScript (Web, Node.js)
Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme
npm i @desert-ant-labs/moderator @litertjs/core

Reference:
- Model page: https://desertant.com/models/moderator/
- Full catalog and other models: https://desertant.com/llms.txt

Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.

规格

准确度
在阈值 0.50 下,召回率 87.8%,特异度 93.7%
模型
设备端图像分类器
设备端体积
Apple 上 9.7 MB(Core ML),其他平台 9.2 MB(LiteRT)
平台
iOS、macOS、tvOS、visionOS、Android、Linux、Windows、浏览器和 Node

Moderator 是内容审核的辅助工具,而不是法律判定。在拦下任何内容之前,请把每一次标记都交给人工复核。Moderator 只覆盖成人内容;未成年人在设计上就不在范围之内,也已从训练集中排除。

常见问题

Moderator 是什么?

设备端 NSFW 检测,在上传前标记裸露内容。仅使用已授权和合成数据训练,可放心用于商业产品。

Moderator 在设备上运行吗?

是的。Moderator 在设备上运行,不调用任何服务器,因此数据始终留在用户手中。

Moderator 支持哪些平台?

Moderator 以面向 Swift, Kotlin, JavaScript / TypeScript 的原生设备端 SDK 形式提供。

Moderator 的价格是多少?

每个模型免费支持最多 10 万台月活跃设备。推理次数不限。 如需定制授权,请联系我们。

Moderator 的准确度和速度如何?

捕获 87.8%的 NSFW 图片,放行 93.7%的安全图片,误拦率仅 6.3%,约为 NudeNet 的一半,全部来自一个 9.7 MB 的设备端模型。

资源