Text to Image Search
Search a dataset with a natural-language query and get back the images that best match it. Use this when you want to find visuals by describing what’s in them.For example, search for a sunset at the beach or Jalen Hurts holding the Vince Lombardi trophy. Pair the text query with exact-match metadata filters to narrow results further.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
dataset_id
The unique identifier for the dataset
text_query
The text query to search for
offset
Starting index to return
limit
Max number of items to return
metadata_filters
List of metadata filters to apply to the search
moderation_score_type
Type of moderation scores to return when moderation is enabled.probability returns scores 0-1 using BGE Reranker model.level returns scores 0-5 using OpenAI model.This does not enable/disable moderation - use skip_moderation for that.
negative_text
Optional text describing what to exclude from search results. Steers the query embedding away from this direction.
asset_type
The asset type to filter results by. If no asset type is selected the endpoint will search over images and videos
skip_moderation
Skip content moderation if enabled
Response
Successful Response
data
The paginated results
Errors
422
Unprocessable Entity Error
