Search for a video using text or media query
POST /search
Request Body required
Section titled “Request Body required ”object
Specifies the input modality for the search query: text, image, video, or audio. Supported audio formats: WAV (uncompressed), MP3 (lossy), FLAC (lossless).
Text query used when query_type is set to “text”.
URL of the media file to use for search when using image, video, or audio queries.
Upload a media file (image, video, or audio) for search.
Specifies the semantic modality of the query.
- “visual-text”: Search based on visual captions or scene descriptions.
- “audio”: Search based on audio features or speech.
Optional JSON string to filter search results.
Example
{ "scope": [ "video", "clip" ], "modality": [ "visual-text", "audio" ]}
Minimum similarity threshold (0–1) required to include a result in the response.
Maximum number of results to return per page.
Responses
Section titled “ Responses ”Video search results have been successfully returned.
object
object
Example
1197
Example
54
Example
60
Example
0.95
Represents a video stored in the Kubrick video library, including its metadata and accessible URL. Videos can be searched, retrieved, and linked to processing tasks.
object
Example
14
Example
kubrick-video-library-09885bf7f493aa87
Example
uploads/34a23d0b-3c70-4bda-b068-038b7e6944e1/example.mp4
Example
example.mp4
Example
155.82912
Example
2025-08-05T20:00:58.336478
Example
2025-08-05T20:00:58.336478
Example
https://kubrick-video-library.s3.ap-southeast-2.amazonaws.com/uploads/abc123/example.mp4
Pagination information.
object
Example
10
Example
10
Bad Request — Invalid search parameters or file upload.
Error response object.
object
object
Example
INVALID_REQUEST
Example
Missing query parameters
Internal Server Error — Search request failed.
Error response object.
object
Example
Internal Server Error