Replicate API
    Replicate API
    • List collections of models
      GET
    • Get a collection of models
      GET
    • List available hardware for models
      GET
    • List public models
      GET
    • Create a model
      POST
    • Get a model
      GET
    • List model versions
      GET
    • Delete a model version
      DELETE
    • Get a model version
      GET
    • Create a training
      POST
    • List predictions
      GET
    • Create a prediction
      POST
    • Get a prediction
      GET
    • Cancel a prediction
      POST
    • List trainings
      GET
    • Get a training
      GET
    • Cancel a training
      POST

      Get a model

      GET
      /v1/models/{model_owner}/{model_name}
      Example cURL request:
      curl -s \
        -H "Authorization: Token <paste-your-token-here>" \
        https://api.replicate.com/v1/models/replicate/hello-world
      The response will be a model object in the following format:
      {
        "url": "https://replicate.com/replicate/hello-world",
        "owner": "replicate",
        "name": "hello-world",
        "description": "A tiny model that says hello",
        "visibility": "public",
        "github_url": "https://github.com/replicate/cog-examples",
        "paper_url": null,
        "license_url": null,
        "run_count": 5681081,
        "cover_image_url": "...",
        "default_example": {...},
        "latest_version": {...},
      }
      The cover_image_url string is an HTTPS URL for an image file. This can be:
      An image uploaded by the model author.
      The output file of the example prediction, if the model author has not set a cover image.
      The input file of the example prediction, if the model author has not set a cover image and the example prediction has no output file.
      A generic fallback image.
      The default_example object is a prediction created with this model.
      The latest_version object is the model's most recently pushed version.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.replicate.com/v1/models//'
      Response Response Example
      {}

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      Path Params
      model_owner
      string 
      required
      The name of the user or organization that owns the model.
      model_name
      string 
      required
      The name of the model.

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Previous
      Create a model
      Next
      List model versions
      Built with