Home/APIs/Face Swap
Computer VisionFree tier available

Swap faces between images with AI-powered blending

Seamlessly replace faces between images using cutting-edge AI. Supports multi-face swapping, automatic face enhancement, and an asynchronous workflow for reliable processing. Upload images or pass URLs.

See It in Action

Real examples generated by the API. See the quality for yourself.

Face Swap DemoAPI Output
Face Swap Demo

Source face + Target body → AI-enhanced face swap result

Features

Multi-Face Support

Swap all faces in group photos with the many_faces option, or focus on a single face swap.

Auto Enhancement

Results are automatically enhanced with AI face restoration for improved quality.

Async Workflow

Submit, poll, retrieve — the async design handles heavy processing without timeouts.

Flexible Input

Upload files via multipart or pass URLs via form-encoded data. Use source_url/target_url aliases.

High Quality

AI blending produces natural-looking results with smooth skin tone matching and edge blending.

Cloud-Based

No GPU needed on your end. Fully managed cloud infrastructure handles the processing.

API Reference

3 endpoints, simple integration. Here's everything you need.

Supported Content Types

multipart/form-dataapplication/x-www-form-urlencoded
POSThttps://faceswap11.p.rapidapi.com/submit

Submit a face swap job with source and target images. Returns a job ID for tracking.

source_imagefile/urlrequired

Source image containing the face to swap. Binary (multipart) or URL (form-encoded). Alternative: source_url

target_imagefile/urlrequired

Target image where the face will be placed. Binary (multipart) or URL (form-encoded). Alternative: target_url

many_facesboolean

Swap all faces in images with multiple people. Default: false

Response Schema
{
  "statusCode": 200,
  "body": {
    "jobId": "123e4567-e89b-12d3-a456-426614174000",
    "status": "pending",
    "message": "Face swap job submitted successfully"
  }
}
GEThttps://faceswap11.p.rapidapi.com/status/{jobId}

Monitor job progress using the job ID returned from submit.

jobIdstringrequired

Unique job identifier from the submit endpoint (path parameter)

Response Schema
{
  "statusCode": 200,
  "body": {
    "jobId": "123e4567-...",
    "status": "completed",
    "createdAt": 1672531200,
    "updatedAt": 1672531260
  }
}
GEThttps://faceswap11.p.rapidapi.com/result/{jobId}

Retrieve the face-swapped image once processing is complete.

jobIdstringrequired

Unique job identifier from the submit endpoint (path parameter)

Response Schema
{
  "statusCode": 200,
  "body": {
    "jobId": "123e4567-...",
    "status": "completed",
    "resultUrl": "https://...result-image.jpg",
    "expiresIn": 3600
  }
}

Response

200

Returns JSON with job ID, status, and result URL (pre-signed, valid for 1 hour) when completed.

Limits

  • Supported formats: JPEG, PNG
  • Recommended resolution: 512x512 to 1024x1024
  • Maximum file size: 10 MB per image
  • Processing time: 3-10 seconds
  • Result URLs expire after 1 hour
  • Jobs stored for 24 hours

Quick Start

Copy-paste code to get started in seconds. Replace YOUR_API_KEY with your RapidAPI key.

# Step 1: Submit job
curl -X POST "https://faceswap11.p.rapidapi.com/submit" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: faceswap11.p.rapidapi.com" \
  -F "source_image=@source.jpg" \
  -F "target_image=@target.jpg" \
  -F "many_faces=false"

# Step 2: Check status (replace JOB_ID)
curl "https://faceswap11.p.rapidapi.com/status/JOB_ID" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: faceswap11.p.rapidapi.com"

# Step 3: Get result
curl "https://faceswap11.p.rapidapi.com/result/JOB_ID" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: faceswap11.p.rapidapi.com"

Pricing

Start free, scale as you grow. All plans include full API access with no credit card required for the free tier.

Free

Basic

$0Free

30 images/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$12.99/mo

5,000 images/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$22.99/mo

10,000 images/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$92.99/mo

40,000 images/mo

  • Full API access
  • All endpoints
  • Standard support

Start Using Face Swap Today

Sign up on RapidAPI to get your API key. The free tier includes generous monthly requests — no credit card required.