Video
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.
Authorizations
Query Parameters
Array of analysis types to exclude. Valid values are ai_video, ai_music, ai_voice, deepfake_video.
ai_video, ai_music, ai_voice, deepfake_video Array of analysis types to include. Valid values are ai_video, ai_music, ai_voice, deepfake_video. Note: deepfake_video is OFF by default and must be explicitly included using this parameter if you want deepfake detection.
ai_video, ai_music, ai_voice, deepfake_video An optional external identifier for tracking this video analysis.
Body
The video file to analyze. Must be a valid video file.
Supported formats include:
- 3gp
- avi
- flv
- gif
- m4v
- mkv
- mov
- mp4
- mpeg
- mpg
- mxf
- ts
- vob
- webm
- wmv
Maximum file size: 200MB
For videos with multiple audio or video tracks, only the first track of each type will be analyzed. Videos without audio are allowed - in this case, no audio analysis will be performed.