Detect AI-generated media
at API speed.
Forensic-grade image and video analysis. One signed request — sub-second verdicts, full evidence chain, cryptographic provenance.
What the API does
One endpoint. Every modality.
A single signed POST returns a verdict, confidence, and structured evidence — for images, video, and provenance-bearing media.
Image detection
Diffusion, GAN, and hybrid generators across JPEG, PNG, WebP, HEIC, AVIF — including phone-screenshot edge cases.
Video detection
Multi-frame consensus on MP4, MOV, WebM, MKV. Sub-second short-circuit when metadata makes the verdict obvious.
C2PA provenance
Inspect Content Credentials before running the model. Cryptographic AI-origin proof short-circuits the pipeline.
Metadata forensics
EXIF, container, and codec signals scored against a human/AI rubric — saves model spend on obvious cases.
Idempotent by design
Every call accepts an Idempotency-Key. Retry safely on network blips — you’re never charged twice.
Evidence chain
Every verdict ships with a structured chain of reasons (metadata layer + visual layer) for your own audit logs.
Request shape
One signed POST. Standard JSON back.
Your server signs the request body locally with HMAC-SHA256. Your secret never leaves your infrastructure. Full signing examples ship in the docs after you’re onboarded.
POST /v1/analyze Host: api.fauxlens.com X-FauxLens-Key: fxl_live_•••••••• X-FauxLens-Timestamp: 1779227480 X-FauxLens-Content-SHA256: 7b4f7c…0e44a3 X-FauxLens-Signature: a6f1c2…d4e9 Idempotency-Key: 5dca7b22-4b71-4a3f-b612-… Content-Type: multipart/form-data (image or video bytes)
{
"data": {
"summary": "Likely Authentic",
"confidence_score": 0.95,
"is_short_circuited": false,
"evidence_chain": [
{
"layer": "Metadata Check",
"status": "warning",
"label": "Origin Check",
"detail": "No camera fingerprint found."
},
{
"layer": "Visual Context",
"status": "passed",
"label": "Visual Inspection",
"detail": "No visual anomalies detected."
}
],
"short_id": "KEZeCDCn"
},
"request_id": "req_206f63d4-e43b-4412-b2b8-b9fcf894955c",
"credits_remaining": 1953,
"idempotent_replay": false
}summary takes one of four values: No AI Detected · Likely Authentic · Likely AI-Generated · AI-Generated. The evidence_chain is structured for direct embedding in your own audit logs — every verdict ships with the layer-by-layer reasoning that produced it.
Security & abuse protection
Production-grade by default.
Every connection is signed, rate-limited, and auditable. Optional IP allowlists per credential add a second line of defense.
HMAC-SHA256 signing
Your secret stays on your server. Each request is signed with the timestamp, method, path, and body hash — preventing tampering and replay attacks.
- SHA-256
- No raw secrets in transit
- Replay protection: 300s window
Per-key rate limits
Every credential gets its own budget. Standard plans start at 60 req/min, with response headers (X-RateLimit-Limit, Remaining, Reset, Retry-After) on every call.
- Sliding-window counter
- Volume tiers on request
- Backoff-friendly headers
IP allowlists
Optional CIDR whitelist scoped per credential. Combine with key rotation for production safety. Refunds on pipeline failure are automatic and idempotent.
- Per-credential CIDRs
- Key rotation in dashboard
- Auto-refund on failure
Pricing
Pay once. Use until you don’t.
Prepaid credits that never expire. Same forensic engine across every tier — you only pay for the volume you actually need.
Swipe to compare tiers →
Checkout uses Google sign-in. We never see your password.
Need more than 25,000 scans/month? Talk to us about volume pricing.
Common questions
Answers before you ask.
Ready to integrate?
Request a sandbox and get 50 free credits within 24 hours. Production keys ship the moment your first payment clears.