Request
Body Params application/json
{
"userImageUrl": "https://pub-static.fotor.com/assets/goart-effects/examples/mini-figure-after.jpg",
"faceUpsample": true,
"backgroundEnhance": true,
"upscale": 2,
"fidelityWeight": 0.5
}
Request Code Samples
curl --location --request POST 'https://api-b.fotor.com/v1/aiart/restoration' \
--header 'Authorization: Bearer <your api key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"userImageUrl": "https://pub-static.fotor.com/assets/goart-effects/examples/mini-figure-after.jpg",
"faceUpsample": true,
"backgroundEnhance": true,
"upscale": 2,
"fidelityWeight": 0.5
}'
Responses
application/json {
"code": "000",
"msg": "success",
"data": {
"taskId": "e0dc194703174b6eafeacb4ee8e02850"
}
}
Modified at 2025-03-14 02:45:02