Face AuthenticationFor Your Apps

Add face login, registration, and verification to any app with a simple API call. No ML expertise required.

npm install @facesmash/sdk
api-example.ts
import { FaceSmashClient } from '@facesmash/sdk';

const facesmash = new FaceSmashClient({
  apiKey: process.env.FACESMASH_API_KEY,
});

// Detect faces in an image
const detection = await facesmash.detect({
  image: base64Image,
});

// Register a user's face
await facesmash.register({
  userId: 'user_123',
  descriptors: detection.descriptors,
});

// Authenticate with face
const login = await facesmash.login({
  descriptor: faceDescriptor,
});
// => { matched: true, userId: 'user_123' }

Face Detection & Recognition

Detect faces, extract descriptors, and match identities with a single API call. Powered by state-of-the-art ML models.

Secure by Default

API keys are one-way hashed. Rate limiting, audit logs, and IP whitelisting keep your integration safe.

SDK & REST API

Use our TypeScript SDK with React hooks, or call the REST API directly from any language or framework.

See It in Action

Watch how FaceSmash works — from registration to login

FaceSmash demo — passwordless login in under 2 seconds

Ready to add face auth?

Get started with 1,000 free API calls per month. No credit card required. Upgrade as you grow.