Replicate Collections API

The Collections API from Replicate — 2 operation(s) for collections.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /collections List AI model collections · List Collections of Models #
Ask an LLM
“Which collections of AI models are available to browse?”
“Can I see every model collection on Replicate?”
Tell an agent
List all model collections.
Show every AI model collection with its slug.
GET /collections/{collection_slug} Get the models in a collection · Get a Collection of Models #
Ask an LLM
“What models are in a particular collection?”
“Can I see which models belong to one collection?”
Tell an agent
Get the models in collection {collection_slug}.
Show every model in the {collection_slug} collection.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/replicate:replicate-collections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

replicate-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: team@replicate.com
  description: AI can do extraordinary things, but its still too hard to use. We don't believe AI is inherently hard. We just don't have the right tools and abstractions yet. Were building tools so all software engineers can use AI as if it were normal software. You should be able to import an image generator the same way you import an npm package. You should be able to customize a model as easily as you can fork something on GitHub.
  termsOfService: https://replicate.com/terms
  title: Replicate Collections API
  version: 1.0.0-a1
servers:
- url: https://api.replicate.com/v1
security:
- bearerAuth: []
tags:
- name: Collections
paths:
  /collections:
    get:
      description: 'Example cURL request:


        ```console

        curl -s \

        -H "Authorization: Bearer $REPLICATE_API_TOKEN" \

        https://api.replicate.com/v1/collections

        ```


        The response will be a paginated JSON list of collection objects:


        ```json

        {

        "next": "null",

        "previous": null,

        "results": [

        {

        "name": "Super resolution",

        "slug": "super-resolution",

        "description": "Upscaling models that create high-quality images from low-quality images."

        }

        ]

        }

        ```'
      operationId: collections.list
      responses:
        '200':
          description: Success
      summary: List Collections of Models
      tags:
      - Collections
  /collections/{collection_slug}:
    get:
      description: 'Example cURL request:


        ```console

        curl -s \

        -H "Authorization: Bearer $REPLICATE_API_TOKEN" \

        https://api.replicate.com/v1/collections/super-resolution

        ```


        The response will be a collection object with a nested list of the models in that collection:


        ```json

        {

        "name": "Super resolution",

        "slug": "super-resolution",

        "description": "Upscaling models that create high-quality images from low-quality images.",

        "models": [...]

        }

        ```'
      operationId: collections.get
      parameters:
      - description: 'The slug of the collection, like `super-resolution` or `image-restoration`. See [replicate.com/collections](https://replicate.com/collections).

          '
        in: path
        name: collection_slug
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get a Collection of Models
      tags:
      - Collections
components:
  securitySchemes:
    bearerAuth:
      bearerFormat: 'All API requests must include a valid API token in the `Authorization` request header. The token must be prefixed by "Bearer", followed by a space and the token value.

        Example: `Authorization: Bearer r8_Hw***********************************`

        Find your tokens at https://replicate.com/account/api-tokens

        '
      scheme: bearer
      type: http
externalDocs:
  description: Replicate HTTP API
  url: https://replicate.com/docs/reference/http