Here, <your_api_key> is the API key you obtained from the Fotor Developer Platform.
{ "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 }
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 }'
{ "code": "000", "msg": "success", "data": { "taskId": "e0dc194703174b6eafeacb4ee8e02850" } }