Getting Started
Welcome to the TruthLens AI Detection API Setup Guide. This guide will walk you through the basics of making your first detection request.
Step 1 — Sign Up & Get Your API Key
For API Access contact: apiaccess@aitruthlens.org
Step 2 — Make Your First Request
curl https://api.aitruthlens.org/v1/detect/image \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/photo.jpg"}'
Step 3 — Read the Response
{
"type": "image",
"label": "likely_ai",
"confidence": 0.91,
"provider": "TruthLens API",
"raw": { ... }
}