Upscale

Upscale and refine the quality of your image.

POST https://europe-west1-gepettoai.cloudfunctions.net/v1/upscale

Headers

NameTypeDescription

Authorization*

String

Bearer {{API_KEY}}

Request Body

NameTypeDescription

url*

String

Image URL of the room to be redesigned.

Ex: https://thumbs.dreamstime.com/b/empty-room-26533582.jpg

webhook

String

(optional) Webhook POST URL to send the result on completion. If not provided, the request will wait for the result.

{
  "base64": "<base64 encoded image>",
  "status": "success"
}

Code Examples


curl --location 'https://europe-west1-gepettoai.cloudfunctions.net/v1/upscale' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
  "url": "https://thumbs.dreamstime.com/b/empty-room-26533582.jpg"
}'

Results

BEFORE UPSCALE
AFTER UPSCALE
BEFORE UPSCALE
AFTER UPSCALE

Last updated