Authentication
Secure your API requests with API keys.
API Keys
All API requests require authentication via an API key. You can include your key in one of two ways:
Option 1: Authorization Header (Recommended)
Authorization: Bearer sk-your-api-key-hereOption 2: X-API-Key Header
X-API-Key: sk-your-api-key-hereManaging API Keys
You can create, rename, and revoke API keys from your dashboard:
- Create keys - Generate new API keys with optional names
- Rename keys - Update key names for organization
- Revoke keys - Delete keys that are no longer needed
Important: The full API key is only shown once when created. Store it securely - you won't be able to see it again.
Security Best Practices
- Never expose API keys in client-side code or public repositories
- Use environment variables to store keys
- Rotate keys periodically
- Create separate keys for different applications
Credits
Nara Lens is pay-as-you-go, no subscriptions. You buy a credit balance and spend it as you process video: 1 credit = 1 second of video ($1 = 60 credits = 1 minute). New accounts start with 300 free credits. Top up or check your balance any time from your dashboard.