Face Analyzer by Eachlabs
Analyze faces in photos to extract information about age, race, and gender. Provide a face photo URL and receive detailed facial attribute analysis.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "1019-face-analyzer",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/face-photo.jpg"
}
}'
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| image_url | string | - | Photo of a face to analyze for age, race, and gender information |
Examples
Analyze a portrait:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "1019-face-analyzer",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/headshot.jpg"
}
}'
Analyze a group photo face:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "1019-face-analyzer",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/person-cropped.jpg"
}
}'
Related Models
- nsfw-image-detection - Content safety analysis
- blip-2 - Image captioning and visual Q&A
- face-swap-new - Face swapping between images