Skip to content

Xylolabs Face API

Face detection and masking REST API powered by SCRFD (SOTA on WIDER FACE).

What it does

Upload an image, get back face locations with bounding boxes and 5-point landmarks. Or mask all faces with blur, pixelation, or solid fill and get the processed image back.

Quick start

# Detect faces
curl -X POST https://face-api.xylolabs.com/api/v1/detect \
  -H "X-API-Key: xyl_your_key" \
  -F "image=@photo.jpg"

# Mask faces
curl -X POST https://face-api.xylolabs.com/api/v1/mask \
  -H "X-API-Key: xyl_your_key" \
  -F "image=@photo.jpg" \
  -o masked.jpg

Endpoints

Method Path Description
GET /health Health check
POST /api/v1/detect Detect faces, return JSON
POST /api/v1/mask Mask faces, return image

Admin endpoints at /api/v1/admin/* for image/job management and API key CRUD.

Documentation

한국어