Detector24
Violence Detection
VideoStandard Moderation

Violence Detection

Detect violence levels in videos using AI vision analysis

Accuracy
91%
Avg. Speed
10.0s
Per Request
$0.0300
API Name
vlm-video-violence-detection

API Reference

Version
2601
Jan 3, 2026
Avg. Processing
10.0s
Per Request
$0.03
Required Plan
trial

Input Parameters

Vision Language Model for image/video understanding with reasoning

media_typestring

Type of media being sent: 'image' or 'video'. Auto-detected if not specified.

Example:
image
image_urlstring

URL of image to analyze

Example:
https://example.com/image.jpg
base64_imagestring

Base64-encoded image data

video_urlstring

URL of video to analyze

Example:
https://example.com/video.mp4
base64_videostring

Base64-encoded video data

Response Fields

Structured Violence Detection response

responseobject

Structured response from the model

Object Properties:
eventsarray
violencestring
Possible values:
severe_violencelight_violenceno_violence
thinkingstring

Chain-of-thought reasoning from the model (may be empty)

Complete Example

Request

{
  "model": "vlm-video-violence-detection",
  "image_url": "https://example.com/image.jpg"
}

Response

{
  "inference_id": "inf_abc123def456",
  "model_id": "vlm_video_violence_detection",
  "model_name": "Violence Detection",
  "moderation_type": "video",
  "status": "completed",
  "result": {
    "response": {
      "events": null,
      "violence": "severe_violence"
    },
    "thinking": ""
  }
}

Additional Information

Rate Limiting
If we throttle your request, you will receive a 429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.
Supported Formats
mp4, mov, avi, webm, mkv
Maximum File Size
100MB
Tags:violencesafetyvideovlmai-analysis

Ready to get started?

Integrate Violence Detection into your application today with our easy-to-use API.