Make any-to-video search requests
Headers
Request
The type of media you wish to use. This parameter is required for media queries. For example, to perform an image-based search, set this parameter to image
.
The publicly accessible URL of the media file you wish to use. This parameter is required for media queries if query_media_file
is not provided.
The media you wish to use as a local file. This parameter is required for media queries if query_media_url
is not provided.
The text query to search for. This parameter is required for text queries. Note that the platform supports full natural language-based search.
Use this parameter to filter on the level of confidence that the results match your query.
Default: low
Combines multiple search options using or
or and
. Use and
to find segments matching all search options. Use or
to find segments matching any search option.
Default: or
.
The number of items to return on each page. When grouping by video, this parameter represents the number of videos per page. Otherwise, it represents the maximum number of video clips per page.
Max: 50
.
Specifies whether to include user-defined metadata in the search results.
Response
An array that contains your search results. For each match found, the model returns the following fields: