Use this file to discover all available pages before exploring further.
What This Does: Validates that the image contains exactly one prominent face, automatically detects the image orientation (landscape, portrait, or square), aligns the face to the appropriate avatar profile, and stores the result. Returns a preview URL, a full-resolution image URL, and an avatar ID for use in sessions.
Portrait photo to process. Accepted formats: jpeg, jpg, png, gif, webp. Maximum size: 10 MB.
The image must contain exactly one clearly visible, prominent face.
Send as multipart/form-data.
Publicly accessible URL of a portrait photo. The server fetches the image directly.
Accepted formats: jpeg, jpg, png, gif, webp. Maximum size: 10 MB.
Can be sent as JSON (application/json) or as a text field in multipart/form-data.
Base64-encoded portrait photo. A data URI prefix (e.g. data:image/jpeg;base64,) is accepted but not required.
Maximum decoded size: 10 MB.
Can be sent as JSON (application/json) or as a text field in multipart/form-data.