Nara Lens/Docs

Quickstart

Get up and running with Nara Lens in under 5 minutes.

Step 1: Get Your API Key

Sign up at naralens.com/signup to get your API key. You'll find it in your dashboard under Settings → API Keys.

Step 2: Install the SDK

Choose your preferred language:

Python
pip install naralens
JavaScript
npm install naralens
Go
go get github.com/naralens/naralens-go

Step 3: Make Your First Request

Bash
curl -X POST https://api.naralens.com/v1/analyze \
  -H "Authorization: Bearer $NARA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/image.jpg",
    "perception": "detect:person,vehicle"
  }'

Step 4: Parse the Response

The API returns structured JSON with detected objects:

JSON
{
  "id": "req_abc123",
  "objects": [
    {
      "label": "person",
      "confidence": 0.98,
      "bbox": [100, 150, 200, 400]
    },
    {
      "label": "vehicle",
      "confidence": 0.95,
      "bbox": [300, 200, 500, 350]
    }
  ],
  "processing_time_ms": 127
}

Next Steps