---
title: "Generate image feature vector"
method: POST
path: "/v1/apple/feature-print"
tags: ["Apple"]
---

# Generate image feature vector

`POST /v1/apple/feature-print`

## Request

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

Generates a feature vector for image similarity comparison.
Compare vectors using cosine similarity or Euclidean distance.

## Request body

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

## Response `200`

Feature vector

- object
  - `element_count` integer
  - `data` 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)
