Detect custom events in videos using natural language descriptions. Perfect for finding specific scenarios like “green crosswalk” or “yellow taxi”. Works for all video lengths, including long videos, with fast results.Documentation Index
Fetch the complete documentation index at: https://docs.nomadicml.com/llms.txt
Use this file to discover all available pages before exploring further.
Ask examples
| Parameter | Type | Description |
|---|---|---|
id(s) or folder | str | Sequence[str] | Video ID(s) or folder name (use one, not both) |
analysis_type | AnalysisType | Must be AnalysisType.ASK |
custom_event | str | Event description to detect (e.g., “green crosswalk”) |
| Parameter | Type | Default | Description |
|---|---|---|---|
custom_category | CustomCategory | str | "driving" | Optional context to steer the answer |
model_id | str | "Nomadic-VL-XLarge" | AI model to use |
timeout | int | 2400 | Analysis timeout in seconds |
wait_for_completion | bool | True | Wait for analysis to complete |
is_thumbnail | bool | False | Generate annotated bounding box thumbnails |
return_subset | bool | False | Return subset of results |
use_enhanced_motion_analysis | bool | False | Generates enhanced motion caption of events |
confidence | str | low | confidence level for event prediction, either set to low or high |
overlay_mode | OverlayMode | str | None | Select overlay extraction mode: OverlayMode.TIMESTAMPS, OverlayMode.GPS, or OverlayMode.CUSTOM (one at a time) |
CustomCategory.DRIVINGCustomCategory.ROBOTICSCustomCategory.AERIALCustomCategory.SECURITYCustomCategory.ENVIRONMENT
OverlayMode.TIMESTAMPSOverlayMode.GPSOverlayMode.CUSTOM
About Overlay Modes:Overlay modes allow you to extract telemetry data from on-screen overlays in your videos. Choose the mode based on your overlay type:
-
TIMESTAMPSandGPS: Use these modes when your video has unstructured overlays visible on screen (like dashcam timestamps or GPS coordinates). Our models will automatically detect and extract these values from the visual overlay text. -
CUSTOM: Use this mode when you’ve uploaded structured metadata JSON (per the spec) describing your custom overlay fields. This mode extracts the specific fields you’ve defined like speed, altitude, or other telemetry values.
video_id, analysis_id, mode, status, summary, and events.
- If
is_thumbnail=True, each event includes anannotated_thumbnail_url. - If
overlay_modeis specified and the video was uploaded with metadata, each event includes anoverlayfield with extracted telemetry data as{field_name: {"start": value, "end": value}}pairs. - Overlay values are only surfaced through the
overlayfield; the SDK no longer returns duplicateframe_*_startorframe_*_endkeys at the root level.