v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-15361989.5 KB

Search models, collections, and docs (beta)

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 model
  • tags: An array of tags for the model
  • score: 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.

get/search

Query parameters

querystring required
Example:nano banana

The search query string

limitinteger
Example:10

Maximum number of model results to return (1-50, defaults to 20)

Response

Success

querystring required

The search term that was evaluated