Replicate · Example Payload

Replicate List Models Example

Example of listing public models available on Replicate.

Artificial IntelligenceMachine-LearningImage-GenerationLanguage ModelsModel Deployment

Replicate List Models Example is an example object payload from Replicate, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "List Public Models",
  "description": "Example of listing public models available on Replicate.",
  "request": {
    "method": "GET",
    "url": "https://api.replicate.com/v1/models",
    "headers": {
      "Authorization": "Bearer $REPLICATE_API_TOKEN"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "next": "https://api.replicate.com/v1/models?cursor=xyz",
      "previous": null,
      "results": [
        {
          "url": "https://replicate.com/stability-ai/sdxl",
          "owner": "stability-ai",
          "name": "sdxl",
          "description": "A text-to-image generative AI model that creates beautiful 1024x1024 images",
          "visibility": "public",
          "github_url": "https://github.com/Stability-AI/generative-models",
          "paper_url": "https://arxiv.org/abs/2307.01952",
          "license_url": "https://github.com/Stability-AI/generative-models/blob/main/model_licenses/LICENSE-SDXL1.0",
          "run_count": 100000,
          "cover_image_url": "https://tjzk.replicate.delivery/models_models_featured_image/abc123.jpeg",
          "featured": true,
          "tags": ["image-generation", "diffusion"],
          "latest_version": {
            "id": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
            "created_at": "2024-01-15T12:00:00.000Z",
            "cog_version": "0.9.0"
          }
        }
      ]
    }
  }
}