Developer Portal

Build on LensWave's API, SDK, and webhooks. All endpoints require a Bearer token.

REST API

Authentication: Authorization: Bearer <token>. Base URL: /api.

View API docs →

SDK

Official JS SDK: npm install @lenswave/sdk. Supports Node.js and browser.

Get SDK →

Webhooks

Subscribe to generation events: generation.completed, generation.failed.

Configure webhooks →

API Keys

Manage your project keys in the BYOK panel. Keys are encrypted at rest.

Manage keys →

Rate limits: 60 req/min on free tier, 600 req/min on Pro. 429 responses include Retry-After.