Detect Video

Detect AI-generated content in videos using Bittensor Subnet 34

Detect AI-generated videos

post
/34/detect-video

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.

Authorizations
AuthorizationstringRequired

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
Body
videostring · binaryRequired

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
startTimenumber · floatOptional

Starting point in seconds for extraction (default 0)

Default: 0
endTimenumber · floatOptional

Ending point in seconds for extraction (default entire video)

Default: 0
fpsintegerOptional

Frames per second to use for analysis (default 30)

Default: 30
richbooleanOptional

Whether to include detailed analysis in the response

Default: false
sourcestringOptional

Source identifier for tracking (e.g., URL of the content)

Responses
200

Successful response

application/json
post
/34/detect-video
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