Your first Latentface API call
Get an API key, install the Python or TypeScript SDK, and make your first Latentface face-embedding call in under three minutes.
By Latentface TeamUpdated
Requirements
- →Free Latentface account (no credit card)
- →Python 3.9+ or Node 18+
Steps
Create your account and copy your key
Sign up at latentface.net. Confirm your email, open the dashboard, and copy your key from API Keys → Default. Free-tier keys work immediately with 100 calls/day.
Install the SDK
Python: `pip install latentface`. TypeScript: `npm install @latentface/sdk`. Both SDKs expose the same call surface.
Authenticate
The SDK reads `LATENTFACE_API_KEY` from the environment automatically, or pass `api_key="lf_..."` to the client constructor.
Make your first call
Call `client.embed(image="./face.jpg")` — the response is a 512-dim float32 vector you can store in any vector DB.
Check your usage
The dashboard shows per-key call counts, p50/p95 latency, and the current billing-cycle spend. Export to CSV any time.
Ready to go live?
Start your first Latentface session for free — no credit card required.