curl --request POST \
--url https://deepface-cyybxg.fly.dev/represent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"img": "<string>"
}
'[
{
"embedding": [
123
],
"model_name": "<string>",
"facial_area": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
},
"face_confidence": 123
}
]curl --request POST \
--url https://deepface-cyybxg.fly.dev/represent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"img": "<string>"
}
'[
{
"embedding": [
123
],
"model_name": "<string>",
"facial_area": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
},
"face_confidence": 123
}
]Use your API key as a bearer token.
Optional UUID used for request tracing.
Base64 image payload or data URL.
Approved model name from the current allowlist.
"Facenet"
Optional detector backend from the current allowlist.
"opencv"
Optional DeepFace normalization mode.