---
title: "Image"
method: POST
path: "/v2/image/sync"
tags: ["Reports by Modality"]
---

# Image

`POST /v2/image/sync`

Analyze an **image**.
This endpoint can run multiple reports on an image simultanously. By default, it runs `ai_generated`, `deepfake`, `nsfw`, and `quality` reports. You can select which reports to run by using the `only` and `excluding` parameters. Please note that `ai_generated` and `deepfake` reports both have their own costs.

**Limitations:**
- **Maximum file size:** 50MB
- **Supported formats:** jpg, jpeg, png, webp, heic, heif, tiff

## Query parameters

- `only` string[]
- `excluding` string[]
- `external_id` string, nullable

## Response `200`

Successful Response

- V2ImageReportResponse
  - `id` string, uuid, required — Unique identifier associated with the request.
  - `created_at` string, date-time — Date and time of request processing.
  - `report` object, required
    - `ai_generated` AIONReportScheme
      - `verdict` 'ai' | 'human' | 'unknown', required — The predicted class of the uploaded image. This is the most important field in the response. This field is more reliable than directly using the confidence score yourself, as the confidence score may drift over time for new models.
      - `ai` AIONPredictionBase, required
        - `is_detected` boolean, required — Indicates whether the particular class was detected.
        - `confidence` number, required — Confidence score for the particular class.
      - `human` AIONPredictionBase, required
        - `is_detected` boolean, required — Indicates whether the particular class was detected.
        - `confidence` number, required — Confidence score for the particular class.
      - `generator` AIONGeneratorScheme, required — A map of generator names to their prediction base.Please note that - This list is not exhaustive. We have trained on more generators than appear here. - We may add new generators at any time, so please make sure your integration allows for field addition without error.
        - `midjourney` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
        - `dall_e` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
        - `stable_diffusion` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
        - `this_person_does_not_exist` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
        - `adobe_firefly` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
        - `flux` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
        - `four_o` AIONPredictionBase, required
          - `is_detected` boolean, required — Indicates whether the particular class was detected.
          - `confidence` number, required — Confidence score for the particular class.
    - `deepfake` DeepFakeReportScheme
      - `is_detected` boolean, required
      - `confidence` number, required
      - `rois` RoisReportScheme[], required
        - `is_detected` boolean, required
        - `confidence` number, required
        - `bbox` BBoxScheme, required
          - `x1` integer, required
          - `y1` integer, required
          - `x2` integer, required
          - `y2` integer, required
    - `nsfw` NSFWReportScheme
      - `version` string
      - `is_detected` boolean, required — True if NSFW content found in the image. Please note that for us, the mere presence of a child is enough to trigger this flag. We offer a more granular NSFW report for clients who need it. Please contact us if this describes you.
    - `quality` QualityReportScheme
      - `is_detected` boolean, required — Indicates whether the image is of high quality. **Low quality (`false`) is not a asthetic judgement.** It merely means that there are artifacts present that indicate things like excessive compression or blurring which degrades the performance of other classifiers (e.g. ai image detection).
    - `reverse_search` ReverseSearchReportScheme
      - `was_found` boolean, required — Indicates whether matching images were found on the web
      - `matches` ReverseSearchMatch[], required — List of matching images found on the web
        - `domain` string, required — The domain where the matching image was found
        - `image_url` string, required — URL of the matching image
        - `width` integer, required — Width of the matching image in pixels
        - `height` integer, required — Height of the matching image in pixels
        - `earliest_crawl_date` string, required — The earliest date this image was crawled (YYYY-MM-DD format)
        - `earliest_backlink` string, required — URL of the earliest page where this image was found
    - `meta` ImageMetadata, required
      - `width` integer, nullable, required
      - `height` integer, nullable, required
      - `format` string, nullable, required
      - `size_bytes` integer, nullable, required
      - `md5` string, nullable, required
      - `processing_status` object, required
  - `external_id` string, nullable — The external identifier provided in the request, if any.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/aiornot/apis/aiornot-api.md) · [All operations](https://skmtc.dev/aiornot/apis/aiornot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aiornot/aiornot-api/revisions/5e511404c8f9/schema)
