Request
Body Params application/json
{
"upscaling_resize": 2.0,
"userImageUrl": "https://pub-static.fotor.com/assets/goart-effects/examples/mini-figure-after.jpg",
"max_image_width": 2048,
"max_image_height": 2048
}
Request Code Samples
curl --location --request POST 'https://api-b.fotor.com/v1/aiart/imgupscale' \
--header 'Authorization: Bearer <your api key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"upscaling_resize": 2.0,
"userImageUrl": "https://pub-static.fotor.com/assets/goart-effects/examples/mini-figure-after.jpg",
"max_image_width": 2048,
"max_image_height": 2048
}'
Responses
application/json {
"code": "000",
"msg": "success",
"data": {
"taskId": "e0dc194703174b6eafeacb4ee8e02850"
}
}
Modified at 2025-03-14 02:44:26