Spaces:
Running
Running
| 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`. | |