Detect custom events in videos using natural language prompts. The default analyzer uses Thinking mode, which matches the router behavior in the web app. Use Fast mode when you want speed-preferring analysis.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.
Prompt examples
| Parameter | Type | Description |
|---|---|---|
id(s) or folder | str | Sequence[str] | Video ID(s) or folder name (use one, not both) |
prompt | str | Event description or question to analyze (e.g., “detect green crosswalks”) |
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | str | "thinking" | Either "thinking" or "fast" |
scope | 'user' | 'org' | 'sample' | None | Folder lookup scope. Use the same scope used for folder creation/upload; use 'sample' for read-only demo/sample folders. Only applies when folder is provided. |
timeout | int | 2400 | Analysis timeout in seconds |
wait | bool | True | Wait for analysis to complete |
video_id, analysis_id, mode, status, summary, and events.
Batch prompt analysis returns batch_metadata with batch_id, batch_viewer_url, and mode, plus a results list of normalized per-video results.
Use client.visualize(batch) when you already have the SDK batch result. Add only_with_events=True to hide videos with zero detected events. Use client.visualize(batch_id) to hydrate and render a saved batch later.
Prompt analysis does not expose router overrides, model selection, overlay flags, reasoning traces, or Wizarding Trace artifacts. Put analysis requirements directly in the prompt.