v1

latestOpenAPI 3.1.02026-07-2662954.6 KB
Reports by Modality

Image

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
post/v2/image/sync

Query parameters

onlystring[]

Array of analysis types to include. Valid values are ai_generated, deepfake, nsfw, quality, reverse_search.

excludingstring[]

Array of analysis types to exclude. Valid values are ai_generated, deepfake, nsfw, quality, reverse_search.

external_idstring nullable

An optional external identifier for tracking this image analysis.

Response

Successful Response

idstring uuid required

Unique identifier associated with the request.

created_atstring date-time

Date and time of request processing.

external_idstring nullable

The external identifier provided in the request, if any.

Example response

{
  "report": {
    "ai_generated": {
      "ai": {
        "confidence": 0.95
      },
      "human": {
        "confidence": 0.95
      },
      "generator": {
        "midjourney": {
          "confidence": 0.95
        },
        "dall_e": {
          "confidence": 0.95
        },
        "stable_diffusion": {
          "confidence": 0.95
        },
        "this_person_does_not_exist": {
          "confidence": 0.95
        },
        "adobe_firefly": {
          "confidence": 0.95
        },
        "flux": {
          "confidence": 0.95
        },
        "four_o": {
          "confidence": 0.95
        }
      }
    },
    "deepfake": {
      "is_detected": true,
      "confidence": 0.95,
      "rois": [
        {
          "is_detected": true,
          "confidence": 0.95,
          "bbox": {
            "x1": 120,
            "y1": 85,
            "x2": 380,
            "y2": 295
          }
        }
      ]
    },
    "reverse_search": {
      "was_found": true,
      "matches": [
        {
          "domain": "cnet.com",
          "image_url": "https://img.tineye.com/result/59752e592ddca832cb36bf200135b4f30f6fadca2ea4acc7c63f8dd231463c72-43",
          "width": 196,
          "height": 147,
          "earliest_crawl_date": "2021-03-26",
          "earliest_backlink": "https://www.cnet.com/topics/internet-culture/2/"
        }
      ]
    },
    "meta": {
      "width": 640,
      "height": 480,
      "format": "jpeg",
      "size_bytes": 102400,
      "md5": "a1b2c3d4e5f6789012345678901234567",
      "processing_status": {
        "ai_generated": "processed",
        "deepfake": "processed",
        "nsfw": "processed",
        "quality": "processed"
      }
    }
  }
}