Client
TopLevel
Methods
get/search
Search for public models, collections, and docs using a text query.
For models, the response includes all model data, plus a new metadata
object with the following fields:
generated_description
: A longer and more detailed AI-generated description of the modeltags
: An array of tags for the modelscore
: A score for the model's relevance to the search query
Example cURL request:
curl -s \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
"https://api.replicate.com/v1/search?query=nano+banana"
Note: This search API is currently in beta and may change in future versions.
Parameters
query:
query: string
The search query string
limit?: number
(maximum: 50, minimum: 1)Maximum number of model results to return (1-50, defaults to 20)
Returns
SearchResponse{
Array of collections that match the search query
Array of models that match the search query, each containing model data and extra metadata
Array of Replicate documentation pages that match the search query
query: string
The search term that was evaluated
Request example
200Example