AI Face SwapperAPI

Swap faces between photos with AI. Upload a source face and a target body image to get a seamless, photorealistic face swap result.

photo editing~11 credits/callv1.0.0

Endpoint

POST https://backend.aaddyy.com/api/ai/face-swapper

Authentication

Authorization: Bearer YOUR_API_KEY

Parameters

Required

source_image_urlstringrequired
target_image_urlstringrequired

Optional

promptstring
aspect_ratiostring
output_formatstring

Example Request

curl -X POST https://backend.aaddyy.com/api/ai/face-swapper \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source_image_url": "example_source_image_url",
    "target_image_url": "example_target_image_url"
  }'

Request Body

{
  "source_image_url": "example_source_image_url",
  "target_image_url": "example_target_image_url"
}

Example Response

{
  "success": true,
  "message": "AI Face Swapper completed successfully",
  "timestamp": "2026-04-03T13:49:03.763Z",
  "requestId": "req_20ws5v38e",
  "data": {
    "cost": 0.11,
    "remainingCredits": 9.95
  }
}

SDK

import { AADDYY } from 'aaddyy'

const client = new AADDYY()
const result = await client._request('POST', '/api/ai/face-swapper', {
  "source_image_url": "example_source_image_url",
  "target_image_url": "example_target_image_url"
})

Install: npm install aaddyy

Pricing

~11 credits (~$0.11) per request

Rate Limits

15 requests per 1m

Burst: 3