FAPIhub
  • Welcome
  • Getting Started
    • Introduction
  • APIs
    • AI Background Remover API
    • AI Picture Upscaler API
Powered by GitBook
On this page
  • Upscaler
  • Face Restoration
  • Custom Deployment
  1. APIs

AI Picture Upscaler API

Enhance your image resolution effortlessly with our state-of-the-art upscaling tool. Simply upload your file and see the transformation.

Upscaler

curl -X POST "https://fapihub.com/v2/upscaler/" \
  -H "token: API_TOKEN" \
  -F "image=@image.jpg" \
  -F "upscale=2"
  • Image dimensions MUST not exceed 1000x1000 pixels

  • Upscale can be 2, 4 or 8

Original
Scale
Result

2x

4x

8x


Face Restoration

curl -X POST "https://fapihub.com/v2/face-restoration/" \
  -H "token: API_TOKEN" \
  -F "image=@image.jpg" \
  -F "upscale=2" \
  -F "face_id=0"
  • Image dimensions MUST not exceed 1000x1000 pixels

  • Upscale can be 2, 4 or 8

  • This is face_id in other words it is face index. For example, there are 4 people on the image and the face_id can be one of 0, 1, 2 or 3 .

Original
Parameters
Result

upscale=2x, face_id=0

upscale=4x, face_id=0

upscale=8x, face_id=0

Custom Deployment

If you need private plan, we will deploy the model on seperate dedicated GPU server for you. In that case, you can use the API with unlimited requests per month. support@fapihub.com

PreviousAI Background Remover API

Last updated 16 days ago