POST
/
embeddings
/
loc
curl --request POST \
  --url https://api.bluesight.ai/embeddings/loc \
  --header 'Content-Type: application/json' \
  --data '{
  "points": [
    [
      37.77625,
      -122.43267
    ],
    [
      40.68926,
      -74.04457
    ]
  ],
  "size": 128
}'
{
  "embeddings": [
    [
      228,
      322.1
    ],
    [
      234,
      231.5
    ]
  ]
}

Body

application/json
points
array
required

List of 2D coordinates of points of interest

Example:
[
  [37.77625, -122.43267],
  [40.68926, -74.04457]
]
size
integer
required

Bounding box edge size in pixels. Should be dividable by 8.

Example:

128

Response

200
application/json
Successful Response
embeddings
array
required

Embedding representing an area

Example:
[[228, 322.1], [234, 231.5]]