Spaces:
Running
Running
| title: Sonics Detect Api | |
| emoji: 🎵 | |
| colorFrom: indigo | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| license: mit | |
| short_description: AI-generated song detection API (SONICS SpecTTTra) | |
| # SONICS Detect API | |
| Minimal REST wrapper around [SONICS SpecTTTra](https://huggingface.co/awsaf49/sonics-spectttra-alpha-120s) | |
| (ICLR 2025, MIT) for end-to-end AI-generated song detection. | |
| - `GET /` — health check | |
| - `POST /detect` — multipart form with an `audio` file, returns `{"ai_prob": 0..1}`. | |
| Requires `X-Detect-Key` header when the `DETECT_API_KEY` secret is set. | |