Upscale
Upscale and refine the quality of your image.
POST
https://europe-west1-gepettoai.cloudfunctions.net/v1/upscale
Headers
Name
Type
Description
Authorization*
String
Bearer {{API_KEY}}
Request Body
Name
Type
Description
url*
String
Image URL of the room to be redesigned.
scale
Number - 2 or 3 Default: 2
(optional) Define the scale of the output. 3 being the largest size it will take more time to compute. Scale of 2 is recommended for an optimal time to result.
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




Last updated
Was this helpful?