---
title: "Classify image content"
method: POST
path: "/v1/apple/classify"
tags: ["Apple"]
---

# Classify image content

`POST /v1/apple/classify`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/apple/classify`
- Auth: HTTP bearer

Classifies image content into 1000+ categories using Apple Vision.

## Request body

- object
  - `image` string, required: Base64-encoded image data (PNG, JPEG, TIFF, HEIC)
  - `max_results` integer

## Response `200`

Top classifications

- object
  - `classifications` object[]
    - `label` string
    - `confidence` number

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
