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

# Video

`POST /v2/video/sync`

Analyze a **video file** to determine if it contains AI-generated content.

This endpoint analyzes both the video and audio components of the file, providing separate confidence scores for AI-generated video, voice, and music. It can also optionally detect deepfake video content when explicitly requested.

**Caveats**:
* This endpoint can take up to two minutes for longer video files or if our backend is spinning up additional processing nodes. Please set a 120 second timeout in your client.
* This endpoint is synchronous and will only analyze a portion of the content for longer duration videos. The response includes the duration tested. For videos longer than 30 seconds, we recommend breaking them into 30-second segments on the client side for complete analysis.
* Due to a limitation in our document provider, the playground only supports small files of up to 10MB. This limit does not apply when using the API directly.

## Query parameters

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

## Response `200`

Successful Response

- VideoReportResponse
  - `id` string, uuid, required
  - `external_id` string, nullable — The external identifier provided in the request, if any.
  - `created_at` string, date-time
  - `report` ShareVideoReport, required
    - `ai_video` AIONPredictionBase, required
      - `is_detected` boolean, required — Indicates whether the particular class was detected.
      - `confidence` number, required — Confidence score for the particular class.
    - `ai_voice` AIONPredictionBase, required
      - `is_detected` boolean, required — Indicates whether the particular class was detected.
      - `confidence` number, required — Confidence score for the particular class.
    - `ai_music` AIONPredictionBase, required
      - `is_detected` boolean, required — Indicates whether the particular class was detected.
      - `confidence` number, required — Confidence score for the particular class.
    - `deepfake_video` DeepfakeVideoReportScheme
      - `is_detected` boolean, required — Whether deepfake video content was detected
      - `confidence` number, required — Confidence score for deepfake detection
      - `no_faces_found` boolean, required — Indicates whether no faces were found in the video
    - `meta` object, required
      - `duration` integer, required — Duration of video processed.
      - `total_bytes` integer, required — Total size of the video file in bytes.
      - `md5` string, required — MD5 hash of the uploaded video file.
      - `audio` string, required — Should be 'processed' if successful. If unable to process audio, it will be 'error'.
      - `video` string, required — Should be 'processed' if successful. If unable to process video, it will be '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)
