Detect Video
Detect AI-generated content in videos using Bittensor Subnet 34
Analyzes up to 144 frames of a video to determine if it contains AI-generated content. The video can be provided either as a file upload (multipart/form-data) or as a URL. Supports direct downloads from limited platforms including X and Facebook using yt-dlp. Provides an overall prediction and frame-by-frame analysis results. Uses models from Bittensor Subnet 34.
The API performs both preprocessing and AI detection in a single call. For preprocessing only without detection, use the preprocess-video endpoint instead.
API key authentication for service-to-service communication.
Include your API key in the Authorization header:
Authorization: Bearer your-api-key
x-bitmind-application: oracle-api
Video file form data or direct URL.
- Supported formats: mp4, mov, avi.
- For file upload: Use multipart/form-data with 'video' field
- For URL: Use JSON request with 'video' field containing URL
Starting point in seconds for extraction (default 0)
0Ending point in seconds for extraction (default entire video)
0Frames per second to use for analysis (default 30)
30Whether to include detailed analysis in the response
falseSource identifier for tracking (e.g., URL of the content)
Successful response
Bad request - Invalid input data
Unauthorized - Invalid or missing authentication
Rate limit exceeded
POST /oracle/v1/34/detect-video HTTP/1.1
Host: api.bitmind.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 46
{
"video": "<binary file>",
"rich": true,
"fps": 30
}{
"isAI": false,
"confidence": 0.001132372178555594,
"similarity": 0.10585000000000003,
"processingTime": 2.456,
"fqdn": "sn34"
}Last updated