Prediction
Image classification
Run inference on classification models hosted on Epigos AI.
Once your models are deployed on the Epigos AI platform, they come with a readily accessible REST API.
POST
/
predict
/
classify
/
{model_id}
/
Authorizations
X-API-Key
string
headerrequiredYour API key (obtained via your workspace API settings page)
Path Parameters
model_id
string
requiredThe unique ID of your model deployed on Epigos AI. You can find it in the web dashboard by viewing the model details.
Body
application/json
image
string
requiredImage path to run predictions on. It can be base64 encoded string or URL to the image.
confidence
number
The confidence threshold used to filter out predictions
Response
200 - application/json
category
string
requiredPredicted category of the image
confidence
number
requiredhighest predicted confidence score
predictions
object[]
collection of all predicted classes and their associated confidence values for the prediction
Was this page helpful?