Get a model
GET
/v1/models/{model_owner}/{model_name}
curl -s \
-H "Authorization: Token <paste-your-token-here>" \
https://api.replicate.com/v1/models/replicate/hello-world
{
"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": {...},
}
cover_image_url
string is an HTTPS URL for an image file. This can be:default_example
object is a prediction created with this model.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
Path Params
model_owner
string
required
model_name
string
required
Responses
Modified at 2023-12-22 03:33:22