API_KEY_REQUIRED / INVALID_API_KEYCreate, rotate or replace the Bearer key.
Person ReID API · v1 beta
A narrow, versioned contract for teams building offline similarity retrieval, media organization and human-in-the-loop review.
Successful requests only
Quickstart
Create a named key below. Send exactly one crop containing one person. Detection, tracking and multi-person splitting are intentionally outside v1.
curl https://polyreid.com/api/v1/embeddings \
-H "Authorization: Bearer $POLYREID_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-F "[email protected]" \
-F "retention=none" \
-F "model=polyreid-person-reid-v1"Immutable model contract
Store the model revision and preprocessing version beside every vector. Compare embeddings only when both values match.
{
"id": "cm...",
"request_id": "req_...",
"model": "polyreid-person-reid-v1",
"model_revision": "<sha256>",
"preprocess_version": "person-crop-256x128-v1",
"embedding": [0.018, -0.044, 0.091, "... 768 values"],
"dimensions": 768,
"dtype": "float32",
"normalized": true,
"retention": "none",
"expires_at": null,
"charged_usd": "0.002500",
"balance_usd": "9.997500"
}Volume calculator
Price is captured only after a valid vector is produced and, for 30-day mode, encrypted storage succeeds.
Stable failures
API_KEY_REQUIRED / INVALID_API_KEYCreate, rotate or replace the Bearer key.
INSUFFICIENT_CREDITSAdd prepaid credit; failed requests are not charged.
IDEMPOTENCY_KEY_REUSEDUse a new key when the payload or options change.
IMAGE_TOO_LARGEStay below 10 MB and 25 megapixels.
UNSUPPORTED_IMAGE_TYPESend an actual JPEG, PNG or WebP file.
INVALID_IMAGESend one valid, static person crop.
RATE_LIMIT_EXCEEDEDBack off using the response rate-limit headers.
INFERENCE_UNAVAILABLERetry safely with the same Idempotency-Key.
INFERENCE_TIMEOUTRetry safely; the timed-out attempt is not charged.
Privacy, versioning and use
Image bytes exist only in request memory and a bounded in-memory GPU micro-batch. They are not written to PostgreSQL, Redis, B2, logs or Sentry.
An encrypted response cache lives for 24 hours. Retrying the same payload with the same key returns the original response and charge.
Only the encrypted embedding and technical model metadata are retained. Delete it early at any time; expiration blocks access immediately.
You must have rights, notices and a lawful basis for the images. Outputs are probabilistic review candidates, never proof of identity.
V1 is never silently retargeted. An incompatible model becomes v2; announced deprecated versions remain available for at least 12 months.
No contractual SLA during beta. The internal target is 99.5% availability, warm P95 ≤ 3 seconds and cold P95 ≤ 60 seconds.
Responsible use, biometrics and EU AI Act
Match individual person crops inside offline photo workflows for similarity retrieval and trained human review.
V1 does not detect people, recognise faces, assign names, track people live or make automated decisions.
Validate thresholds and error rates on your own domain. Give a trained reviewer enough context to reject or correct a match.
No unlawful biometric use, sensitive-attribute categorisation, prohibited emotion recognition, social scoring or prohibited law-enforcement use.
Classification depends on the intended purpose, integration and actual use. This public information does not replace risk management, technical documentation, post-market monitoring or a required conformity assessment.
Developer console
Private account data below is never rendered into the public SEO document.