Skip to main content

Face Restore API
Old and degraded photos, restored

Detect every face in a blurry, damaged or heavily compressed photo and restore its sharpness and texture with one REST call. The Brainiall Face Restore engine fixes blur, noise, scratches and compression artifacts, with optional background enhancement and up to 4x output upscaling. Flat $0.005 per image, no subscription.

Brainiall Face Restore β€” before and after of an old damaged family photo, restored

How we compare

Photo restoration is mostly sold as consumer apps and credit packs with no API; the major clouds ship no face-restoration endpoint at all. Brainiall is a flat per-image REST call, self-serve from the first request.

ProviderShapePricing modelApprox. priceOnboarding
Brainiall Face RestoreREST /v1/image/restore-face β€” every detected face restored, optional background enhancement, up to 4x outputPer image, pay-as-you-go$0.005 / imageSelf-serve, instant API key
Consumer restoration appsMobile/web apps for end users; no programmatic API for productsSubscriptions and credit packs$0.05–$0.50/photo effectiveApp install, manual workflow
Hyperscaler vision suitesFace detection and comparison APIs β€” no restoration endpointβ€”Not offeredβ€”

Prices are list-price approximations for typical usage; category shapes are summarized from public pricing pages.

Pricing

One flat per-image price covering every face in the photo. No subscription, no credit packs.

Free

$0/mo

100 restored images/month β€” all parameters included.

Pay as you go

$0.005/image

Flat per-image price after the free tier β€” no matter how many faces the photo contains.

Volume

$5 / 1,000 images

Restoring a 10,000-photo family archive costs $50.

Pay-as-you-go: $0.005 per restored image. The same API key covers the whole Brainiall catalog on one bill.

One endpoint, two shapes

# Multipart upload β€” returns the restored image bytes directly
curl -X POST "https://api.brainiall.com/v1/image/restore-face?upscale=2&enhance_background=true" \
  -H "Authorization: Bearer YOUR_KEY" \
  -F "file=@old-family-photo.jpg" \
  -o restored.png

# Base64 JSON β€” returns JSON with the restored image base64-encoded
curl -X POST https://api.brainiall.com/v1/image/restore-face/base64 \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image": "<base64>", "upscale": 2,
       "enhance_background": true, "output_format": "png"}'
  -> {"image": "<base64>", "format": "png",
      "width": 1200, "height": 1800, "upscale": 2,
      "processing_time_ms": 1768.4}

Send a multipart file or a base64 JSON body. upscale controls output size (1x-4x); enhance_background sharpens the rest of the photo too, not just the faces.

What it's for

  • Photo printing & lab services. Offer one-click restoration as an upsell on scanned prints and enlargements.
  • Genealogy & family-photo apps. Let users revive scanned albums β€” restored faces are the feature people share.
  • Profile & avatar pipelines. Clean up low-light, compressed selfies before they become profile pictures.
  • Media & archives. Recover usable portraits from decades-old editorial and institutional collections.
  • Agencies & directories. Bring old headshots and staff photos up to modern site quality without a reshoot.
  • One bill, one key. Combine with Upscale and Background Removal for a complete image pipeline on the same API key.

FAQ

  • Does it restore every face in the photo? Yes β€” every detected face is restored and blended back into the photo in one call.
  • Does it change how people look? The engine restores sharpness and texture from what remains in the photo; it does not swap, beautify or alter identity features. Restored detail is a reconstruction, so treat the output as archival/display quality, not forensic evidence.
  • What does enhance_background do? When enabled, the engine also sharpens the rest of the photo β€” clothing, backdrop, scenery β€” not just the faces.
  • Do you keep my photos? Photos are processed for the request and returned in the response; they are not used to train models.

More specialty APIs

Same single API key, same usage-based pricing, different problem solved.

Get your free API key in 30 seconds

Start free β†’
Face Restore API β€” Photo Face Restoration | Brainiall | Brainiall