# Sightengine API

Category: [Speech, image and audio](https://free-web-services.com/web-services/ai/media/)  
Page: https://free-web-services.com/web-services/ai/media/sightengine-api.html  
Documentation: https://sightengine.com/docs/ai-generated-image-detection

The Sightengine API analyses images and videos, for example to check whether a picture was made by an AI generator or to filter unwanted user uploads before they appear on a site. Send a GET request with an image URL and the models to run, or POST an upload, and get back JSON scores. Authentication uses the api_user and api_secret parameters. Free plan with 2,000 operations per month (at most 500 per day), covering basic content moderation and AI-generated image detection.

- API key: Needed, free
- Pricing: Free plan with 2,000 operations per month (at most 500 per day), covering basic content moderation and AI-generated image detection.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: sightengine.com

Example request:

```sh
curl 'https://api.sightengine.com/1.0/check.json?url=https://sightengine.com/assets/img/examples/example-prop-c2.jpg&models=genai&api_user=YOUR_API_USER&api_secret=YOUR_API_KEY'
```

Replace YOUR_API_USER and YOUR_API_KEY with your own values from your account. The JavaScript works in a web page as well as in Node.js 18 or newer.

