search
Make any-to-video search requests
Changed onUse this endpoint to search for relevant matches in an index using text, media, or a combination of both as your query.
Text queries:
- Use the query_text parameter to specify your query.
Media queries:
- Set the query_media_type parameter to the corresponding media type (example: image).
- Provide up to 10 images by specifying the following parameters multiple times:
- query_media_url: Publicly accessible URL of your media file.
- query_media_file: Local media file. Composed text and media queries:
- Use the query_text parameter for your text query.
- Set query_media_type to image.
- Provide up to 10 images by specifying the query_media_url and query_media_file parameters multiple times.
Entity search (beta):
- To find a specific person in your videos, enclose the unique identifier of the entity you want to find in the query_text parameter.
post/search
Request
- Base URL: https://api.twelvelabs.io/v1.3
- URL: https://api.twelvelabs.io/v1.3/search
- Auth: API key in header x-api-key
Request body multipart/form-data
Response
Successfully performed a search request.
Changes
- warning
deleted the
headerrequest parameterx-api-key - info
the endpoint scheme security
x-api-keywas added to the API
- warning
- info
api operation id
createremoved and replaced withsearch_create
- info