Get Started with the TruthLens API
TruthLens provides a simple REST API for detecting AI-generated images. Integrate it into your app in under 5 minutes.
Authentication
All API requests require an X-API-Key header. Get your free API key at truthlensbyai.online/dashboard.
Endpoint
POST https://truthlensbyai.online/api/detect
Python Example
``python import requests response = requests.post( "https://truthlensbyai.online/api/detect", headers={"X-API-Key": "your_key"}, files={"image": open("photo.jpg", "rb")} ) result = response.json() ``
Rate Limits
| Plan | Scans/Day | Price |
|---|---|---|
| Free | 10 | $0 |
| Pro | 100 | $9.99/mo |
| Team | Unlimited | $29/mo |
| Enterprise | Unlimited | $299/mo |