Create a new face
Create a new face definition by providing necessary configuration details.
POST
Parameters
Body
application/jsonName
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 code | Description |
|---|---|
| 200 | Successfully created resource with its unique identifier |
| 400 | Bad request error - the request contains invalid parameters or malformed data |
| 500 | Internal 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"}}}