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
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
The FaceSmash Ecosystem
Everything you need to build, integrate, and ship face authentication.
FaceSmash App
End-user face login & registration. Try the live demo.
Visit appDocumentation
Guides, SDK reference, API docs, security architecture.
Read docsSDK on npm
@facesmash/sdk — React components, hooks, vanilla JS client.
View packageOpen Source
Fork it, extend it, self-host it. Full source code on GitHub.
View source