# Sightengine API reference

> Sightengine analyzes images, video, audio and text with named models. For an investigator the useful ones are the AI-generated image detector (genai, which scores how likely an image is AI-made and per generator) and its siblings such as deepfake detection, plus the moderation, face and OCR models…

Source: https://osinttools.io/apis/sightengine/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/sightengine/

- Base URL: https://api.sightengine.com/1.0
- Authentication: API key in the `api_secret` query parameter. Get a key: https://sightengine.com/ Also send your API user id as the api_user parameter, in the query string or form data
- Free tier: yes
- Rate limits: Each account has a maximum number of requests and operations per second; above it the API answers HTTP 429 (type usage_limit, code 33). The exact figures are not given on the reference page.
- Vendor docs: https://sightengine.com/docs/reference

## Overview

Sightengine analyzes images, video, audio and text with named models. For an investigator the useful ones are the AI-generated image detector (`genai`, which scores how likely an image is AI-made and per generator) and its siblings such as deepfake detection, plus the moderation, face and OCR models that share the same endpoint. This reference documents the image check by URL; file uploads (multipart), video, audio, text and workflow endpoints are described in the docs.

All calls go to `https://api.sightengine.com/1.0/`. Each request carries the credentials as the `api_user` and `api_secret` parameters (query string or form data), the media (a public `url` or an uploaded `media` file) and a comma-separated `models` list. The URL must be publicly reachable and is fetched by Sightengine, and redirects are not followed.

Responses are JSON with `status`, `request` (id, timestamp, operations used) and one object per model. Usage is counted in operations. Image limits stated in the docs: 12 MB per file, 6 images per request.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Request or media error (argument_error, media_error); read error.message |
| 401 | credentials_error, code 1: incorrect API user or API secret |
| 429 | usage_limit, code 33: request rate exceeded |

## Image analysis

### Analyze an image by public URL with one or more models, such as AI-generated image detection.

`GET /check.json`

- Takes: Image, URL
- Footprint: active (contacts the target)
- Cost: Operations; the count is returned in request.operations

Sends the image URL and a list of models and returns one result object per model. With `models=genai` the `type` object holds `ai_generated`, a 0 to 1 score, and `ai_generators` with a score per generator. Sightengine downloads the URL itself, so it must be public. Uploading a file instead is a multipart POST to the same path and is not covered here.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | Public http(s) URL of the image to analyze, URL-encoded, no redirects Example: https://example.com/photo.jpg |
| `models` | query | string | yes | Comma-separated model names, for example genai or nudity-2.1,gore-2.0 Example: genai |
| `api_user` | query | string | yes | Your API user id Example: YOUR_API_USER |

Response fields:

- `status` (string): success or failure
- `request.id` (string): Unique request id
- `request.timestamp` (number): Unix timestamp of the request
- `request.operations` (integer): Operations used by the request
- `type.ai_generated` (number): genai model: probability that the image is AI-generated, 0 to 1
- `type.ai_generators` (object): genai model: score per generator (for example midjourney, flux, stable_diffusion, other)
- `media.id` (string): Id of the analyzed media
- `media.uri` (string): The URL or file name analyzed

```bash
curl 'https://api.sightengine.com/1.0/check.json?url=https%3A%2F%2Fexample.com%2Fphoto.jpg&models=genai&api_user=YOUR_API_USER&api_secret=YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": "success",
  "request": {
    "id": "req_ExampleRequestId",
    "timestamp": 1700000000.123,
    "operations": 1
  },
  "type": {
    "ai_generated": 0.02,
    "ai_generators": {
      "midjourney": 0.01,
      "flux": 0,
      "stable_diffusion": 0.01,
      "other": 0
    }
  },
  "media": {
    "id": "med_ExampleMediaId",
    "uri": "https://example.com/photo.jpg"
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
