{
  "opencollection": "1.0.0",
  "info": {
    "name": "Replicate Accounts Models API",
    "version": "1.0.0-a1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Public Models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.replicate.com/v1/models"
          },
          "docs": "Get a paginated list of public models.\n\nExample cURL request:\n\n```console\ncurl -s \\\n  -H \"Authorization: Bearer $REPLICATE_API_TOKEN\" \\\n  https://api.replicate.com/v1/models\n```\n\nThe response will be a paginated JSON array of model objects:\n\n```json\n{\n  \"next\": null,\n  \"previous\": null,\n  \"results\": [\n    {\n      \"url\": \"https://replicate.com/acme/hello-world\",\n      \"owner\": \"acme\",\n      \"name\": \"hello-world\",\n      \"description\": \"A tiny model that says hello\",\n      \"visibility\": \"public\",\n "
        },
        {
          "info": {
            "name": "Create a Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.replicate.com/v1/models",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a model.\n\nExample cURL request:\n\n```console\ncurl -s -X POST \\\n  -H \"Authorization: Bearer $REPLICATE_API_TOKEN\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"owner\": \"alice\", \"name\": \"my-model\", \"description\": \"An example model\", \"visibility\": \"public\", \"hardware\": \"cpu\"}' \\\n  https://api.replicate.com/v1/models\n```\n\nThe response will be a model object in the following format:\n\n```json\n{\n  \"url\": \"https://replicate.com/alice/my-model\",\n  \"owner\": \"alice\",\n  \"name\": \"my-model\",\n  \"desc"
        }
      ]
    }
  ],
  "bundled": true
}