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
| Field | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | Faces-enabled API key |
gallery.id | string | No | Gallery UUID; omit to use default gallery |
face.name | string | No | Human-readable identity name (max 1024 chars) |
face.gender | string | No | male or female |
Response
Successful response (200) returns:
| Field | Type | Description |
|---|---|---|
face_id | string | UUID 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