deepshield-api / README.md
vanshpatil16's picture
DeepShield API β€” 7-detector image deepfake detection
6be0044
|
Raw
History Blame Contribute Delete
997 Bytes
---
title: DeepShield API
emoji: πŸ›‘οΈ
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
short_description: Multi-API ensemble AI image detector
---
# DeepShield Detection API
FastAPI backend for AI-generated image detection.
## Endpoints
- `GET /health` β€” liveness probe
- `GET /detectors` β€” list active detectors
- `POST /analyze` β€” upload image, get ensemble verdict
- `GET /history` β€” analysis history (requires MongoDB)
## Configuration
Set the following as Space **Secrets** (Settings β†’ Variables and secrets):
| Key | Required | Purpose |
|-----|----------|---------|
| `SIGHTENGINE_API_USER` | yes | Sightengine API user |
| `SIGHTENGINE_API_SECRET` | yes | Sightengine API secret |
| `GOOGLE_API_KEY` | no | Enables Gemini detector |
| `ANTHROPIC_API_KEY` | no | Enables Claude detector |
| `MONGODB_URL` | no | Enables history persistence |
Public env vars (Variables tab) control which detectors are enabled β€” see the project's `DEPLOY.md`.