What This Does: Validates that the uploaded photo 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.