1. end-points
  • Semihuman API Documentation
  • end-points
    • Humanize text
      POST
    • Check AI content
      POST
    • AI Video Detection
      POST
  1. end-points

AI Video Detection

POST
https://api.semihuman.ai/ai-video-detection
Humanizer
Check if video is AI-generated or not

Request

Header Params
x-humanizer-api-key
string 
required
Humanizer API Key
Body Params multipart/form-data
file
file 
required
The MP4 video file to analyze

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.semihuman.ai/ai-video-detection' \
--header 'x-humanizer-api-key;' \
--form 'file=@""'

Responses

🟢200OK
application/json
Video detection result.
Body
message
string 
required
Message summarizing the detection result
Example:
Detection complete
isHuman
integer 
required
Indicates whether the video is likely human (1) or AI-generated (0)
Example:
0
fakePercentage
number 
required
Percentage of frames detected as fake
Example:
100
totalFrames
integer 
required
Total number of frames analyzed in the video
Example:
8
fakeFrames
integer 
required
Number of frames identified as fake
Example:
8
realFrames
integer 
required
Number of frames identified as real
Example:
0
resultMessage
string 
required
Detailed message summarizing the detection outcome
Example:
The video is likely manipulated (100% fake frames)
framesClassification
array [object {3}] 
required
Detailed classification results for each frame
frame
string 
required
Frame filename
Example:
frame_0000.jpg
predicted_label
string 
required
Prediction label for the frame
Example:
fake
probabilities
array [array] 
required
Probabilities for each class (e.g., [real, fake])
Example
{
    "message": "Detection complete",
    "isHuman": 0,
    "fakePercentage": 100,
    "totalFrames": 8,
    "fakeFrames": 8,
    "realFrames": 0,
    "resultMessage": "The video is likely manipulated (100% fake frames)",
    "framesClassification": [
        {
            "frame": "frame_0000.jpg",
            "predicted_label": "fake",
            "probabilities": [
                [
                    0
                ]
            ]
        }
    ]
}
🟠400Bad Request
🔴500Server Error
Previous
Check AI content
Built with