Back to docs

Recipe: Image classifier

Upload a food image and receive a categorical prediction — dish type, cuisine, or ingredient class — using a vision model endpoint.

API endpoint

POST /api/classify-image

Accepts multipart/form-data with field image. Returns { label: string }.