Upscale (advanced)
Upscale and refine the quality of your image while maintaining high fidelity.
POST
https://europe-west1-gepettoai.cloudfunctions.net/v1/upscale_advanced
💵 Credit Cost : 2 credits
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 4 or 6 Default: 2
(optional) Define the scale of the output.
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_advanced' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://thumbs.dreamstime.com/b/empty-room-26533582.jpg"
}'
Last updated
Was this helpful?