Authentication, input and response

IMG

POST https://api.altum.ai/labelling/img

This endpoint allows you to upload an image for labeling.

Headers

NameTypeDescription

x-api-key*

string

API Key from Altum. Create one via Mopsus(https://mopsus.altum.ai)

Content-Type

string

multipath/form-data

Request Body

NameTypeDescription

image*

object

The image to be sent in the request must be uploaded as a multipath/form-data type.

{
	"detail": [
		{
			"loc": [
				"body",
				"image"
			],
			"msg": "field required",
			"type": "value_error.missing"
		}
	]
}

URL

POST https://api.altum.ai/labelling/url

Instead of uploading the image file, this endpoint allows you to rather send the public URL of the image you want labelled.

Headers

NameTypeDescription

Content-Type

string

application/json

x-api-key*

string

API Key from Altum. Create one via Mopsus(https://mopsus.altum.ai)

Request Body

NameTypeDescription

url*

string

The public URL of the image you wish to send int he request

{
	"detail": [
		{
			"loc": [
				"body",
				"image"
			],
			"msg": "field required",
			"type": "value_error.missing"
		}
	]
}

Request body

Example request

{"url":"https://cloud.funda.nl/valentina_media/149/998/977_1440x960.jpg"}

Last updated