AI Image Moderation for Dating Apps
Screen dating-app profile photos for nudity, explicit content, and likely-underage users: content moderation plus age estimation, structured JSON back from a single API call.
Published 2026-05-20 · Updated 2026-10-26

TL;DR. To moderate profile photos on a dating app, send every upload to Pixicular's image analysis API with detect-moderation and detect-age in one call. Your backend reads the moderation labels and the age range, approves clean photos, queues borderline cases for human review, and blocks unsafe or likely-underage photos before other users see them.
Why dating apps need automated photo moderation
Profile photos are the first impression on a dating app, and also the attack surface. Some uploads break platform policy outright (explicit nudity, sexual content, weapons, or drugs), and some come from accounts whose real age is below the platform's minimum. Both have to be caught before another user sees the photo; with reactive, report-driven moderation, the harm is done by the time a report arrives.
An automated screening layer flips that default. Every profile photo is checked at upload time, clean photos publish at once, and your moderation team only sees the photos the API flags. The same request returns an estimated age range for each face, so likely-minor uploads are caught before a profile goes live: both checks share an input (the photo) and a decision point (whether this profile can publish).
How does the profile-photo moderation pipeline work?
The pipeline has five stages: a user uploads a photo; your backend sends it to POST /v1/detect with services=detect-moderation,detect-age; the API returns moderation labels and a per-face age range in one JSON document under services; your backend applies its policy to those signals; and the photo is routed to one of four outcomes: auto-approve, queue for human review, block, or escalate to a stronger identity check.
![A profile photo of a smiling adult man sent to POST /v1/detect with services=detect-moderation,detect-age, returning one response.services panel: detect-moderation shows detected: false and labels: [], and detect-age shows low: 26 and high: 32.](/_next/image?url=%2Flanding-pages%2Fimage-moderation-for-dating-apps%2Finfographic-1.webp&w=3840&q=75&dpl=dpl_7MeQwW947JDrnjJ8oxD2vUb8n1Dh)
The decision step is deliberately yours rather than the API's. A swimwear shot at the beach might return a suggestive label and still be on-policy for your community; the same label on a stricter platform could be a hard block. Keeping the policy in your code makes moderation behaviour auditable and adjustable without an API change.
Which Pixicular services should a dating app use?
Two services cover the core screening needs: detect-moderation for unsafe imagery and detect-age for age estimation. Both can be requested in a single POST, so each profile photo is uploaded once and checked in one round trip, billed as one operation per service.
| What you screen for | Pixicular service | Signal on a profile photo |
|---|---|---|
| Nudity and sexual content | detect-moderation | Explicit nudity or sexual activity in a profile photo. |
| Suggestive imagery | detect-moderation | Swimwear, underwear, or revealing clothing. The borderline area most dating apps review or allow rather than block. |
| Violence and weapons | detect-moderation | Weapons or graphic violence in the frame, common red flags on profile photos. |
| Drugs and hate symbols | detect-moderation | Drug use or paraphernalia, and extremist or hate symbols. |
| Likely-underage user | detect-age | An estimated age range below your platform's minimum age (usually 18 on dating apps), or one that straddles it. |
| Missing or hidden face | detect-age | An empty faces list means the model could not find a face: ask for a clearer photo before publication. |
Moderation labels come back only when detected, each with a parentName that groups it under a category. The signals are independent: a photo can pass moderation and still trip the age check, or the other way round, so decide per signal rather than on one combined score.
Code: screen a profile photo in TypeScript
One multipart POST to /v1/detect uploads the photo and requests both services. The response is a single JSON document your backend can map to a decision.
curl
curl -X POST https://api.pixicular.com/v1/detect \
-H "Authorization: Bearer $PIXICULAR_API_KEY" \
-F "file=@./profile-photo.jpg" \
-F "services=detect-moderation,detect-age"TypeScript — decide auto-approve, queue, block, or escalate
// Screen a new dating-app profile photo before it goes live.
// One request returns moderation labels and an estimated age range per face.
interface ModerationLabel {
name: string;
parentName: string;
confidence: number; // percentage, 0-100
}
interface AgeFace {
ageRange: { low: number; high: number };
ageEstimate: number;
confidence: number;
}
type Decision =
| { action: "auto_approve" }
| { action: "queue_for_review"; reason: string }
| { action: "auto_block"; reason: string }
| { action: "escalate_to_id_check"; reason: string }
| { action: "retry_later"; statusUrl: string };
// Your policy. Use the label and category names your uploads return;
// confidences are percentages.
const BLOCK_LIST = new Set(["Explicit Nudity"]);
const BLOCK_AT = 90;
const AGE_FLOOR = 18;
const AGE_MARGIN = 3; // years above the minimum that still go to an ID check
export async function screenProfilePhoto(file: Blob): Promise<Decision> {
const body = new FormData();
body.append("file", file);
body.append("services", "detect-moderation,detect-age");
const res = await fetch("https://api.pixicular.com/v1/detect", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PIXICULAR_API_KEY}` },
body,
});
// 202 means the request was queued under load: poll statusUrl (see the docs).
if (res.status === 202) {
const { statusUrl } = await res.json();
return { action: "retry_later", statusUrl };
}
if (!res.ok) throw new Error(`Pixicular returned ${res.status}`);
const result = await res.json();
const labels: ModerationLabel[] =
result.services["detect-moderation"]?.labels ?? [];
const faces: AgeFace[] = result.services["detect-age"]?.faces ?? [];
// 1. Block high-confidence labels on your block list.
const blocked = labels.find(
(label) =>
(BLOCK_LIST.has(label.name) || BLOCK_LIST.has(label.parentName)) &&
label.confidence >= BLOCK_AT,
);
if (blocked) return { action: "auto_block", reason: blocked.name };
// 2. No face detected: ask for another photo before publishing.
if (faces.length === 0) {
return { action: "queue_for_review", reason: "no_face_detected" };
}
// 3. Age: block if any face is entirely under age, escalate if any is near it.
if (faces.some((f) => f.ageRange.high < AGE_FLOOR)) {
return { action: "auto_block", reason: "likely_underage" };
}
if (faces.some((f) => f.ageRange.low < AGE_FLOOR + AGE_MARGIN)) {
return { action: "escalate_to_id_check", reason: "borderline_age" };
}
// 4. Any other moderation label goes to a human reviewer.
if (labels.length > 0) {
return { action: "queue_for_review", reason: labels[0].name };
}
// 5. Everything cleared.
return { action: "auto_approve" };
}Every threshold in that function (the block list, the 90% confidence cutoff, the 3-year age margin) is policy you own. Tune them per platform, track the volume that lands in each bucket, and adjust to keep your review queue at a manageable size.
Example response
{
"success": true,
"requestId": "req_Jd4Wq9ZsB2nTy7KpLx",
"services": {
"detect-moderation": {
"detected": false,
"labels": []
},
"detect-age": {
"faces": [
{
"ageRange": { "low": 26, "high": 32 },
"ageEstimate": 29,
"confidence": 99.9
}
]
}
},
"photo": { "id": "photo_Ts8eM3vRk6YqBw1NcH", "status": "COMPLETED" },
"creditCost": 2,
"processingTimeMs": 1250,
"processedAt": "2026-10-26T09:30:00.000Z"
}A clean result: no moderation labels, and one face with an age range well above 18. creditCost is 2 because two services ran on one image. For authentication, error codes, and rate limits, see the Pixicular API documentation.
How do you choose thresholds for auto-approve, queue, and block?
The moderation service returns a confidence percentage (0 to 100) for each label it detects, and the age service returns a numeric range per face. Turning those into actions is a policy decision. Only labels the model actually finds are returned, so a result with no labels is the natural approve path. Block labels on your block list above a high cutoff, send any other label to human review, and send photos whose age range falls near your minimum age to an ID check.

Sensible starting points for an 18-plus dating app: block explicit-nudity and sexual-content labels at 90% confidence or above, and send every other label to review. For age, block when the upper bound of any face is under 18, send ranges whose lower bound is under 21 to an ID check, and approve the rest. Track the buckets weekly and adjust if reviewers are overwhelmed or borderline photos slip through.
GDPR, biometric data, and age estimation
Analysing a face to estimate age is commonly treated as biometric processing under the GDPR, the UK GDPR, and several US state privacy laws. That means a lawful basis and, in many cases, explicit consent and a data protection impact assessment before you run it on user photos.
The practical pattern for a dating app is straightforward. Ask for explicit consent at sign-up before any face analysis runs, explain in plain language what the photo will be used for, send the photo to the API, read the moderation labels and the age range, and make the publish decision. Persist only what an audit genuinely requires (the decision, the reason code, and a coarse age bucket if you need it for trust-and-safety analytics), not an exact predicted age tied to the user record. On Pixicular's side, the privacy policy sets retention at 30 days after analysis for uploaded images (or as configured by the user) and the life of the account plus 90 days for detection results. This is general information, not legal advice; confirm the specifics for your jurisdiction with qualified counsel.
The same data-minimisation pattern is described in detail on the age detection API page if you want a deeper look at the biometric side of the pipeline.
When to auto-approve, queue, block, or escalate
- Auto-approve when the moderation result has no labels (
detected: false) and every face's lower age bound is comfortably above your platform's minimum age. These photos should never wait for a human reviewer. - Queue for human review on labels outside your block list (suggestive or swimwear labels, for example), on no-face uploads, or on any combination your policy flags as ambiguous. Reviewers see the labels next to the image.
- Auto-block on high-confidence block-list labels, such as explicit nudity, sexual content, or graphic violence, and on age ranges whose upper bound is below the minimum age for your platform. These photos must never reach another user; a rare false positive costs far less than a single confirmed violation.
- Escalate to ID verification when the estimated age range straddles your minimum age or falls within your safety margin above it. Age estimation is an age-assurance signal, not a legal identity check, so add a document step for the cases the photo cannot decide.
Operational practices that matter on a dating app
Run the moderation API on every photo a user adds or replaces, not just the first one at sign-up, because abusers try to slip a banned photo in under an existing approved account. Store the moderation labels, the decision, and a coarse age bucket alongside each profile photo for as long as the decision stands; that is the audit trail your team needs for appeals, regulator queries, and re-reviews when you change a threshold.
Build an appeals path for blocked photos that puts the case in front of a trained human reviewer with the labels visible. Automated triage is not perfect: swimwear, breastfeeding photos, art-inspired poses, and medical imagery are common false positives for nudity-related labels, and heavy filters and unusual angles make age ranges less reliable. Treat the API as a triage layer, not a final adjudicator.
Frequently asked questions
How do you moderate profile photos on a dating app?
Send every profile photo to a moderation API at upload time, before other users can see it. Pixicular's detect-moderation service returns the moderation labels it detects (for example nudity, suggestive content, violence, or drugs), each with a confidence percentage, and detect-age returns an estimated age range per face. Your backend compares those signals with your own policy and routes the photo to approve, human review, block, or an ID check, so clean photos publish at once and only ambiguous ones reach a reviewer.
Can age estimation from a selfie replace document-based ID verification on a dating app?
No. Photo age estimation is an age-assurance signal, not a legal identity check. It is well suited to catching likely-underage uploads at sign-up and routing borderline cases into stronger verification, but it does not replace document-based checks where regulation or platform policy requires verified identity. A common pattern is to approve clearly adult ranges automatically, block ranges entirely below 18, and send ranges near 18 to a document check before the profile goes live.
What about GDPR — is running age estimation on a user photo lawful?
It can be, with the right basis. Analysing a face to estimate age is commonly treated as biometric processing under the GDPR and similar regimes, so it needs a lawful basis and, in many cases, explicit consent and a data protection impact assessment. Ask for consent at sign-up and store only the decision and a coarse age bucket, not an exact predicted age. Per the Pixicular privacy policy, uploaded images are retained for 30 days after analysis. This is general information, not legal advice.
What if a profile photo has no face or several faces?
detect-age returns one entry per detected face. An empty faces list means no face was found, so ask the user for a clearer photo before the profile publishes. For a group photo, gate on the youngest face: many dating apps do not allow minors in profile photos at all. Many apps also require at least one photo with exactly one face, so that the age estimate applies to the account holder.
Can I call NSFW detection and age estimation in a single API request?
Yes. Pixicular's /v1/detect endpoint accepts a comma-separated services field, so you can request detect-moderation and detect-age in the same multipart POST. The image is uploaded once and the response is one JSON document with both results under services. Billing is per service: one image with two services is two operations.
Add NSFW plus age screening to your profile upload flow
The fastest way to evaluate Pixicular for dating-app moderation is to point a curl request at it with a real profile photo. Pick a plan on the pricing page and follow the API documentation for authentication and the full response schema for detect-moderation and detect-age.