Verify whether two images match
Authorizations
Use your API key as a bearer token.
Headers
Optional UUID used for request tracing. Use a new UUID for each logical request and preserve the echoed value when contacting support. The gateway forwards the normalized or generated UUID on every internal admission retry. The coordinated gateway release extends UUID replay protection to prepaid/free calls. Reusing a postpaid UUID returns 409 request_id_conflict rather than replaying a cached result; do not change IDs to bypass an uncertain outcome.
Optional global group and own-account queue priority, across its API keys, on each gateway process. Every finite positive value goes ahead of that account's normal queued requests; lower positive values run first with FIFO ties. There is no upper bound of 1: 1, 10 and 100 all request priority. Omitted, null and zero use normal own-account queue order and no per-request priority surcharge. Zero is handled normally without rejecting the request. Accepts JSON number spelling in decimal or scientific notation; negative, blank, repeated, comma-separated, nonfinite and overflow/underflow values return 400 invalid_priority before billing reservation or inference. Double precision can round close numbers equal. Global eligible calls run in strict order: enterprise with positive priority, non-enterprise with positive priority, enterprise normal, non-enterprise normal. Within a group, numeric values only reorder the caller's own account; other accounts retain their positions. No aging or 4:1 rotation overrides groups. It never preempts running work, reorders model-server work, reserves capacity, bypasses limits or guarantees latency. A full queue can still reject a priority request. REST priority is header-only; MCP accepts the equivalent optional priority argument. Experimental async compare rejects positive priority headers with 400 unsupported_priority; null and zero are accepted normally. Completed calls with any explicitly positive own-queue priority cost twice the standard rate, even when idle. Under the default contract policy an enterprise lane also costs 2x, once. Negotiated request-only contracts include enterprise access at the standard rate. Completed no-face results are billable; failures are free.
x >= 0An explicitly negotiated integration tariff assertion, not an API key. Ordinary clients should omit this header. An integration that requires a profile must send its exact configured identifier and dedicated API key; an absent or mismatched assertion returns 409 billing_profile_mismatch before compute. Profile-specific request restrictions are checked by the gateway and violations return 400 billing_tariff_scope_rejected. This header cannot enable a tariff, change the account's rates, or grant access.
Body
Base64 image payload, data URL, or, when remote URL input is enabled on the model server, a public HTTPS image URL from any domain. The managed API requires a direct, non-redirecting JPEG, PNG, or WebP response from a publicly routable destination. It rejects images that exceed the active byte, request-size, decoded pixel, or download timeout limits before forwarding work to the model runtime.
Base64 image payload, data URL, or, when remote URL input is enabled on the model server, a public HTTPS image URL from any domain. The managed API requires a direct, non-redirecting JPEG, PNG, or WebP response from a publicly routable destination. It rejects images that exceed the active byte, request-size, decoded pixel, or download timeout limits before forwarding work to the model runtime.
Approved model name from the current allowlist. For /verify and /represent, omitted, blank, or overlong values are treated as absent and the gateway injects the active default model.
200"Facenet"
Optional detector backend from the current allowlist. When the active detector misses a face, the service may retry configured fallback detectors before returning no_face_detected.
"opencv"
Optional DeepFace normalization mode.
cosine, euclidean, euclidean_l2 "cosine"