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]]}]}