Skip to main content

ProcessVideo

Request-body reference for POST /process_video.

Example

{
"name": "warehouse-shift-1",
"input_video_path": "/input/warehouse.mp4",
"rotate_video": 0,
"output_video_path": "/output/warehouse_out.mp4",
"frame_rate": 5,
"index_for_search": false,
"search_index_types": [],
"regions": [],
"lines": [],
"real_time": false,
"video_start_interval": 0,
"output_all_frames": true,
"effects": { "show_bounding_boxes": true },
"recording": { "enabled": false },
"video_start_local_time": "2025-03-17T22:27:33Z",
"start_seconds": 0,
"end_seconds": 30,
"mode": "KNOWN_OBJECT_DETECTION",
"base_image_path": null,
"plugins": {},
"validation": { "triggers": [] }
}

Fields

FieldTypeDescription
namestringJob name.
input_video_pathstringInput video path.
rotate_videonumberRotation in degrees.
output_video_pathstringOutput video path.
frame_ratenumberProcessing frame rate.
index_for_searchbooleanWhether to index results for archive search.
search_index_typesstring[]Search index types to build.
regionsRegion[]Detection regions.
linesLine[]Optional named lines.
real_timebooleanWhether to process in real time.
video_start_intervalnumberInterval offset used during processing.
output_all_framesbooleanWhether to write all frames to the output.
effectsEffectsOverlay settings.
recordingRecordingRecording settings.
video_start_local_timestringVideo start time in ISO format.
start_secondsnumberTrim start offset in seconds.
end_secondsnumberTrim end offset in seconds.
modestringProcessing mode.
base_image_pathstringOptional base image path.
pluginsobjectOptional plugin configuration.
validationValidationOptional validation settings.