Home/APIs/Face Restoration
Computer VisionFree tier available

Restore and enhance faces in photos with AI

Enhance and restore face quality in images using cutting-edge AI. Perfect for restoring old or damaged photos, improving portrait quality, and enhancing profile pictures. Asynchronous workflow for reliable processing.

See It in Action

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

Face RestorationAPI Output
Face Restoration

Left: original low-quality photo — Right: AI-restored result with enhanced facial details

Features

AI Restoration

State-of-the-art face restoration model that enhances facial details, sharpness, and overall quality.

Multi-Face Support

Restore all faces in an image or focus on the center face with the only_center_face option.

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 image_url as an alias.

Photo Restoration

Perfect for restoring old, damaged, or low-quality photos with degraded facial details.

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://face-restoration.p.rapidapi.com/submit

Submit a face restoration job. Returns a job ID for tracking progress.

imagefile/urlrequired

Image to restore. Binary (multipart) or URL (form-encoded). Alternative: image_url

only_center_faceboolean

Restore only the center face (true) or all faces (false). Default: false

Response Schema
{
  "statusCode": 200,
  "body": {
    "jobId": "123e4567-e89b-12d3-a456-426614174000",
    "status": "pending",
    "message": "Face restoration job submitted successfully"
  }
}
GEThttps://face-restoration.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://face-restoration.p.rapidapi.com/result/{jobId}

Retrieve the restored 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://...restored-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 input formats: JPEG, PNG, WebP
  • Output formats: JPEG, PNG
  • Recommended resolution: 512x512 to 1024x1024
  • Maximum file size: 10 MB
  • Images auto-optimized to 1024px max dimension
  • Processing time: 30-180 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://face-restoration.p.rapidapi.com/submit" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: face-restoration.p.rapidapi.com" \
  -F "image=@old_photo.jpg" \
  -F "only_center_face=false"

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

# Step 3: Get result
curl "https://face-restoration.p.rapidapi.com/result/JOB_ID" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: face-restoration.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 Restoration Today

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