Create a new face

Create a new face definition by providing necessary configuration details.

POST

Parameters

Body

application/json
Name
REQUIRED
Name of the face.
Url
URL of the face, typically pointing to an image or resource.
Content
Content of the face.
Config
Optional configuration data for customizing the face.
Assets
List of resources required or utilized by the face.
Status codeDescription
200Successfully created resource with its unique identifier
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L -X POST \
"https://blockv-labs.io/faces" \
-H 'Accept: application/json'
Response
{
"id": "string"
}
json
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the created resource"
}
}
}