Skip to main content
POST
/
api
/
replicate
/
models
/
examples
/replicate/models/examples
curl --request POST \
  --url https://api.anysite.io/api/replicate/models/examples \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "model": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "ReplicateExample",
    "status": "<string>",
    "input": {},
    "output": "<unknown>",
    "error": "<string>",
    "created_at": 123,
    "completed_at": 123,
    "predict_time": 123,
    "created_by": "<string>",
    "version_id": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
model
string
required

Model identifier ('owner/name') or full model URL

Minimum string length: 1
Examples:

"black-forest-labs/flux-schnell"

"https://replicate.com/lucataco/sdxl"

count
integer
required

Max number of examples

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:ReplicateExample
status
string | null
input
object
output
any
error
string | null
created_at
integer | null
completed_at
integer | null
predict_time
number | null
created_by
string | null
version_id
string | null