Skip to main content

POST /add_face_image

Associates one uploaded image with one face identity.

Endpoint

POST https://api-eu.valossa.com/training/1.0/add_face_image

Request Body

FieldTypeRequiredDescription
api_keystringYesFaces-enabled API key
face.idstringYesFace identity UUID
image.urlstringYesUploaded image URL (valossaupload://...)

Response

Successful response (200) returns:

FieldTypeDescription
image_idstringUUID of accepted training image

Example

curl -H "Content-Type: application/json" \
-X POST \
-d '{"api_key":"YOUR_API_KEY","face":{"id":"bb254a82-08d6-4498-9ddb-3de4c88f1f66"},"image":{"url":"valossaupload://ff357efe-1086-427d-b90c-1d1887fb1017"}}' \
https://api-eu.valossa.com/training/1.0/add_face_image

Notes

  • Use one clearly visible face per image.