惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
Jina AI
Jina AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
美团技术团队
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
有赞技术团队
有赞技术团队
GbyAI
GbyAI
宝玉的分享
宝玉的分享
腾讯CDC
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
月光博客
月光博客
MyScale Blog
MyScale Blog
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog

Replicate's blog

How to make remarkable videos with Seedance 2.0 – Replicate blog How to prompt Seedream 5.0 – Replicate blog Recraft V4: image generation with design taste – Replicate blog Run Isaac 0.1 on Replicate – Replicate blog Run FLUX.2 on Replicate – Replicate blog How to prompt Nano Banana Pro – Replicate blog Retro Diffusion's pixel art models are now on Replicate – Replicate blog Replicate is joining Cloudflare – Replicate blog Extract text from documents and images with Datalab Marker and OCR – Replicate blog How to prompt Veo 3.1 – Replicate blog IBM's Granite 4.0 is now on Replicate – Replicate blog Which image editing model should I use? – Replicate blog Torch compile caching for inference speed – Replicate blog Announcing Replicate's remote MCP server – Replicate blog How to prompt Veo 3 with images – Replicate blog Open source video is back – Replicate blog Generate consistent characters – Replicate blog Bria is now on Replicate – Replicate blog How we optimized FLUX.1 Kontext [dev] – Replicate blog Compare AI video models – Replicate blog The FLUX.1 Kontext hackathon – Replicate blog How to prompt Veo 3 for the best results – Replicate blog Get the most from Google Veo 3 – Replicate blog FLUX.1 Kontext from the community – Replicate blog Use FLUX.1 Kontext to edit images with words – Replicate blog Generate incredible images with Google's Imagen 4 – Replicate blog Run OpenAI’s latest models on Replicate – Replicate blog NVIDIA H100 GPUs are here – Replicate blog Run 30,000+ LoRAs on Hugging Face with Replicate – Replicate blog Ideogram 3.0 on Replicate – Replicate blog
Introducing our new search API – Replicate blog
2025-09-17 · via Replicate's blog

Posted September 16, 2025 by

We’ve added a new search API to help you find the best models. This API is currently in beta, but it’s already available to all users in our TypeScript and Python SDKs, and our MCP servers.

Here’s an example of how to use it with cURL:

Here’s a video of the search API in action using our MCP server with Claude Desktop:

The new search API returns results for models, collections, and documentation pages that match your query.

For model results, the API returns a model object with all the data you would normally expect like url, description, and run_count, but it also returns a new metadata object for each model that includes properties like a longer and more detailed generated_description, tags, and more.

Here’s an example using cURL and jq to get specific data for Google’s 🍌 Nano Banana 🍌 model:

And here’s the response:

Search with MCP

The new search API is already supported in our remote and local MCP servers, so you can discover and explore the best models and collections using your favorite tools like Claude Desktop, Claude Code, VS Code, Cursor, OpenAI Codex CLI, and Google’s Gemini CLI.

Our MCP server does sophisticated API response filtering to keep your LLM’s context window from getting overloaded by large response objects. It dynamically constructs a jq filter query based on each API operation’s response schema, and only returns the most relevant parts of the response. Here’s an example of the kind of filter query it uses for the search API:

To get started using Replicate’s MCP server, read our MCP announcement blog post or head over to mcp.replicate.com.

TypeScript SDK support

The new search API is available in the latest alpha release of our TypeScript SDK as replicate.search().

To use it, install the latest alpha from npm:

Then use it like this:

The TypeScript SDK also includes type hints for the search API, so your editor can guide you through the writing the method signature and handling the response schema:

TypeScript SDK type hints

Python SDK support

The new search API is available in the latest alpha release of our Python SDK as replicate.search().

To use it, install the latest pre-release from PyPI:

Then, you can use it like this:

🐍 Check out the Google Colab notebook for a Python example you can run right in your browser.

API documentation

You can find docs for the new search API on our HTTP API reference page at replicate.com/docs/reference/http#search

If you prefer structured reference documentation, you can also find the docs in our OpenAPI schema at api.replicate.com/openapi.json

Backwards compatibility

The old QUERY /v1/models search endpoint is still active and will continue to work, but we recommend using the new GET /v1/search endpoint instead for better search results.

You can still use the old search endpoint via the HTTP API directly, or with our Python or TypeScript SDKs.

The old search endpoint is now disabled in our MCP server, in favor of the new search endpoint.

Feedback

This new search API is still in beta, so we’d love to hear your feedback.

If you encounter any issues or unexpected search results, please let us know.