Skip to main content
POST
Visual question answering

Body

application/json

Request to answer questions about images.

image
required

Image or list of images to be queried (base64, URL or binary). Required.

question
required

Question or list of questions to ask about the image(s). Required.

top_k
integer
default:5

Number of top responses/labels to return.

timeout
number | null

Maximum time in seconds for fetching remote images or processing; null for indefinite.

Response

200 - application/json

VQA results (list of label/score dicts)

label
string

Predicted label name.

score
number

Confidence score (probability-like) for the label.