Skip to main content

POST /create_face_identity

Creates a face identity entry for training.

Endpoint

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

Request Body

FieldTypeRequiredDescription
api_keystringYesFaces-enabled API key
gallery.idstringNoGallery UUID; omit to use default gallery
face.namestringNoHuman-readable identity name (max 1024 chars)
face.genderstringNomale or female

Response

Successful response (200) returns:

FieldTypeDescription
face_idstringUUID of created face identity

Example

curl -H "Content-Type: application/json" \
-X POST \
-d '{"api_key":"YOUR_API_KEY","face":{"name":"Ricky Rickson","gender":"male"}}' \
https://api-eu.valossa.com/training/1.0/create_face_identity