Face Detection API

Check whether an image contains a human face

The Face Detection API tells your application whether an image contains a human face. It is built for upload checks: reject a profile photo that has no face, or screen photo submissions before a person has to review them.

How It Works

Send one or more image URLs (up to 25 per request) and the API returns, for each image, is_face (a face was found) and is_nsfw (the image shows explicit content). It uses a dedicated face detector. It detects that a face is present; it does not identify who the person is, compare faces, or read expressions, age or gender. For an age estimate, use the Age Verification API.

Use Cases

  • Profile photo checks: Confirm an uploaded avatar actually contains a face before accepting it.
  • Marketplace and dating uploads: Combine is_face with is_nsfw to screen submissions in a single call.
  • Portrait-only flows: Reject images with no face in forms that require a portrait.

API Demo

Try out our Face Detection API with a live demo. Provide an image URL, and our API will analyze it to detect if image contains a face or not along with NSFW tag.

Try Face Detection API Demo

Simple to Integrate

A plain JSON API over HTTPS with batch requests and a free tier, so you can try it on real uploads before you commit. See pricing for quotas.

Getting Started

To integrate the Face Detection API into your project, refer to our documentation for comprehensive guides and code examples.