Skip to main content
POST
Image classification pipeline

Body

application/json

Request schema for image classification.

inputs
required

One or more images to classify (URL, base64, multipart binary or image object). Required.

function_to_apply
enum<string>
default:softmax

How to convert raw logits to scores; defaults to 'softmax'.

Available options:
sigmoid,
softmax,
none
top_k
integer
default:5

Number of top labels to return per image.

timeout
number | null

Maximum time in seconds to wait for fetching remote images; null means no timeout.

Response

200 - application/json

Image classification results (list of label/score dicts)

label
string

Predicted label name.

score
number

Confidence score (probability-like) for the label.