--- title: MDMF Detector API emoji: 🔍 colorFrom: green colorTo: blue sdk: docker app_port: 7860 pinned: false --- # MDMF Detector API FastAPI backend for the Micro-Defects expose Macro-Fakes (MDMF) AI-generated image detector. Serves the paper's two trained variants (ImageNet/ProGAN and SDv1.4/GenImage) on a single `/detect` endpoint. POST an image file to `/detect` as multipart form-data (field name: `file`) and receive JSON with both variants' verdicts plus Grad-CAM heatmap overlays.