# Deepfake Detection Source: https://docu.scam.ai/api-reference/endpoint/faceswap-detection Detect face-swapped and deepfake content in images and videos. ## Image Detection ```bash theme={null} curl -X POST "https://api.scam.ai/api/defence/faceswap/predict" \ -H "x-api-key: YOUR_API_KEY" \ -F "files=@/path/to/your/image.png" ``` ## Video Detection ```bash theme={null} curl -X POST "https://api.scam.ai/api/defence/video/detection" \ -H "x-api-key: YOUR_API_KEY" \ -F "video=@/path/to/your/video.mp4" ``` ## Response ```json theme={null} { "task_id": "", "timestamp": "2023-11-07T05:31:56Z", "detection_result": { "overall_status": "NOT_DETECTED", "overall_confidence_score": 0.67, "face_detections": [ { "filter_prob": 123, "faceswap_prob": 123, "bounding_box": [ 30, 60, 150, 180 ] } ] } } ``` # GenAI Image Detection Source: https://docu.scam.ai/api-reference/endpoint/predict Detect AI-generated images from Midjourney, DALL-E, Stable Diffusion, and other AI systems using file upload. ## Parameters Image file (JPEG, PNG, BMP, GIF, WEBP) - Max 10MB Your API key ## Response ```json theme={null} { "likely_ai_generated": true, "confidence_score": 0.87, "processing_time_ms": 245 } ``` ## Example ```bash theme={null} curl -X POST "https://api.scam.ai/api/defence/ai-image-detection/detect-file" \ -H "x-api-key: YOUR_API_KEY" \ -F "file=@/path/to/your/image.png" ``` # QR Code Detection Source: https://docu.scam.ai/api-reference/endpoint/qr-code-detection Detect malicious QR codes and analyze embedded URLs. ## Parameters Image containing QR code (JPEG, PNG) - Max 10MB Your API key ## Response ```json theme={null} { "qr_detected": true, "embedded_url": "https://malicious-site.com", "is_malicious": true, "confidence_score": 0.89, "processing_time_ms": 234 } ``` ## Example ```bash theme={null} curl -X POST "https://api.scam.ai/qr-code-detection" \ -H "x-api-key: YOUR_API_KEY" \ -F "file=@/path/to/qr-code-image.png" ``` # URL Detection Source: https://docu.scam.ai/api-reference/endpoint/url-detection Detect malicious URLs, phishing attempts, and scam websites. ## Parameters URL to analyze for threats Your API key ## Response ```json theme={null} { "is_malicious": true, "threat_type": "phishing", "confidence_score": 0.94, "processing_time_ms": 156 } ``` ## Example ```bash theme={null} curl -X POST "https://api.scam.ai/url-detection" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://suspicious-website.com"}' ``` # Voice Clone Detection Source: https://docu.scam.ai/api-reference/endpoint/voice-clone-detection Detect AI-generated voice clones and synthetic speech in audio files. ## Parameters Audio file (WAV, MP3, FLAC, OGG) - Max 20MB Your API key ## Response ```json theme={null} { "is_voice_clone": false, "confidence_score": 0.23, "processing_time_ms": 890 } ``` ## Example ```bash theme={null} curl -X POST "https://api.scam.ai/voice-clone-detection" \ -H "x-api-key: YOUR_API_KEY" \ -F "file=@/path/to/your/audio.wav" ``` # Introduction Source: https://docu.scam.ai/introduction Scam AI - AI-powered detection for deepfakes, voice clones, GenAI content, and malicious URLs/QR codes. # Scam AI Documentation Scam AI provides AI-powered detection APIs for four core threat categories: **Deepfakes**, **Voice Clones**, **GenAI Content**, and **URL/QR Code** threats. ## What is Scam AI? **Scam AI** detects and prevents AI-driven fraud through specialized APIs for: * **Deepfakes** – Detect face-swapped videos and images * **Voice Clones** – Identify synthetic audio impersonation * **GenAI Content** – Spot AI-generated images and media * **URL/QR Codes** – Detect malicious links and phishing attempts ## Detection Capabilities Detect face-swapped videos and images Identify synthetic audio impersonation Spot AI-generated images and media Detect malicious links and phishing attempts ## Authentication All API requests require an API key in the header: ```bash theme={null} x-api-key: YOUR_API_KEY ``` Contact us at [dev@scam.ai](mailto:dev@scam.ai) to get your API key. ## API Reference Explore complete API documentation with examples