API Access
Two APIs, one key: Laabam Agni (OpenAI-compatible chat) and Laabam Face (face verification). Create keys yourself in the console; there is nothing to request.
1. Keys
- Create a key under API Keys. It is shown once: copy it to your server's secrets.
- Send it as
Authorization: Bearer lk_live_…, over HTTPS. - Up to 20 active keys per account. There are no test keys or scopes yet: use one key per environment.
- A revoked key stops working within a minute.
2. Laabam Agni (chat)
- Base URL
https://www.laabam.ai/api/v1(use www: laabam.ai redirects, and the redirect drops your key). POST /chat/completions, streaming or not, andGET /models. Model:agni-pro.- Any OpenAI SDK works.
tools,nandstopare ignored. - Photos: Agni reads images. Send them as
image_urlparts with base64data:URLs (JPEG, PNG or WebP), up to 8 a request; a web address is not fetched. - JSON:
response_format: {"type": "json_object"}returns plain JSON, ready to parse. - Limits: 30 requests a minute per key;
max_tokensup to 16,384; up to 1,000 messages, each up to 4,00,000 characters and 10,00,000 in total; a request up to 4.5 MB. - Kept warm 07:30 to 23:00 India time; outside that it starts cold (about 15 minutes) and calls made meanwhile fail. Retry with a backoff.
3. Laabam Face
POST /v1/face/verifyand/v1/face/check; every operation is described at/v1/manifest.- 10 requests a second per account; photos up to 5 MB, recordings up to 12 MB.
- Free while in testing. You must have each person's consent; see the Terms.
4. Paying and watching use
Chat calls are paid from prepaid credit once billing starts (see Pricing). Every call shows on your Usage page.
5. Help
Questions and problems: support@laabam.ai.