Loading...
Loading...
Analyze and transform faces via AceDataCloud API. Use when detecting face keypoints, beautifying portraits, aging/de-aging faces, swapping genders, replacing faces between photos, creating cartoon avatars, or detecting liveness. Provides 7 specialized face APIs.
npx skill4agent add acedatacloud/skills face-transformSetup: See authentication for token setup.
curl -X POST https://api.acedata.cloud/face/analyze \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/portrait.jpg"}'| Endpoint | Purpose | Description |
|---|---|---|
| Face Detection | Detect face keypoints (90+ points per face) |
| Beautification | Apply beauty/decoration effects |
| Age Transform | Make a face look older or younger |
| Gender Swap | Transform facial gender characteristics |
| Face Swap | Replace one person's face with another |
| Cartoon Style | Convert portrait to animated/cartoon style |
| Liveness Check | Detect if a face image is from a live person |
POST /face/analyze
{
"image_url": "https://example.com/photo.jpg"
}nosemouthleft_eyeright_eyeleft_eyebrowright_eyebrowcontour{x, y}POST /face/beautify
{
"image_url": "https://example.com/portrait.jpg"
}POST /face/change-age
{
"image_url": "https://example.com/portrait.jpg"
}POST /face/change-gender
{
"image_url": "https://example.com/portrait.jpg"
}POST /face/swap
{
"source_image_url": "https://example.com/source-face.jpg",
"target_image_url": "https://example.com/target-person.jpg"
}POST /face/cartoon
{
"image_url": "https://example.com/portrait.jpg"
}POST /face/detect-live
{
"image_url": "https://example.com/face-photo.jpg"
}| Parameter | Required | Description |
|---|---|---|
| Yes (most endpoints) | Source face image URL |
/face/swap| Parameter | Required | Description |
|---|---|---|
| Yes | URL of the face to use (replaces the face) |
| Yes | URL of the image to put the face onto |
| No | Webhook URL for async delivery |
| No | Max wait time in seconds (default: 120) |
/face/beautify| Parameter | Required | Description |
|---|---|---|
| Yes | Image URL |
| No | Skin smoothing 0–100 (default: 10) |
| No | Whitening 0–100 (default: 30) |
| No | Face slimming 0–100 (default: 70) |
| No | Eye enlarging 0–100 (default: 70) |
/face/analyze| Parameter | Required | Description |
|---|---|---|
| Yes | Image URL |
| No | |
| No | Algorithm version (recommended: |
| No | |
/face/swapcallback_urlsource_image_urltarget_image_url